Re: Problems with photon reconstruction in pandaroot [message #15436 is a reply to message #15435] |
Thu, 05 September 2013 11:19 |
Klaus Götzen
Messages: 293 Registered: June 2006 Location: GSI
|
first-grade participant |
From: *gsi.de
|
|
Dear Elisabetta,
there was a bug in RhoFactory in combination with RhoCandidate causing this memory leak (and some older related to PndPidProbability, which should already be fixed in your rev).
Could you update the rho folder (and maybe also PndTools/AnalysisTools) and try again, whether the memory leak vanishes?
Concerning issues with neutrals, the point is, that there are always many gamma candidates in each event. You could produce a plot of gamma.GetLength(), and for sure you will see in average many more gammas than expected due to your signal channel. Therefore you might think about requiring some minimum energy for your gamma candidates in order to reduce combinatorics.
Considering your macro code, you need to set the type of your pi0 list actually before you use it for further combinatorics, otherwise the MC truth match won't work I guess.
Best,
Klaus
|
|
|