<html><body bgcolor="#FFFFFF"><div>Sry, I didn't know where you got your copy from.</div><div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "><div>It is uploaded to SVN (r3300).</div><div>Please check this out or look at <a href="http://projects.hepforge.org/rivet/trac/browser/contrib/aidamerge"><a href="http://projects.hepforge.org/rivet/trac/browser/contrib/aidamerge">http://projects.hepforge.org/rivet/trac/browser/contrib/aidamerge</a></a></div><div><br></div><div>Hope it helps,</div><div>Daniel<br><br></div></span><br>Am 20.08.2011 um 13:35 schrieb Hannes Jung <<a href="mailto:hannes.jung@cern.ch">hannes.jung@cern.ch</a>>:<br><br></div><div></div><blockquote type="cite"><div>
Hi Daniel
<div><br>
</div>
<div>thanks a lot..... I guess this should work.... I just don't know where to change what...</div>
<div>could you perhaps tell me a bit more what to change in which line, or perhaps upload the patched version somewhere ?</div>
<div><br>
</div>
<div>Thanks very much</div>
<div>cheers</div>
<div>hannes</div>
<div><br>
<div>
<div>On 20.08.2011, at 13:27, Daniel Weyh wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div>Dear Hannes,<br>
<br>
<blockquote type="cite">Dear Riveties<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">adding several aida files works fine, only in some cases I get the error:<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">Traceback (most recent call last):<br>
</blockquote>
<blockquote type="cite"> File "./aidamerge", line 65, in <module><br>
</blockquote>
<blockquote type="cite"> sum_err2 += h.getBin(i).getErr()**2<br>
</blockquote>
<blockquote type="cite">OverflowError: (34, 'Numerical result out of range')<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">I guess it comes when a histo is not properly filled (fro example when a ratio is taken).<br>
</blockquote>
<blockquote type="cite">Is there a way to prevent these error message, and to continue with the program ?<br>
</blockquote>
<br>
I added a patch to catch the exception, use float('inf') during summing up and in the write out step this 'inf' is converted to a vee..eery large float.<br>
Does this work for you?<br>
<br>
@others: Is this the way it should work - or should we somehow exclude such bins?!?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
</div>
</blockquote>
</div>
<br>
<div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div>
<div style="font-size: 12px; "><br class="Apple-interchange-newline">
***********************************************************************</div>
<div style="font-size: 12px; ">Hannes Jung </div>
<div style="font-size: 12px; ">Email: <a href="mailto:Hannes.Jung@cern.ch"><a href="mailto:Hannes.Jung@cern.ch">Hannes.Jung@cern.ch</a></a></div>
<div style="font-size: 12px; ">mobile :+49 40 8998 93741</div>
<div style="font-size: 12px; "><a href="http://www.desy.de/~jung"><a href="http://www.desy.de/~jung">http://www.desy.de/~jung</a></a> </div>
<div style="font-size: 12px; ">Tel: +49 (0) 40 8998 3741 (DESY)</div>
<div style="font-size: 12px; ">Tel: +41 22 76 62602 (CERN) </div>
<div style="font-size: 12px; ">CERN - PH</div>
<div style="font-size: 12px; "><span class="Apple-style-span" style="font-size: 13px; font-family: Tahoma; ">42-2-033</span></div>
<div style="font-size: 12px; ">CH-1211 Genève 23</div>
<div style="font-size: 12px; ">Switzerland</div>
<div style="font-size: 12px; ">***********************************************************************</div>
</div>
<div><br>
</div>
</span><br class="Apple-interchange-newline">
</span><br class="Apple-interchange-newline">
</div>
<br>
</div>
</div></blockquote></body></html>