GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » FinishTask() funktion for uninitialized Tasks -> Bug or feature?
Re: FinishTask() funktion for uninitialized Tasks -> Bug or feature? [message #20167 is a reply to message #20162] Thu, 19 January 2017 10:42 Go to previous messageGo to previous message
Dominik Steinschaden is currently offline  Dominik Steinschaden
Messages: 28
Registered: April 2015
continuous participant
From: *smi.oeaw.ac.at
Thanks for the help.

Just for interested persons: the variable causing the problems was a pointer to a TClonesArray which is used to write the data into the outputfile.


InitStatus PndSuperTask::Init(){
....

FairRootManager* ioman = FairRootManager::Instance();

fOutArray = ioman->Register(fOutBranchName.Data(), "FairTimeStamp", "EventDetermination", fPersistence);

.....

And If no Output is generated I want to avoid to register an output branch. I will just use an additional If statement in the FinishTask() as suggested.

Dominik
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PandaRoot Feb17
Next Topic: Preparations Release 02/17
Goto Forum:
  


Current Time: Mon Dec 06 15:23:16 CET 2021

Total time taken to generate the page: 0.02195 seconds