]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/AliT0RecPoint.h
Readme for calibration/performance train (Marian)
[u/mrichter/AliRoot.git] / T0 / AliT0RecPoint.h
index c561b35ca442270f285311c44ad0d6547ba90494..b6bb93aac6ff4990da52c9fcbb66b5b5b4031087 100644 (file)
@@ -12,43 +12,54 @@ class AliT0RecPoint: public TObject  {
 ////////////////////////////////////////////////////////////////////////
  public:
     AliT0RecPoint();
+    AliT0RecPoint(const AliT0RecPoint &o);
+    AliT0RecPoint& operator= (const AliT0RecPoint &)  { return *this;}
     virtual ~AliT0RecPoint() {}
-    Int_t  GetMeanTime() {return fTimeAverage;}
-    Int_t  GetBestTimeRight() {return fTimeBestRight ;}
-    Int_t  GetBestTimeLeft() {return fTimeBestLeft ;}
-    Int_t GetMultC() {return fMultC;}
-    Int_t GetMultA() {return fMultA;}
-    Float_t  GetVertex() {return fVertexPosition;}
+
+     Int_t  GetMeanTime()   const {return fTimeAverage;}
+     Int_t  GetOnlineMean() const {return fTimeOnlineMean;}
+     Int_t  GetBestTimeA()  const {return fTimeBestA ;}
+     Int_t  GetBestTimeC()  const {return fTimeBestC ;}
+     Int_t GetMultC()       const {return fMultC;}
+     Int_t GetMultA()       const {return fMultA;}
+     Float_t  GetVertex()   const {return fVertexPosition;}
 
 
     void SetMeanTime(Int_t time) {fTimeAverage=time;}
-    void SetTimeBestRight( Int_t time) {fTimeBestRight = time;}
-    void SetTimeBestLeft( Int_t time) {fTimeBestLeft = time;}
+    void SetOnlineMean(Int_t time) {fTimeOnlineMean=time;}
+    void SetTimeBestA( Int_t time) {fTimeBestA = time;}
+    void SetTimeBestC( Int_t time) {fTimeBestC = time;}
     void SetVertex( Float_t vertex) {fVertexPosition= vertex;}
     void SetMultC(Int_t mult) {fMultC = mult;}
     void SetMultA(Int_t mult) {fMultA = mult;}
 
     void SetTime (Int_t ipmt, Float_t time) { fTime[ipmt] = time;}
-    Float_t GetTime (Int_t ipmt) { return fTime[ipmt];}
-   void SetAmp (Int_t ipmt, Float_t adc) { fADC[ipmt] = adc;}
-    Float_t GetAmp (Int_t ipmt) { return fADC[ipmt];}
-   void SetAmpLED (Int_t ipmt, Float_t adc) { fADCLED[ipmt] = adc;}
-    Float_t AmpLED (Int_t ipmt) { return fADCLED[ipmt];}
+    Float_t GetTime (Int_t ipmt)const { return fTime[ipmt];}
+    void SetAmp (Int_t ipmt, Float_t adc) { fADC[ipmt] = adc;}
+    Float_t GetAmp (Int_t ipmt) const{ return fADC[ipmt];}
+    void SetAmpLED (Int_t ipmt, Float_t adc) { fADCLED[ipmt] = adc;}
+    Float_t AmpLED (Int_t ipmt) const{ return fADCLED[ipmt];}
+    
+    void SetT0clock (Int_t time) { fT0clock = time;}
+    Float_t GetT0clock () const{ return fT0clock;}
+
 
   private: 
     Int_t fTimeAverage;     // Average time
-    Float_t fVertexPosition;     // Diffrence time between left and right
-    Int_t fTimeBestRight;   //TOF first particle on the right
-    Int_t fTimeBestLeft;    //TOF first particle on the left
+    Int_t fTimeOnlineMean; // online mean signal
+    Float_t fVertexPosition;     // Diffrence time between C and A
+    Int_t fTimeBestA;   //TOF first particle on the A
+    Int_t fTimeBestC;    //TOF first particle on the C
     Int_t fMultC; // multiplicity on the 
     Int_t fMultA; // multiplicity on the 
+    Int_t fT0clock; // T0 with reference point
  
     Float_t fTime[24];    // array's TDC
     Float_t fADC[24];    // array's amplitude
     Float_t fADCLED[24];    // array's LED amplitude
 
 
-    ClassDef(AliT0RecPoint,3)  //Digit (Header) object for set:T0
+    ClassDef(AliT0RecPoint,5)  //Digit (Header) object for set:T0
 };
 
 typedef AliT0RecPoint AliSTARTRecPoint; // for backward compatibility