14 :fPersistance(kTRUE), fOutputBranch(
"ALLTracks"), fOutputArray(), fInputArrayList(), fInputBranchList()
18 :fPersistance(kTRUE), fOutputBranch(s), fOutputArray(), fInputArrayList(), fInputBranchList()
36 std::cout <<
"-E- PndSdsStripHitProducer::Init: "
37 <<
"RootManager not instantiated!" << std::endl;
42 TClonesArray* tmparray;
45 tmparray = (TClonesArray*) ioman->
GetObject((*iter).Data());
48 Error(
"Init()",
"No %s array! Skipping that name.",(*iter).Data());
51 TString namebuff = (TString) tmparray->GetClass()->GetName();
52 if(namebuff ==
"PndTrack"){
69 TClonesArray* tmparray;
79 #if ROOT_VERSION_CODE >= ROOT_VERSION(5,29,1)
83 fOutputArray->AbsorbObjects(tmparray, 0, tmparray->GetEntries() - 1);
87 for ( Int_t i=0;i<tmparray->GetEntriesFast();i++)
91 PndTrack* mynewtrack =
new ((*fOutputArray)[entries])
96 for(
int nlin=0;nlin<tmptrk->
GetNLinks();nlin++)