GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » FIXED Access GetMicroCandidate from RhoCandList or RhoCandidate
FIXED Access GetMicroCandidate from RhoCandList or RhoCandidate [message #15622] Thu, 31 October 2013 09:50 Go to next message
donghee is currently offline  donghee
Messages: 385
Registered: January 2009
Location: Germnay
first-grade participant
From: *kph.uni-mainz.de
Dear all,

I have a RhoCandList and want to use GetMicroCandidate(), which is a function to access some spectific info about detector response, and was used with TCandList.

After exchanging from TCandList to RhoCandList, I could not see same function in RhoCandidate class.

Quote:


RhoCandList all;
for (l=0;l<all.GetLength();++l) {
double EMC_energy = all[l].GetMicroCandidate().GetEmcRawEnergy();
}



Are there similar function in the Rho package?

Best regards,
Donghee

[Updated on: Tue, 12 November 2013 18:24] by Moderator

Report message to a moderator

Re: Access GetMicroCandidate from RhoCandList or RhoCandidate [message #15623 is a reply to message #15622] Thu, 31 October 2013 09:53 Go to previous message
Klaus Götzen is currently offline  Klaus Götzen
Messages: 293
Registered: June 2006
Location: GSI
first-grade participant
From: *gsi.de
Hi Donghee,


you can access it via

PndPidCandidate *mic = (PndPidCandidate*)all[l]->GetRecoCandidate();

double emc_energy = mic->GetEmcRawEnergy(); 



Best,
Klaus
Previous Topic: New flags for PidCorrelator
Next Topic: [FIXED] use MC particle hypothesis in PndRecoKalmanTask
Goto Forum:
  


Current Time: Wed Oct 09 09:28:18 CEST 2024

Total time taken to generate the page: 0.00818 seconds