]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/AliT0RecPoint.h
This commit was generated by cvs2svn to compensate for changes in r15986,
[u/mrichter/AliRoot.git] / T0 / AliT0RecPoint.h
diff --git a/T0/AliT0RecPoint.h b/T0/AliT0RecPoint.h
new file mode 100644 (file)
index 0000000..c561b35
--- /dev/null
@@ -0,0 +1,59 @@
+#ifndef ALIT0RECPOINT_H
+#define ALIT0RECPOINT_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+#include <TObject.h>
+
+
+//___________________________________________
+class AliT0RecPoint: public TObject  {
+////////////////////////////////////////////////////////////////////////
+ public:
+    AliT0RecPoint();
+    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;}
+
+
+    void SetMeanTime(Int_t time) {fTimeAverage=time;}
+    void SetTimeBestRight( Int_t time) {fTimeBestRight = time;}
+    void SetTimeBestLeft( Int_t time) {fTimeBestLeft = 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];}
+
+  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 fMultC; // multiplicity on the 
+    Int_t fMultA; // multiplicity on the 
+    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
+};
+
+typedef AliT0RecPoint AliSTARTRecPoint; // for backward compatibility
+
+#endif
+
+
+