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.