GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Reading parameter file, ROOT::delete_TFile(void*) ()
Re: Reading parameter file, ROOT::delete_TFile(void*) () [message #17548 is a reply to message #17545] Wed, 19 November 2014 20:06 Go to previous messageGo to previous message
Klaus Götzen is currently offline  Klaus Götzen
Messages: 293
Registered: June 2006
Location: GSI
first-grade participant
From: *
Hi Alicia,

a streamer is the method of the dictonary of a ROOT class which takes care about persiting an object to file (as far as I understand). When writing the class interface you can actually mark member variables which shall not be written (e.g. temporary objects created when the class is created) with a comment like

int member; //! 

I noticed that the member variable fFile (see yp.h#L226) and perhaps others might be automatically streamed since they are not marked to be ignored by the streamer.

In summary, you could try to put a "//!" like

226	  TFile *fFile; //!
227	  TTree *ft; //!
228	  TClonesArray *fEvt; //!

and try whether this helps (just an idea, I'm not at all sure Wink).


PS: Here is some docu about streamers:
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [FIXED] FairEvtFilter problem with c++11
Next Topic: tracks belonging to the same MC truth track
Goto Forum:

Current Time: Fri Dec 03 08:36:50 CET 2021

Total time taken to generate the page: 0.02303 seconds