Bug fix - Extrapolation as constant
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Sep 2010 21:20:30 +0000 (21:20 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Sep 2010 21:20:30 +0000 (21:20 +0000)
Marian

TPC/AliTPCcalibDB.cxx

index a308fb4..9dac03a 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.);