GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » problem in retriving data from runDemo output
Re: problem in retriving data from runDemo output [message #6148 is a reply to message #6127] Tue, 25 March 2008 23:59 Go to previous messageGo to previous message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *dip.t-dialin.net
Hallo Sebastian,

Quote:

GeaneTrackRep obviously requires GEANE. So you cannot use it without setting up geant3. And in addition you always need the complete Framework environment (the runmanager in particular) This takes care of the magnetic field and so on.

This dependency is a bit awkward but it is needed.

For the moment I would suggest, that you put all the things you want to do into another task which you plug to your reco script. Like I have done with TrackStatTask.

Cheers! Sebastian.

PS: I see a bigger context here: persistence of track objects. Let's keep that in mind!



That we need to link against geane, geant3 or even geant4 is not a problem at all, this we do in simulation for example but we can still read the root files without any of these packages, the point is what is going to the streamer? if you have pointers as member variables of your data object (Track, TrackRep or what ever) you should tell rootcint not to stream these pointers by putting "//!" in the header file directly after declaration of these pointers, other wise root will stream them to the file and you will need the libraries to read the root file!

regards

Mohammad




 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Fluka is available now!
Next Topic: Forgotten increment of iterator???
Goto Forum:
  


Current Time: Thu Jul 18 17:22:36 CEST 2024

Total time taken to generate the page: 0.00985 seconds