]> git.uio.no Git - u/mrichter/AliRoot.git/blob - START/AliSTARTDigitizer.h
SetSamplingFraction() removed from constructor.
[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
8 class AliRunDigitizer;
9 class AliSTART;
10 class AliSTARThit;
11 class AliSTARThitPhoton;
12 class AliSTARTdigit;
13
14 class AliSTARTDigitizer : public AliDigitizer {
15  public:
16   
17   AliSTARTDigitizer();
18   AliSTARTDigitizer(AliRunDigitizer * manager);
19   virtual ~AliSTARTDigitizer();
20   virtual Bool_t Init();
21   TClonesArray *Hits() const {return fHits;}
22   TClonesArray *Photons() const {return fPhotons;}
23   //  TArrayI *timeRightADC() {return ftimeRightADC;}
24   // TArrayI *timeLeftADC() {return ftimeLeftADC;}
25   // Do the main work
26   void Exec(Option_t* option=0) ;
27   Bool_t RegisterPhotoE(AliSTARThitPhoton *hit);                        //!!!
28   
29   enum {kBgTag = -1};
30
31 private:
32
33   AliSTART *START;
34   TClonesArray *fPhotons   ;                                            //!!! 
35   TClonesArray *fHits      ; // List of summable digits
36   AliSTARTdigit *fdigits   ; // digits
37   TArrayI *ftimeRightTDC    ;
38   TArrayI *ftimeLeftTDC     ;
39   TArrayI *fRightADC    ;
40   TArrayI *fLeftADC     ;
41      
42     ClassDef(AliSTARTDigitizer,0)
43 };    
44 #endif
45