]>
Commit | Line | Data |
---|---|---|
dc7ca31d | 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;} | |
c41ceaac | 17 | Int_t GetBestTimeA() {return fTimeBestA ;} |
18 | Int_t GetBestTimeC() {return fTimeBestC ;} | |
dc7ca31d | 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;} | |
c41ceaac | 25 | void SetTimeBestA( Int_t time) {fTimeBestA = time;} |
26 | void SetTimeBestC( Int_t time) {fTimeBestC = time;} | |
dc7ca31d | 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 | |
c41ceaac | 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 | |
dc7ca31d | 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 |