]>
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 | |
adf36b9d | 19 | Double32_t GetMeanTime() const {return fTimeAverage;} |
20 | Int_t GetOnlineMean() const {return fTimeOnlineMean;} | |
21 | Double32_t GetBestTimeA() const {return fTimeBestA ;} | |
22 | Double32_t GetBestTimeC() const {return fTimeBestC ;} | |
23 | Float_t GetMultC() const {return fMultC;} | |
24 | Float_t GetMultA() const {return fMultA;} | |
25 | Double32_t GetVertex() const {return fVertexPosition;} | |
dc7ca31d | 26 | |
27 | ||
adf36b9d | 28 | void SetMeanTime(Double32_t time) {fTimeAverage=time;} |
446d6ec4 | 29 | void SetOnlineMean(Int_t time) {fTimeOnlineMean=time;} |
adf36b9d | 30 | void SetTimeBestA( Double32_t time) {fTimeBestA = time;} |
31 | void SetTimeBestC( Double32_t time) {fTimeBestC = time;} | |
32 | void SetVertex( Double32_t vertex) {fVertexPosition= vertex;} | |
33 | void SetMultC(Float_t mult) {fMultC = mult;} | |
34 | void SetMultA(Float_t mult) {fMultA = mult;} | |
35 | ||
36 | void SetTime (Int_t ipmt, Double32_t time) { fTime[ipmt] = time;} | |
37 | Double32_t GetTime (Int_t ipmt)const { return fTime[ipmt];} | |
38 | void SetAmp (Int_t ipmt, Double32_t adc) { fADC[ipmt] = adc;} | |
39 | Double32_t GetAmp (Int_t ipmt) const{ return fADC[ipmt];} | |
40 | void SetAmpLED (Int_t ipmt, Double32_t adc) { fADCLED[ipmt] = adc;} | |
41 | Double32_t AmpLED (Int_t ipmt) const{ return fADCLED[ipmt];} | |
776de217 | 42 | |
adf36b9d | 43 | void SetT0clock (Double32_t time) { fT0clock = time;} |
44 | Double32_t GetT0clock () const{ return fT0clock;} | |
dc7ca31d | 45 | |
adf36b9d | 46 | Bool_t GetT0Trig(Int_t i) {return fT0trig&(1<<i);} |
47 | Int_t GetT0Trig() {return fT0trig;} | |
48 | void SetT0Trig(Bool_t *tr ); | |
49 | void PrintTriggerSignals(Int_t trig); | |
dc7ca31d | 50 | private: |
adf36b9d | 51 | Double32_t fTimeAverage; // Average time |
52 | Int_t fTimeOnlineMean; // online mean signal | |
53 | Double32_t fVertexPosition; // Diffrence time between C and A | |
54 | Double32_t fTimeBestA; //TOF first particle on the A | |
55 | Double32_t fTimeBestC; //TOF first particle on the C | |
56 | Float_t fMultC; // multiplicity on the | |
57 | Float_t fMultA; // multiplicity on the | |
58 | Double32_t fT0clock; // T0 with reference point in ns | |
59 | Int_t fT0trig; // T0 trigger signals | |
dc7ca31d | 60 | |
adf36b9d | 61 | Double32_t fTime[24]; // array's TDC |
62 | Double32_t fADC[24]; // array's amplitude | |
63 | Double32_t fADCLED[24]; // array's LED amplitude | |
dc7ca31d | 64 | |
65 | ||
adf36b9d | 66 | ClassDef(AliT0RecPoint,6) //Digit (Header) object for set:T0 |
dc7ca31d | 67 | }; |
68 | ||
69 | typedef AliT0RecPoint AliSTARTRecPoint; // for backward compatibility | |
70 | ||
71 | #endif | |
72 | ||
73 | ||
74 |