|
|
Re: Persitancy in Tasks [message #10211 is a reply to message #10209] |
Wed, 17 February 2010 09:33 |
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.
|
|
|
|
|
|
|