]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Second bug fix
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 25 Sep 2010 08:12:04 +0000 (08:12 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 25 Sep 2010 08:12:04 +0000 (08:12 +0000)
Drift velocity using the central electrode was ignored
starting from  revision 43107

TPC/AliTPCcalibDB.cxx

index 9dac03a1e69d0f1af40d1e91886c0c2ec6a8e586..37f96be3ac02f00588794810b4cb6b4057e22f91 100644 (file)
@@ -1781,7 +1781,7 @@ Double_t AliTPCcalibDB::GetVDriftCorrectionTime(Int_t timeStamp, Int_t run, Int_
   if (mode==1) {
     const Double_t kEpsilon=0.00000000001;
     const Double_t kdeltaT=360.; // 10 minutes
-    if(TMath::Abs(driftITS) < 12*kdeltaT) {
+    if(TMath::Abs(deltaITS) < 12*kdeltaT) {
       result = driftITS;
     } else {
     wITS  = 64.*kdeltaT/(deltaITS +kdeltaT);