Line data Source code
1 : #ifndef ALIADSDIGIT_H
2 : #define ALIADSDIGIT_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 AliADSDigit: public AliDigit {
10 :
11 : public:
12 : AliADSDigit();
13 : AliADSDigit(Int_t pmnumber,
14 : Int_t nbins,
15 : Float_t *charges,
16 : Int_t *labels = 0);
17 : virtual ~AliADSDigit();
18 :
19 : virtual void Print(const Option_t* option="") const;
20 :
21 0 : Int_t PMNumber() const {return fPMNumber;}
22 0 : Int_t GetNBins() const {return fNBins;}
23 0 : Float_t* GetCharges() const {return fCharges;}
24 :
25 : private:
26 : AliADSDigit(const AliADSDigit& /*sdigit*/);
27 : AliADSDigit& operator = (const AliADSDigit& /*sdigit*/);
28 :
29 : Int_t fPMNumber; // PhotoMultiplier number (0 to 16)
30 : Int_t fNBins; // Number of charge bins
31 : Float_t* fCharges; //[fNBins] Array with charges
32 :
33 16 : ClassDef(AliADSDigit,1) // AD SDigit class
34 : };
35 :
36 : #endif
|