GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: [FIXED] DPM
items: Re: DPM
items: [FIXED] Re: DPM

[FIXED] DPM
type: item
description: 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
creator: Simon Reiter
date: 2013-07-03T21:38:24-00:00

Re: DPM
type: item
description: Can you please check that in your sim macro you have the following command set to "kTRUE"? EvtGen->SetStoreTree(kTRUE);
creator: StefanoSpataro
date: 2013-07-04T10:13:31-00:00

[FIXED] Re: DPM
type: item
description: 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
creator: Simon Reiter
date: 2013-07-04T11:27:42-00:00