]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCcalibDB.cxx
Bug fix - Extrapolation as constant
[u/mrichter/AliRoot.git] / TPC / AliTPCcalibDB.cxx
index a308fb417361511e4feac142d4562136d70e76c0..9dac03a1e69d0f1af40d1e91886c0c2ec6a8e586 100644 (file)
@@ -1857,7 +1857,7 @@ Double_t AliTPCcalibDB::GetVDriftCorrectionGy(Int_t timeStamp, Int_t run, Int_t
   // use TPC-ITS if present
   TGraphErrors *gr= (TGraphErrors*)array->FindObject("ALIGN_ITSB_TPC_VDGY");
   if(gr) { 
-    result = (gr->Eval(timeStamp));
+    result = AliTPCcalibDButil::EvalGraphConst(gr,timeStamp);
 
     // transform from [(cm/mus)/ m] to [1/cm]
     result /= (fParam->GetDriftV()/1000000.);