GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » Differences between Histo and Ntuple
Re: Differences between Histo and Ntuple [message #16547 is a reply to message #16539] Thu, 08 May 2014 17:25 Go to previous message
Mamen is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Ideal PID in full simulation
Next Topic: hyperon fast simualtions
Goto Forum:
  


Current Time: Fri Jan 18 21:49:39 CET 2019

Total time taken to generate the page: 0.02811 seconds