]> git.uio.no Git - u/mrichter/AliRoot.git/blob - START/AliSTARTDigitizer.h
Corrected declaration of RegisterPhotoE
[u/mrichter/AliRoot.git] / START / AliSTARTDigitizer.h
1 #ifndef ALISTARTDIGITIZER_H
2 #define ALISTARTDIGITIZER_H
3 /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 #include <AliDigitizer.h>
7 #include <AliLoader.h>
8 #include <AliRunLoader.h>
9
10 #include <AliRunDigitizer.h>
11 class AliSTART;
12 class AliSTARThit;
13 class AliSTARTdigit;
14
15 class AliSTARTDigitizer : public AliDigitizer {
16  public:
17   
18   AliSTARTDigitizer();
19   AliSTARTDigitizer(AliRunDigitizer * manager);
20   virtual ~AliSTARTDigitizer();
21   virtual Bool_t Init();
22   TClonesArray *Hits() const {return fHits;}
23   TArrayI *timeTDC() {return ftimeTDC;}
24   TArrayI * ADC() {return fADC;} //for slow simulation
25   // Do the main work
26   void Exec (Option_t* /*option=0*/) ;
27   Bool_t RegisterPhotoE(Double_t e);
28   enum {kBgTag = -1};
29
30 private:
31
32   AliSTART *fSTART;          //!
33   TClonesArray *fPhotons   ; //! Number of Cherenkov photons                  
34   TClonesArray *fHits      ; //! List of hits
35   AliSTARTdigit *fdigits   ; //! digits
36   TArrayI *ftimeTDC    ; //! array of TDC signal from right side
37   TArrayI *fADC     ;//! array of ADC signal from left sida
38   TH1*     fEff;    //! efficiency histogram
39   
40     ClassDef(AliSTARTDigitizer,1)
41 };    
42 #endif
43