dependence on reference point removed
[u/mrichter/AliRoot.git] / T0 / AliT0Parameters.cxx
index 05262c9..af8ddcc 100644 (file)
@@ -73,6 +73,8 @@ AliT0Parameters::AliT0Parameters()
    fAmpLEDRec(0), 
    fPMTeff(),
    fWalk(0),
+   fQTC(0),
+   fAmpLED(0),
    fTimeDelayCFD(0), 
  //  fTimeV0(0), 
    fTimeDelayTVD(0),
@@ -195,6 +197,19 @@ AliT0Parameters::GetTimeDelayCFD(Int_t ipmt)
 }
 //__________________________________________________________________
 
+Float_t
+AliT0Parameters:: GetMeanVertex()
+{ 
+  if (!fCalibentry) 
+    {
+      fMeanVertex=0;
+      return fMeanVertex;
+    }
+   
+  return fgCalibData->GetMeanVertex();
+}
+//__________________________________________________________________
+
 TGraph *AliT0Parameters::GetAmpLEDRec(Int_t ipmt) const
 {
    if (!fSlewCorr) {