Skip to content

Commit

Permalink
use Zcl rather Ztr for drift correction evaluation when extracting re…
Browse files Browse the repository at this point in the history
…siduals
  • Loading branch information
shahor02 committed Jul 17, 2016
1 parent 2c56e61 commit 04b7dd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TPC/TPCcalib/AliTPCDcalibRes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1124,8 +1124,8 @@ void AliTPCDcalibRes::CollectData(const int mode)
}
if (fArrPhi[fNCl]<0) fArrPhi[fNCl] += 2.*TMath::Pi();
//
// correct for drift velocity calibration if needed
if (correctVDrift) fArrDZ[fNCl] += GetDriftCorrection(fArrZTr[fNCl],fArrR[fNCl],fArrPhi[fNCl],rocID);
// correct for drift velocity calibration if needed, using Zcluster for correction evaluation (as in raw data)
if (correctVDrift) fArrDZ[fNCl] += GetDriftCorrection(fArrZTr[fNCl]-fArrDZ[fNCl],fArrR[fNCl],fArrPhi[fNCl],rocID);
//
fArrSectID[fNCl] = rocID%kNSect2; // 0-36 for sectors from A0 to C17
//
Expand Down

0 comments on commit 04b7dd5

Please sign in to comment.