]>
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 */, Float_t /* ADC */, Float_t /* Time */); | |
17 | AliVZEROdigit(Int_t /* PMnumber */, Float_t /* ADC */, Float_t /* Time */, | |
18 | Float_t /* TimeWidth*/, Bool_t /* BBFlag */, Bool_t /* BGFlag */); | |
19 | AliVZEROdigit(Int_t /* PMnumber */, Float_t /* ADC */, Float_t /* Time */, | |
20 | Float_t /* TimeWidth*/, Bool_t /* BBFlag */, Bool_t /* BGFlag */, Bool_t /* Integrator */); | |
21 | virtual ~AliVZEROdigit() {}; | |
22 | virtual void Print(const Option_t* option="") const; | |
23 | ||
24 | Int_t PMNumber() const {return fPMNumber;} | |
25 | Float_t ADC() const {return fADC;} | |
26 | Float_t Time() const {return fTime;} | |
27 | Float_t Width() const {return fWidth;} | |
28 | Bool_t BBFlag() const {return fBBFlag;} | |
29 | Bool_t BGFlag() const {return fBGFlag;} | |
30 | Bool_t Integrator() const {return fIntegrator;} | |
31 | ||
32 | private: | |
33 | Int_t fTrack; // Track number | |
34 | ||
35 | protected: | |
36 | Int_t fEvent; // Event number | |
37 | Int_t fPMNumber; // PhotoMultiplier number (0 to 63) | |
38 | Float_t fADC; // ADC response | |
39 | Float_t fTime; // Time of Flight | |
40 | Float_t fWidth; // Width of the time distribution | |
41 | Bool_t fBBFlag; // Beam-Beam Flag given by Yannick in Raw Data only | |
42 | Bool_t fBGFlag; // Beam-Gas Flag given by Yannick in Raw Data only | |
43 | Bool_t fIntegrator; // Integrator used | |
44 | ||
45 | ClassDef(AliVZEROdigit,3) //Digit (Header) object for set : VZERO | |
46 | }; | |
47 | ||
48 | #endif |