new reconstruction with pass0 calibration
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 4 Apr 2011 12:37:41 +0000 (12:37 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 4 Apr 2011 12:37:41 +0000 (12:37 +0000)
T0/AliT0Parameters.cxx
T0/AliT0Parameters.h

index b055844..4d82cd6 100644 (file)
@@ -228,6 +228,14 @@ AliT0Parameters::GetTimeDelayCFD(Int_t ipmt)
    
   return fgCalibData->GetTimeEq(ipmt);
 }
+//__________________________________________________________________
+Float_t
+AliT0Parameters::GetCFD(Int_t ipmt) 
+  {
+  // return  CFD channel
+   
+    return fgCalibData->GetCFDvalue(ipmt,0);
+}
 
 //__________________________________________________________________
 Float_t
index fbdc396..44409c9 100644 (file)
@@ -77,7 +77,7 @@ public:
    
   Float_t GetTimeDelayCFD(Int_t ipmt);
 //  Float_t GetTimeV0(Int_t ipmt = 512) {return  fTimeV0;}
-
+  Float_t GetCFD (Int_t ipmt);
   void SetMeanT0(Float_t mean=512) { fMeanT0 = mean; };
   Float_t GetMeanT0 () {return fMeanT0;};
   void SetMeanVertex(Float_t mean=0) { fMeanVertex = mean; };