|
[Rivet] aidamergeHannes Jung hannes.jung at cern.chSat Aug 20 13:50:11 BST 2011
Hi Daniel hm... it seems the messages below come from somewhere else.... it didn't change even when setting the error to 1 instead of 1E308.... Does anyone knows how to fix this ? .... Cheers Hannes On 20.08.2011, at 14:32, Daniel Weyh wrote: Ok, ... I don't know at all what the plottings themselve do. Probably using another float 1e+20 or somethin instead of 1e308 will not cause an overflow... But, I'm afk at the moment... Sry Am 20.08.2011 um 14:20 schrieb Hannes Jung <hannes.jung at cern.ch<mailto:hannes.jung at cern.ch>>: Hi Daniel again maybe I was too fast,.... the aidamerge did work, but when plotting it i get the follwoing errors: Plotting cascade-uPDFs/FWDCENTPHENO/Delta_phi_Delta_eta_eq_10_Et_gt_10_GeV.dat (33 remaining) Plotting cascade-uPDFs/FWDCENTPHENO/Delta_phi_Delta_eta_eq_10_Et_gt_30_GeV.dat (32 remaining) Error: cannot convert float NaN to integer Error: cannot convert float NaN to integer Plotting cascade-uPDFs/FWDCENTPHENO/Delta_phi_Delta_eta_eq_2_Et_gt_10_GeV.dat (29 remaining) Error: cannot convert float infinity to integer and then rivet-mkhtml gets stuck... Hm.... thanks a lot Cheers Hannes On 20.08.2011, at 13:53, Daniel Weyh wrote: Sry, I didn't know where you got your copy from. It is uploaded to SVN (r3300). Please check this out or look at <http://projects.hepforge.org/rivet/trac/browser/contrib/aidamerge> <http://projects.hepforge.org/rivet/trac/browser/contrib/aidamerge> http://projects.hepforge.org/rivet/trac/browser/contrib/aidamerge Hope it helps, Daniel Am 20.08.2011 um 13:35 schrieb Hannes Jung <<mailto:hannes.jung at cern.ch>hannes.jung at cern.ch<mailto:hannes.jung at cern.ch>>: Hi Daniel thanks a lot..... I guess this should work.... I just don't know where to change what... could you perhaps tell me a bit more what to change in which line, or perhaps upload the patched version somewhere ? Thanks very much cheers hannes On 20.08.2011, at 13:27, Daniel Weyh wrote: Dear Hannes, Dear Riveties adding several aida files works fine, only in some cases I get the error: Traceback (most recent call last): File "./aidamerge", line 65, in <module> sum_err2 += h.getBin(i).getErr()**2 OverflowError: (34, 'Numerical result out of range') I guess it comes when a histo is not properly filled (fro example when a ratio is taken). Is there a way to prevent these error message, and to continue with the program ? 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. Does this work for you? @others: Is this the way it should work - or should we somehow exclude such bins?!? Cheers, Daniel *********************************************************************** Hannes Jung Email: <mailto:Hannes.Jung at cern.ch> <mailto:Hannes.Jung at cern.ch> Hannes.Jung at cern.ch<mailto:Hannes.Jung at cern.ch> mobile :+49 40 8998 93741 <http://www.desy.de/~jung><http://www.desy.de/~jung>http://www.desy.de/~jung Tel: +49 (0) 40 8998 3741 (DESY) Tel: +41 22 76 62602 (CERN) CERN - PH 42-2-033 CH-1211 Genève 23 Switzerland *********************************************************************** *********************************************************************** Hannes Jung Email: <mailto:Hannes.Jung at cern.ch> Hannes.Jung at cern.ch<mailto:Hannes.Jung at cern.ch> mobile :+49 40 8998 93741 <http://www.desy.de/~jung>http://www.desy.de/~jung Tel: +49 (0) 40 8998 3741 (DESY) Tel: +41 22 76 62602 (CERN) CERN - PH 42-2-033 CH-1211 Genève 23 Switzerland *********************************************************************** *********************************************************************** Hannes Jung Email: Hannes.Jung at cern.ch<mailto:Hannes.Jung at cern.ch> mobile :+49 40 8998 93741 http://www.desy.de/~jung Tel: +49 (0) 40 8998 3741 (DESY) Tel: +41 22 76 62602 (CERN) CERN - PH 42-2-033 CH-1211 Genève 23 Switzerland *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.hepforge.org/lists-archive/rivet/attachments/20110820/c865e613/attachment.html>
More information about the Rivet mailing list |