]> git.uio.no Git - u/mrichter/AliRoot.git/blob - T0/AliT0RecPoint.h
upgraded the version number
[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   private: 
44     Int_t fTimeAverage;     // Average time
45     Int_t fTimeOnlineMean; // online mean signal
46     Float_t fVertexPosition;     // Diffrence time between C and A
47     Int_t fTimeBestA;   //TOF first particle on the A
48     Int_t fTimeBestC;    //TOF first particle on the C
49     Int_t fMultC; // multiplicity on the 
50     Int_t fMultA; // multiplicity on the 
51  
52     Float_t fTime[24];    // array's TDC
53     Float_t fADC[24];    // array's amplitude
54     Float_t fADCLED[24];    // array's LED amplitude
55
56
57     ClassDef(AliT0RecPoint,4)  //Digit (Header) object for set:T0
58 };
59
60 typedef AliT0RecPoint AliSTARTRecPoint; // for backward compatibility
61
62 #endif
63
64
65