GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » (SOLVED)Obtain Raw Info from Calorimeter (old GetMicroCandidate from TCandList class) (Learning Analysis)
(SOLVED)Obtain Raw Info from Calorimeter (old GetMicroCandidate from TCandList class) [message #16321] Tue, 15 April 2014 18:12 Go to previous message
Mamen is currently offline  Mamen
Messages: 55
Registered: January 2009
Location: Mainz
continuous participant
From: *kph.uni-mainz.de
Hi, everybody!

Finally after so many years of delay I'm learning how to use PandaRoot.
I got some macro from Dmitry Khaneft and I am trying to reproduce his analysis to start learning a bit the code.
By now I have already encountered some problems. The Class TCandList has been changed to RhoCandList, and some of the methods seem not to be available anymore.
For instance I was trying to get some EMC information:

for (Int_t j=0;j<negative.GetLength();++j){
if(negative[j].GetMicroCandidate().GetEmcIndex()>-1){
// *** Fill momentum vs E/p
hEPvsP-> Fill(negative[j].GetMicroCandidate().GetMomentum().Mag(),negative[j].Get MicroCandidate().GetEmcCalEnergy()/negative[j].GetMicroCandidate().GetMo mentum().Mag());
// *** Fill number of crystals hit in the EMC
hNCrystalsEMC->Fill(negative[j].GetMicroCandidate().GetEmcNumberOfCrystals());
}

the object 'negative' is defined as follows:

RhoCandList negative;

and it refers to the negative tracks.

The method GetMicroCandidate() doesn't exist anymore in the class RhoCandList.
I was trying to find out how to do this using the new RhoCandList, instead of the old TCandList, but I could not manage to find any documentation Sad...
Could somebody help me? Please!

Thanks a lot in advance!
Cheers!
Mamen

[Updated on: Wed, 16 April 2014 10:49]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Vertex and kinematic fitter for full simulation.
Next Topic: option of polarization for Lambda-Lambdabar model
Goto Forum:
  


Current Time: Wed Nov 27 09:58:14 CET 2024

Total time taken to generate the page: 0.00726 seconds