/*
$Log$
+Revision 1.61 2002/09/10 07:06:42 kowal2
+Corrected for the memory leak. Thanks to J. Chudoba and M. Ivanov
+
Revision 1.60 2002/06/12 14:56:56 kowal2
Added track length to the reference hits
class AliTPCFastVector : public TVector {
public :
AliTPCFastVector(Int_t size);
+ virtual ~AliTPCFastVector(){;}
inline Float_t & UncheckedAt(Int_t index) const {return fElements[index];} //fast acces
+
};
AliTPCFastVector::AliTPCFastVector(Int_t size):TVector(size){
branch = treeH->GetBranch(branchname);
if (branch) branch->SetAddress(&fTrackHitsOld);
}
+ //set address to TREETR
+ TTree *treeTR = gAlice->TreeTR();
+ if (treeTR && fTrackReferences) {
+ branch = treeTR->GetBranch(GetName());
+ if (branch) branch->SetAddress(&fTrackReferences);
+ }
+
}