[FIXED] DPM [message #14923] |
Wed, 03 July 2013 23:38 |
Simon Reiter
Messages: 44 Registered: May 2013
|
continuous participant |
From: *dip0.t-ipconnect.de
|
|
Hi all,
I used DPM generator to get some background statistics. In my analysis script I did n MC match to identify pions correctly. Additional I checked the MotherID to 88888 (pbarp-system) to know, how many of them decayed in the primary decay. But this check seems not to work as if there is no information stored.
Greetings
Simon
PS: Using Release April '13
-
Attachment: 10-ana.log
(Size: 20.19KB, Downloaded 233 times)
-
Attachment: anatut_psi2s.C
(Size: 11.44KB, Downloaded 284 times)
[Updated on: Thu, 04 July 2013 14:03] by Moderator Report message to a moderator
|
|
|
|
[FIXED] Re: DPM [message #14929 is a reply to message #14923] |
Thu, 04 July 2013 13:27 |
Simon Reiter
Messages: 44 Registered: May 2013
|
continuous participant |
From: *zeu.uni-giessen.de
|
|
The Tree is stored. I could fix this problem with changing the request of the GetMcMotherIdx. I forgot that DPM does not start its decay with the pbarp. So the McMotherIdx is set to -1 and there is not candidate in the MCTruth list at position -1. Now I request additionally that GetMcMotherIdx()<0.
int motherId = mctrk[ TCandidate.GetMcIdx() ].GetMcMotherIdx();
if(motherId<0 || mctrk[ motherId ].PdgCode()==88888) {...}
Sorry for interruption
[Updated on: Thu, 04 July 2013 14:02] by Moderator Report message to a moderator
|
|
|