GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » [CLOSED] Wrong particle in FillList
Re: Wrong particle in FillList [message #15234 is a reply to message #15232] Mon, 19 August 2013 13:35 Go to previous messageGo to previous message
MartinJGaluska is currently offline  MartinJGaluska
Messages: 203
Registered: March 2010
Location: Germany
first-grade participant
From: *physik.uni-giessen.de
Stefano Spataro wrote on Sat, 17 August 2013 16:36

There are four ways for the MC association:

a) GetRecoCandidate()->GetMcIndex()
b) GetMcTruth()
c) PidIdealCharged algorithm
d) McTruthMatch


Why don't you start from the first one a), as suggested several messages ago, which will work for sure? (at least it is the standard)
You can try also b), which should work also. If the truth pointer is not associated, it means that most probably the track is made of noise hits (i.e.mvd oixels), then there is no MC association.

c) and d) could have still problems, but if you use one to check the other we cannot understand a lot.




Simon and I have just discussed this issue and we will write a macro checking possible problems in trunk. We believe that filling four lists (one for each way of accessing the mc truth information) of a given particle type -- let's say pions -- for some simulation would be the best way. Each list will be cross-checked with each of the other methods. We expect to be able to give you an update by the end of the week.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MVD Particle Identification in analyses
Next Topic: [WONTFIX] Tutorial macro - trunk
Goto Forum:
  


Current Time: Thu Apr 25 21:01:56 CEST 2024

Total time taken to generate the page: 0.01028 seconds