GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » EMC » About Track ID in simulation
About Track ID in simulation [message #15216] Thu, 15 August 2013 11:03 Go to next message
Jifeng Hu is currently offline  Jifeng Hu
Messages: 31
Registered: October 2012
continuous participant
From: *wlan.uni-giessen.de
When we read PndEmcPoint, the track identifier can be accessed by PndEmcPoint->GetTrackID(). My question is what does a negative return-value -2 mean?

Re: About Track ID in simulation [message #15218 is a reply to message #15216] Thu, 15 August 2013 21:54 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: 2.235.190*
PndEmcPoint->GetTrackID() should be always greater than -1...
When and how are you seeing EmcPoint with trackid == -2?
Re: About Track ID in simulation [message #15219 is a reply to message #15218] Fri, 16 August 2013 09:09 Go to previous messageGo to next message
Jifeng Hu is currently offline  Jifeng Hu
Messages: 31
Registered: October 2012
continuous participant
From: *unitymediagroup.de
Run macro/run/sim_complete.C, print out PndEmcPoint->GetTrackID() in PndEmcHitProducer.cxx.
We will see such cases may happen within 20 events.


Re: About Track ID in simulation [message #15220 is a reply to message #15218] Fri, 16 August 2013 09:48 Go to previous message
Jifeng Hu is currently offline  Jifeng Hu
Messages: 31
Registered: October 2012
continuous participant
From: *wlan.uni-giessen.de
I found that for a too long time, at the beginning this -2 value may cause crash in simulation, so I make a condition check to skip such case when I trace the showers to MC truth.

but recently, I want to do a detailed check for the whole flow, I think this -2 value is not in PndMCTrack list, and post this question?
Previous Topic: About Reconstruction
Next Topic: Question in MC simulation
Goto Forum:
  


Current Time: Fri Feb 03 00:52:50 CET 2023

Total time taken to generate the page: 0.00954 seconds