Line data Source code
1 : #ifndef ALIVZEROSDIGIT_H
2 : #define ALIVZEROSDIGIT_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : #include "AliDigit.h"
7 :
8 : //_____________________________________________________________________________
9 : class AliVZEROSDigit: public AliDigit {
10 :
11 : public:
12 : AliVZEROSDigit();
13 : AliVZEROSDigit(Int_t pmnumber,
14 : Int_t nbins,
15 : Float_t *charges,
16 : Int_t *labels = 0);
17 : virtual ~AliVZEROSDigit();
18 : virtual void Print(const Option_t* option="") const;
19 :
20 512 : Int_t PMNumber() const {return fPMNumber;}
21 512 : Int_t GetNBins() const {return fNBins;}
22 512 : Float_t*GetCharges() const {return fCharges;}
23 :
24 : private:
25 : AliVZEROSDigit(const AliVZEROSDigit& /*sdigit*/);
26 : AliVZEROSDigit& operator = (const AliVZEROSDigit& /*sdigit*/);
27 :
28 : Int_t fPMNumber; // PhotoMultiplier number (0 to 63)
29 : Int_t fNBins; // Number of charge bins
30 : Float_t*fCharges; //[fNBins] Array with charges
31 :
32 46 : ClassDef(AliVZEROSDigit,1) // VZERO SDigit class
33 : };
34 :
35 : #endif
|