void PndSdsDetector::Register() { fPndSdsCollection = FairRootManager::Instance()->GetTClonesArray(fOutBranchName); if (! fPndSdsCollection){ std::cout << "-W- PndSdsDetector: New branch " << fOutBranchName << " created!" << std::endl; FairRootManager::Instance()->Register(fOutBranchName, "PndSdsMCPoint", fFolderName, kTRUE); [b]fPndSdsCollection = FairRootManager::Instance()->GetTClonesArray(fOutBranchName);[/b] } //FairRootManager::Instance()->Register(fOutBranchName, fFolderName, fPndSdsCollection, fPersistance); }