]>
Commit | Line | Data |
---|---|---|
f359b593 | 1 | #ifndef ALIVZERODIGIT_H |
2 | #define ALIVZERODIGIT_H | |
47890cd3 | 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" | |
47890cd3 | 9 | |
b2501ea3 | 10 | //_____________________________________________________________________________ |
47890cd3 | 11 | class AliVZEROdigit: public AliDigit { |
12 | ||
47890cd3 | 13 | public: |
6905601e | 14 | AliVZEROdigit(); |
47890cd3 | 15 | AliVZEROdigit(Int_t* tracks, Int_t* digits); |
d0502ab2 | 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 */); | |
b2501ea3 | 19 | virtual ~AliVZEROdigit() {}; |
8db56859 | 20 | virtual void Print(const Option_t* option="") const; |
21 | ||
d0502ab2 | 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 | ||
f359b593 | 29 | private: |
6905601e | 30 | Int_t fTrack; // Track number |
31 | ||
32 | protected: | |
33 | Int_t fEvent; // Event number | |
d0502ab2 | 34 | Int_t fPMNumber; // PhotoMultiplier number (0 to 63) |
6905601e | 35 | Int_t fADC; // ADC response |
7caec66b | 36 | Int_t fTime; // Time of Flight |
d0502ab2 | 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 | |
6905601e | 40 | |
d0502ab2 | 41 | ClassDef(AliVZEROdigit,2) //Digit (Header) object for set : VZERO |
47890cd3 | 42 | }; |
f359b593 | 43 | |
47890cd3 | 44 | #endif |