GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » [FIXED] Problem in reconstructing neutral particle
Re: Problem in reconstructing neutral particle [message #15402 is a reply to message #15401] Mon, 02 September 2013 12:00 Go to previous messageGo to previous message
Klaus Götzen is currently offline  Klaus Götzen
Messages: 293
Registered: June 2006
Location: GSI
first-grade participant
From: *
Hi Lu,

I was not able to reproduce your problem up to now, but I noticed, that you don't empty the RhoCandList bwd_gam around line 202/203.

You could add an

and rerun to see whether this cures the error.

The problem could be, that the bwd_gam list still holds pointers to candidates from the previous event, which after RhoFactory::Reset() point to different candidates from the current event, which might be composites, charged or whatever kind of particles.

Btw, the filtering in lines 135 and 139 (cutting on the PdgCode()) actually does not filter, since these numbers from the reco candidates do not represent the MC truth codes, but just the assigned ones from particle selectors. I.e. all the candidates in a 'PionLoosePlus' list have PDG code 211 after filling the list.

Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Pnd4CFitter - how to use it
Next Topic: [FIXED] Recontruction of neutrals - macro is very slow
Goto Forum:

Current Time: Fri Dec 03 08:25:13 CET 2021

Total time taken to generate the page: 0.02251 seconds