GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] DPM
[FIXED] DPM [message #14923] Wed, 03 July 2013 23:38 Go to next message
Simon Reiter is currently offline  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 201 times)
  • Attachment: anatut_psi2s.C
    (Size: 11.44KB, Downloaded 243 times)

[Updated on: Thu, 04 July 2013 14:03] by Moderator

Report message to a moderator

Re: DPM [message #14925 is a reply to message #14923] Thu, 04 July 2013 12:13 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Can you please check that in your sim macro you have the following command set to "kTRUE"?

EvtGen->SetStoreTree(kTRUE);
[FIXED] Re: DPM [message #14929 is a reply to message #14923] Thu, 04 July 2013 13:27 Go to previous message
Simon Reiter is currently offline  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 Wink

[Updated on: Thu, 04 July 2013 14:02] by Moderator

Report message to a moderator

Previous Topic: [FIXED] Not set McMotherIdx
Next Topic: [WONTBEFIXED] Wrong Class/File Name PndPidTrackInfo
Goto Forum:
  


Current Time: Sun Apr 28 23:03:45 CEST 2024

Total time taken to generate the page: 0.01035 seconds