GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Persitancy in Tasks
Re: Persitancy in Tasks [message #10211 is a reply to message #10209] Wed, 17 February 2010 09:33 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
I am not so sure if this can be good or not.
If one Task is filling more than one TCA, in this way you can switch both of them ON or OFF, but if you want to have only one ON... then you cannot do it.

This happens in PndLheTrackFinder::

//_________________________________________________________________
void PndLheTrackFinder::Register() {
  //---
  FairRootManager::
    Instance()->Register("LheCandidate",
                         "Lhe", fFoundTracks, fCanPersistence);

  FairRootManager::
    Instance()->Register("LheCMPoint",
                         "Lhe",fCMHits, fCMPersistence);

}


where I need to separate the persistence of the two objects. And by deafault one is ON and the other is OFF.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Diff. LX dists
Next Topic: Crash in PndDpmDirect
Goto Forum:
  


Current Time: Mon Apr 29 13:07:43 CEST 2024

Total time taken to generate the page: 0.01061 seconds