GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] DPM
[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: *
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

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

Current Time: Thu Jul 25 12:43:31 CEST 2024

Total time taken to generate the page: 0.00700 seconds