]>
Commit | Line | Data |
---|---|---|
ef51244a | 1 | #ifndef ALISTARTDIGIT_H |
2 | #define ALISTARTDIGIT_H | |
971579f6 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
c345bb4f | 7 | #include <TObject.h> |
e73d68f2 | 8 | #include <TArrayI.h> |
528332ba | 9 | |
971579f6 | 10 | //___________________________________________ |
c345bb4f | 11 | class AliSTARTdigit: public TObject { |
971579f6 | 12 | //////////////////////////////////////////////////////////////////////// |
971579f6 | 13 | public: |
e73d68f2 | 14 | AliSTARTdigit(); |
971579f6 | 15 | virtual ~AliSTARTdigit() {} |
e73d68f2 | 16 | void SetTimeDiff(Int_t time) {fTimeDiff=time;} |
17 | void SetMeanTime(Int_t time) {fTimeAverage=time;} | |
18 | Stat_t GetTimeDiff() {return fTimeDiff;} | |
19 | Stat_t GetMeanTime() {return fTimeAverage;} | |
20 | Stat_t GetBestTimeRight() {return fTimeBestRight ;} | |
21 | Stat_t GetBestTimeLeft() {return fTimeBestLeft ;} | |
22 | Stat_t GetSumADCRight() {return fSumADCRight ;} | |
f3ed336b | 23 | void Print(); |
e73d68f2 | 24 | void SetTimeBestRight( Int_t time) {fTimeBestRight = time;} |
25 | void SetTimeBestLeft( Int_t time) {fTimeBestLeft = time;} | |
26 | void SetSumADCRight( Int_t ADC) {fSumADCRight = ADC;} | |
27 | // void SetProcessKoef( Float_t pp) {fProcessKoef = pp;} | |
28 | virtual void SetTimeRight (TArrayI &o); | |
29 | virtual void SetTimeLeft (TArrayI &o); | |
30 | virtual void GetTimeRight (TArrayI &o); | |
31 | virtual void GetTimeLeft (TArrayI &o); | |
32 | virtual void SetADCRight (TArrayI &o); | |
33 | virtual void SetADCLeft (TArrayI &o); | |
34 | virtual void GetADCRight (TArrayI &o); | |
35 | virtual void GetADCLeft (TArrayI &o); | |
36 | private: | |
37 | // Float_t fProcessKoef; // for pp fProcessKoef=1 ; for Pb-Pb - 0.001 | |
38 | Int_t fTimeAverage; // Average time | |
39 | Int_t fTimeDiff; // Time difference | |
40 | Int_t fTimeBestRight; //TOF first particle on the right | |
41 | Int_t fTimeBestLeft; //TOF first particle on the left | |
42 | Int_t fSumADCRight; // multiplicity on the right side | |
43 | TArrayI *fTimeRight; // right array's TDC | |
44 | TArrayI *fTimeLeft; // left arraya's TDC | |
45 | TArrayI *fADCRight; // right array's ADC | |
46 | TArrayI *fADCLeft; // left arraya's ADC | |
c345bb4f | 47 | |
48 | ClassDef(AliSTARTdigit,1) //Digit (Header) object for set:START | |
971579f6 | 49 | }; |
c345bb4f | 50 | |
c345bb4f | 51 | |
971579f6 | 52 | #endif |
c345bb4f | 53 | |
54 | ||
55 |