GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » [CLOSED] Wrong particle in FillList
Re: Wrong particle in FillList [message #15059 is a reply to message #15049] Tue, 30 July 2013 22:27 Go to previous messageGo to previous message
Lu Cao is currently offline  Lu Cao
Messages: 77
Registered: February 2013
continuous participant
From: *adsl.alicedsl.de
Hi Klaus,

First, sorry for mistyping~~

I have updated the whole framework to the latest version #20914, and found the FillList works quite well with "Loose" and even "All" PID algorithm in the charged particle cases, where almost no wrong filling.

However, for the gamma, the pdg code of all candidates are 0. I checked that in MC truth. They are correct in there.


In the analysis macro, I use

Quote:


PndAnalysis* theAnalysis = new PndAnalysis();
RhoCandList gamma;

theAnalysis->FillList(gamma, "PidAlgoIdealNeutral");

while (theAnalysis->GetEvent() && i++<nevts)
{for (j=0;j<gamma.GetLength();++j)
{cout << "gamma =" << gamma[j]->PdgCode() << endl;
}
}





Best regards,
Lu
 
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: Fri Oct 11 01:27:03 CEST 2024

Total time taken to generate the page: 0.00919 seconds