ESDtrack TOF cluster index now pointing to recPoints (S.Arcelli, C.Zampolli)
authordecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 23 Nov 2005 16:49:29 +0000 (16:49 +0000)
committerdecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 23 Nov 2005 16:49:29 +0000 (16:49 +0000)
TOF/AliTOFtracker.cxx

index 98cf5b6..39d5175 100644 (file)
@@ -429,7 +429,8 @@ void AliTOFtracker::MatchTracks( Bool_t mLastStep){
     //Double_t tof=50*c->GetTDC()+32; // in ps
     Double_t tof=AliTOFGeometry::TdcBinWidth()*c->GetTDC()+32; // in ps
     t->SetTOFsignal(tof);
-    t->SetTOFcluster(c->GetIndex());
+    //t->SetTOFcluster(c->GetIndex()); // pointing to the digits tree
+    t->SetTOFcluster(idclus); // pointing to the recPoints tree
     Double_t time[10]; t->GetIntegratedTimes(time);
     Double_t mom=t->GetP();
     for(Int_t j=0;j<=AliPID::kSPECIES;j++){