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 */
10 //_____________________________________________________________________________
11 class AliVZEROdigit: public AliDigit {
15 AliVZEROdigit(Int_t PMnumber, Float_t time,
18 Short_t *chargeADC = 0,
20 virtual ~AliVZEROdigit() {};
21 virtual void Print(const Option_t* option="") const;
25 Int_t PMNumber() const {return fPMNumber;}
26 Short_t ADC() const {return fChargeADC[kNClocks/2];}
27 Float_t Time() const {return fTime;}
28 Float_t Width() const {return fWidth;}
29 Bool_t Integrator() const {return fIntegrator;}
30 Short_t ChargeADC(Int_t clock) const {return (clock >= 0 && clock < kNClocks) ? fChargeADC[clock] : 0;}
33 Int_t fPMNumber; // PhotoMultiplier number (0 to 63)
34 Float_t fTime; // Time of Flight
35 Float_t fWidth; // Width of the time distribution
36 Bool_t fIntegrator; // Integrator used
37 Short_t fChargeADC[kNClocks]; // ADC samples as present in raw data
39 ClassDef(AliVZEROdigit,6) // VZERO Digit class