Re: Differences between Histo and Ntuple [message #16547 is a reply to message #16539] |
Thu, 08 May 2014 17:25 |
Mamen
Messages: 55 Registered: January 2009 Location: Mainz
|
continuous participant |
From: *kph.uni-mainz.de
|
|
Hi again,
Thanks to both of you... after some time spent today I found out that this is not a bug... As Klaus said, it corresponds to the default value... So for instance, if I make a loop over the positive-candidates, and another over the negative-candidates and store info from both loops in an ntuple (for example px_pos and px_neg), it can be that for some common event-number, there is no negative entry for the corresponding positive entry, then the default value is filled in the negative-information branch (evt=X; px_pos=Value1; px_neg=-999.0(default_value)).
This bugs me a bit, because afterwards I would need to apply an extra cut "var>-999" to all plots... Is there any way to avoid that? I don't remember a behavior like that in the old Babar-like framework...
Thanks again for your help!
Cheers,
Mamen
|
|
|