Home » PANDA » PandaRoot » Analysis » [CLOSED] Wrong particle in FillList
Re: Wrong particle in FillList [message #15075 is a reply to message #15044] |
Wed, 31 July 2013 19:35 |
Simon Reiter
Messages: 44 Registered: May 2013
|
continuous participant |
From: *zeu.uni-giessen.de
|
|
Hi,
I'm not sure if it is corrected in the trunk, but I found something weird. While using the release APR13 I searched for pions and checked their pdg.
theAnalysis->FillList(mctrk, "McTruth");
theAnalysis->FillList(pions, "PionLooseCharged");
for(Int_t i=0;i<pions.GetLength();i++) {
if (!mcm.MctMatch(pions[i], mctrk)){
...
}
}
At ... I printed the McIdx of "pions", the PdgCode of "pions" and the "PdgCode" of mctrk.
McIdx: 2311 pdg: 211
McPdg of 2311: -211
McIdx: 174 pdg: 211
McPdg of 174: 1000010020
.
.
.
While MctMatch is comparing the pdgcode of "pions[i]" and the one pointed to in mctrk, there shouldn't be any difference, if "McIdx" of "pions[i]" is set correctly. But there are plus-minus problems..
Additionally what is pdg 1000010020? This number is set by "McTruth"!!!
Is the default PID "PidAlgoIdealCharged" with MC information or not? And will this be corrected in the release?
Best regards,
Simon
[Updated on: Wed, 31 July 2013 19:43] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue Dec 10 18:03:40 CET 2024
Total time taken to generate the page: 0.00898 seconds
|