Inserted the FillResiduals method call in the TOF trackers (I.Belikov)
authordecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Feb 2009 11:53:16 +0000 (11:53 +0000)
committerdecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Feb 2009 11:53:16 +0000 (11:53 +0000)
TOF/AliTOFtracker.cxx
TOF/AliTOFtrackerMI.cxx
TOF/AliTOFtrackerV1.cxx

index 8badee5f05f865c5b51487470fd5eaa2c6457125..90068529ecda908db869c9a50b485b63f663a352 100644 (file)
@@ -601,6 +601,10 @@ void AliTOFtracker::MatchTracks( Bool_t mLastStep){
 
     AliTOFtrack *trackTOFout = new AliTOFtrack(*t); 
     trackTOFout->PropagateTo(xpos);
+
+    // Fill the track residual histograms.
+    FillResiduals(trackTOFout,c,kFALSE);
+
     t->UpdateTrackParams(trackTOFout,AliESDtrack::kTOFout);    
     t->SetIntegratedLength(recL);
     t->SetIntegratedTimes(time);
index 47655aae87bcb2992429d61bfb9be04b48530908..24e2d75babe133a71f721ef4abe1d52a90d3f06f 100644 (file)
@@ -527,6 +527,10 @@ void AliTOFtrackerMI::MatchTracksMI(Bool_t mLastStep){
 
     AliTOFtrack *trackTOFout = new AliTOFtrack(*t); 
     trackTOFout->PropagateTo(379.);
+
+    // Fill the track residual histograms.
+    FillResiduals(trackTOFout,cgold,kFALSE);
+
     t->UpdateTrackParams(trackTOFout,AliESDtrack::kTOFout);    
     t->SetIntegratedLength(length[igold]);
     t->SetIntegratedTimes(times[igold]);
index 4767678aa598f9048ce1ede8e8e7ef175e9144de..aae7b17ae691fa5f076386b55396ea878c7707c1 100644 (file)
@@ -421,6 +421,8 @@ void AliTOFtrackerV1::MatchTracks( ){
     //Propagate the track to the best matched cluster
     trackTOFin->PropagateTo(bestCluster);
 
+    // Fill the track residual histograms.
+    FillResiduals(trackTOFin,bestCluster,kFALSE);
 
     //now take the local distance in Z from the pad center for time walk correction
     Float_t tiltangle = AliTOFGeometry::GetAngles(bestCluster->GetDetInd(1),bestCluster->GetDetInd(2))*TMath::DegToRad();