]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALISTARTDIGIT_H | |
2 | #define ALISTARTDIGIT_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 | class TArrayI; | |
9 | ||
10 | //___________________________________________ | |
11 | class AliSTARTdigit: public TObject { | |
12 | //////////////////////////////////////////////////////////////////////// | |
13 | public: | |
14 | AliSTARTdigit(); | |
15 | virtual ~AliSTARTdigit() {} | |
16 | void SetTimeDiff(Int_t time) {fTimeDiff=time;} | |
17 | void SetMeanTime(Int_t time) {fTimeAverage=time;} | |
18 | Int_t GetTimeDiff() {return fTimeDiff;} | |
19 | Int_t GetMeanTime() {return fTimeAverage;} | |
20 | Int_t GetBestTimeRight() {return fTimeBestRight ;} | |
21 | Int_t GetBestTimeLeft() {return fTimeBestLeft ;} | |
22 | Int_t GetSumADCRight() {return fSumADCRight ;} | |
23 | void Print(); | |
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 | virtual const char* GetName() const {return "START_D";} | |
37 | private: | |
38 | // Float_t fProcessKoef; // for pp fProcessKoef=1 ; for Pb-Pb - 0.001 | |
39 | Int_t fTimeAverage; // Average time | |
40 | Int_t fTimeDiff; // Time difference | |
41 | Int_t fTimeBestRight; //TOF first particle on the right | |
42 | Int_t fTimeBestLeft; //TOF first particle on the left | |
43 | Int_t fSumADCRight; // multiplicity on the right side | |
44 | TArrayI *fTimeRight; // right array's TDC | |
45 | TArrayI *fTimeLeft; // left arraya's TDC | |
46 | TArrayI *fADCRight; // right array's ADC | |
47 | TArrayI *fADCLeft; // left arraya's ADC | |
48 | ||
49 | ClassDef(AliSTARTdigit,1) //Digit (Header) object for set:START | |
50 | }; | |
51 | ||
52 | ||
53 | #endif | |
54 | ||
55 | ||
56 |