GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » access to different variables
access to different variables [message #13517] Thu, 24 May 2012 14:44 Go to next message
Dmitry Khaneft is currently offline  Dmitry Khaneft
Messages: 75
Registered: January 2009
continuous participant
From: *kph.uni-mainz.de
Dear all,

is it possible to get from TCandidate an access to different variables (e.g. EMC dE/dx, MVD dE/dx, etc) which are available for PndPidCandidate?

Cheers,
Dmitry
Re: access to different variables [message #13518 is a reply to message #13517] Thu, 24 May 2012 14:52 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *NATPOOL.NYU.EDU
Try with GetMicroCandidate(), it should give you back an object VAbsMicroCandidate. I don't know if all the variables are implemented there, if something is missing just tell me and I will fix it.

TCandList p1;
...
if((p1[ii].GetMicroCandidate().GetSttHits())==0){
...
Previous Topic: combinations of pid algorithms
Next Topic: analysis performance and PID criteria
Goto Forum:
  


Current Time: Sat Apr 20 09:44:16 CEST 2024

Total time taken to generate the page: 0.00842 seconds