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