GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Tracking » Adapter from Genfit to Pnd objects checked in
Re: Adapter from Genfit to Pnd objects checked in [message #8844 is a reply to message #8796] Thu, 11 June 2009 11:07 Go to previous messageGo to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *to.infn.it
Hello Christian,

I have a bad feeling about storing pointers, mainly because I never do that. In my opinion you shaould store an index to the object in a TClonesArray. You would need one TClonesArray for each derived TrackPar class. This is the way it is done e.g. in the Mvd Digitization.

However, you are encouraged to make all the necessary changes to get it running!
For example moving the functionality of this Print() function to the daughter classes seems very convenient. The framework classes are write protected in svn anyway, so you have to distribute these on the development branch for a review.

Kind regards,
Ralf.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: removed debug output
Next Topic: still trouble with Geane
Goto Forum:
  


Current Time: Tue Apr 16 18:10:16 CEST 2024

Total time taken to generate the page: 0.01216 seconds