]> git.uio.no Git - u/mrichter/AliRoot.git/blob - T0/AliT0RecPoint.h
correct Hash in TMap, reading channel names
[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     virtual ~AliT0RecPoint() {}
16     Int_t  GetMeanTime() {return fTimeAverage;}
17     Int_t  GetBestTimeA() {return fTimeBestA ;}
18     Int_t  GetBestTimeC() {return fTimeBestC ;}
19     Int_t GetMultC() {return fMultC;}
20     Int_t GetMultA() {return fMultA;}
21     Float_t  GetVertex() {return fVertexPosition;}
22
23
24     void SetMeanTime(Int_t time) {fTimeAverage=time;}
25     void SetTimeBestA( Int_t time) {fTimeBestA = time;}
26     void SetTimeBestC( Int_t time) {fTimeBestC = time;}
27     void SetVertex( Float_t vertex) {fVertexPosition= vertex;}
28     void SetMultC(Int_t mult) {fMultC = mult;}
29     void SetMultA(Int_t mult) {fMultA = mult;}
30
31     void SetTime (Int_t ipmt, Float_t time) { fTime[ipmt] = time;}
32     Float_t GetTime (Int_t ipmt) { return fTime[ipmt];}
33    void SetAmp (Int_t ipmt, Float_t adc) { fADC[ipmt] = adc;}
34     Float_t GetAmp (Int_t ipmt) { return fADC[ipmt];}
35    void SetAmpLED (Int_t ipmt, Float_t adc) { fADCLED[ipmt] = adc;}
36     Float_t AmpLED (Int_t ipmt) { return fADCLED[ipmt];}
37
38   private: 
39     Int_t fTimeAverage;     // Average time
40     Float_t fVertexPosition;     // Diffrence time between C and A
41     Int_t fTimeBestA;   //TOF first particle on the A
42     Int_t fTimeBestC;    //TOF first particle on the C
43     Int_t fMultC; // multiplicity on the 
44     Int_t fMultA; // multiplicity on the 
45  
46     Float_t fTime[24];    // array's TDC
47     Float_t fADC[24];    // array's amplitude
48     Float_t fADCLED[24];    // array's LED amplitude
49
50
51     ClassDef(AliT0RecPoint,3)  //Digit (Header) object for set:T0
52 };
53
54 typedef AliT0RecPoint AliSTARTRecPoint; // for backward compatibility
55
56 #endif
57
58
59