GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Access to MC information after the digitization stage
Re: Access to MC information after the digitization stage [message #18410 is a reply to message #18409] Tue, 11 August 2015 16:00 Go to previous messageGo to previous message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Dear all,

please be careful with using GetLink(...). It is not defined that GetLink(0) always points to a MCTrack and GetLink(1) to an SciTPoint.

Better use GetLinksWithType( branchName ). This returns a FairMultiLinkedData object with links all from the same type. You have to loop over the FairMultiLinkedData because you could have more than one link of the same type.

Cheers,

Tobias
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Update on the SciTil Detector
Next Topic: momentum vs beta for barrel TOF
Goto Forum:
  


Current Time: Sat Apr 27 23:29:21 CEST 2024

Total time taken to generate the page: 0.01418 seconds