]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIVZERODIGIT_H | |
2 | #define ALIVZERODIGIT_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 | ||
8 | #include "AliDigit.h" | |
9 | ||
10 | //_____________________________________________________________________________ | |
11 | class AliVZEROdigit: public AliDigit { | |
12 | ||
13 | public: | |
14 | AliVZEROdigit(); | |
15 | AliVZEROdigit(Int_t* tracks, Int_t* digits); | |
16 | AliVZEROdigit(Int_t /* PMnumber */, Int_t /* ADC */, Int_t /* Time */); | |
17 | AliVZEROdigit(Int_t /* PMnumber */, Int_t /* ADC */, Int_t /* Time */, | |
18 | Int_t /* TimeWidth*/, Bool_t /* BBFlag */, Bool_t /* BGFlag */); | |
19 | virtual ~AliVZEROdigit() {}; | |
20 | virtual void Print(const Option_t* option="") const; | |
21 | ||
22 | Int_t PMNumber() const {return fPMNumber;} | |
23 | Int_t ADC() const {return fADC;} | |
24 | Int_t Time() const {return fTime;} | |
25 | Int_t Width() const {return fWidth;} | |
26 | Bool_t BBFlag() const {return fBBFlag;} | |
27 | Bool_t BGFlag() const {return fBGFlag;} | |
28 | ||
29 | private: | |
30 | Int_t fTrack; // Track number | |
31 | ||
32 | protected: | |
33 | Int_t fEvent; // Event number | |
34 | Int_t fPMNumber; // PhotoMultiplier number (0 to 63) | |
35 | Int_t fADC; // ADC response | |
36 | Int_t fTime; // Time of Flight | |
37 | Int_t fWidth; // Width of the time distribution | |
38 | Bool_t fBBFlag; // Beam-Beam Flag given by Yannick in Raw Data only | |
39 | Bool_t fBGFlag; // Beam-Gas Flag given by Yannick in Raw Data only | |
40 | ||
41 | ClassDef(AliVZEROdigit,2) //Digit (Header) object for set : VZERO | |
42 | }; | |
43 | ||
44 | #endif |