]>
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(); | |
4fe1424e | 15 | AliT0RecPoint(const AliT0RecPoint &o); |
16 | AliT0RecPoint& operator= (const AliT0RecPoint &) { return *this;} | |
dc7ca31d | 17 | virtual ~AliT0RecPoint() {} |
4fe1424e | 18 | |
548f30b4 | 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;} | |
dc7ca31d | 26 | |
27 | ||
28 | void SetMeanTime(Int_t time) {fTimeAverage=time;} | |
446d6ec4 | 29 | void SetOnlineMean(Int_t time) {fTimeOnlineMean=time;} |
c41ceaac | 30 | void SetTimeBestA( Int_t time) {fTimeBestA = time;} |
31 | void SetTimeBestC( Int_t time) {fTimeBestC = time;} | |
dc7ca31d | 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;} | |
548f30b4 | 37 | Float_t GetTime (Int_t ipmt)const { return fTime[ipmt];} |
4fe1424e | 38 | void SetAmp (Int_t ipmt, Float_t adc) { fADC[ipmt] = adc;} |
548f30b4 | 39 | Float_t GetAmp (Int_t ipmt) const{ return fADC[ipmt];} |
4fe1424e | 40 | void SetAmpLED (Int_t ipmt, Float_t adc) { fADCLED[ipmt] = adc;} |
548f30b4 | 41 | Float_t AmpLED (Int_t ipmt) const{ return fADCLED[ipmt];} |
776de217 | 42 | |
43 | void SetT0clock (Int_t time) { fT0clock = time;} | |
44 | Float_t GetT0clock () const{ return fT0clock;} | |
45 | ||
dc7ca31d | 46 | |
47 | private: | |
48 | Int_t fTimeAverage; // Average time | |
446d6ec4 | 49 | Int_t fTimeOnlineMean; // online mean signal |
c41ceaac | 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 | |
dc7ca31d | 53 | Int_t fMultC; // multiplicity on the |
54 | Int_t fMultA; // multiplicity on the | |
776de217 | 55 | Int_t fT0clock; // T0 with reference point |
dc7ca31d | 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 | ||
776de217 | 62 | ClassDef(AliT0RecPoint,5) //Digit (Header) object for set:T0 |
dc7ca31d | 63 | }; |
64 | ||
65 | typedef AliT0RecPoint AliSTARTRecPoint; // for backward compatibility | |
66 | ||
67 | #endif | |
68 | ||
69 | ||
70 |