]> git.uio.no Git - u/mrichter/AliRoot.git/blob - T0/AliT0RecPoint.h
Fixes for cmake
[u/mrichter/AliRoot.git] / T0 / AliT0RecPoint.h
1 #ifndef ALIT0RECPOINT_H
2 #define ALIT0RECPOINT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7 #include <TObject.h>
8
9
10 //___________________________________________
11 class AliT0RecPoint: public TObject  {
12 ////////////////////////////////////////////////////////////////////////
13  public:
14     AliT0RecPoint();
15     AliT0RecPoint(const AliT0RecPoint &o);
16     AliT0RecPoint& operator= (const AliT0RecPoint &)  { return *this;}
17     virtual ~AliT0RecPoint() {}
18
19      Int_t  GetMeanTime()   const {return fTimeAverage;}
20      Int_t  GetOnlineMean() const {return fTimeOnlineMean;}
21      Int_t  GetBestTimeA()  const {return fTimeBestA ;}
22      Int_t  GetBestTimeC()  const {return fTimeBestC ;}
23      Int_t GetMultC()       const {return fMultC;}
24      Int_t GetMultA()       const {return fMultA;}
25      Float_t  GetVertex()   const {return fVertexPosition;}
26
27
28     void SetMeanTime(Int_t time) {fTimeAverage=time;}
29     void SetOnlineMean(Int_t time) {fTimeOnlineMean=time;}
30     void SetTimeBestA( Int_t time) {fTimeBestA = time;}
31     void SetTimeBestC( Int_t time) {fTimeBestC = time;}
32     void SetVertex( Float_t vertex) {fVertexPosition= vertex;}
33     void SetMultC(Int_t mult) {fMultC = mult;}
34     void SetMultA(Int_t mult) {fMultA = mult;}
35
36     void SetTime (Int_t ipmt, Float_t time) { fTime[ipmt] = time;}
37     Float_t GetTime (Int_t ipmt)const { return fTime[ipmt];}
38     void SetAmp (Int_t ipmt, Float_t adc) { fADC[ipmt] = adc;}
39     Float_t GetAmp (Int_t ipmt) const{ return fADC[ipmt];}
40     void SetAmpLED (Int_t ipmt, Float_t adc) { fADCLED[ipmt] = adc;}
41     Float_t AmpLED (Int_t ipmt) const{ return fADCLED[ipmt];}
42     
43     void SetT0clock (Int_t time) { fT0clock = time;}
44     Float_t GetT0clock () const{ return fT0clock;}
45
46
47   private: 
48     Int_t fTimeAverage;     // Average time
49     Int_t fTimeOnlineMean; // online mean signal
50     Float_t fVertexPosition;     // Diffrence time between C and A
51     Int_t fTimeBestA;   //TOF first particle on the A
52     Int_t fTimeBestC;    //TOF first particle on the C
53     Int_t fMultC; // multiplicity on the 
54     Int_t fMultA; // multiplicity on the 
55     Int_t fT0clock; // T0 with reference point
56  
57     Float_t fTime[24];    // array's TDC
58     Float_t fADC[24];    // array's amplitude
59     Float_t fADCLED[24];    // array's LED amplitude
60
61
62     ClassDef(AliT0RecPoint,5)  //Digit (Header) object for set:T0
63 };
64
65 typedef AliT0RecPoint AliSTARTRecPoint; // for backward compatibility
66
67 #endif
68
69
70