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   |
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
|
|
|
|
Goto Forum:
Current Time: Sun May 17 18:21:30 CEST 2026
Total time taken to generate the page: 0.00835 seconds
|