<html><body bgcolor="#FFFFFF"><div>Ok, ... I don't know at all what the plottings themselve do.</div><div>Probably using another float 1e+20 or somethin instead of 1e308 will not cause an overflow...</div><div><br></div><div>But, I'm afk at the moment... Sry<br><br>Am 20.08.2011 um 14:20 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 again
<div><br>
</div>
<div>maybe I was too fast,.... the aidamerge did work, but when plotting it i get the follwoing errors:</div>
<div><br>
<div>
<div>Plotting cascade-uPDFs/FWDCENTPHENO/Delta_phi_Delta_eta_eq_10_Et_gt_10_GeV.dat (33 remaining)</div>
<div>Plotting cascade-uPDFs/FWDCENTPHENO/Delta_phi_Delta_eta_eq_10_Et_gt_30_GeV.dat (32 remaining)</div>
<div>Error: cannot convert float NaN to integer</div>
<div>Error: cannot convert float NaN to integer</div>
<div>
<div>Plotting cascade-uPDFs/FWDCENTPHENO/Delta_phi_Delta_eta_eq_2_Et_gt_10_GeV.dat (29 remaining)</div>
<div>Error: cannot convert float infinity to integer</div>
</div>
<div><br>
</div>
<div>and then rivet-mkhtml gets stuck...</div>
<div>Hm....</div>
<div><br>
</div>
<div>thanks a lot</div>
<div>Cheers</div>
<div>Hannes</div>
<div><br>
</div>
<div>
<div>On 20.08.2011, at 13:53, Daniel Weyh wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div bgcolor="#FFFFFF">
<div>Sry, I didn't know where you got your copy from.</div>
<div>
<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><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>
<br>
Am 20.08.2011 um 13:35 schrieb Hannes Jung <<a href="mailto:hannes.jung@cern.ch"><a href="mailto:hannes.jung@cern.ch">hannes.jung@cern.ch</a></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>
<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><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><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>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
</div>
</div>
</blockquote>
</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>
</div></blockquote></body></html>