]> git.uio.no Git - u/mrichter/AliRoot.git/blob - START/AliSTARTDigitizer.h
Implementation of reconstructors (T.Kuhr)
[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 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 *timeRightTDC() {return ftimeRightTDC;} //for slow simulation
26   TArrayI *timeLeftTDC() {return ftimeLeftTDC;}
27   TArrayI *RightADC() {return fRightADC;} //for slow simulation
28   TArrayI *LeftADC() {return fLeftADC;}
29   // Do the main work
30   void Exec (Option_t* /*option=0*/) ;
31   Bool_t RegisterPhotoE(/*AliSTARThitPhoton *hit*/);//!!!
32   Bool_t GetDebug() const {return fManager->GetDebug();}
33   enum {kBgTag = -1};
34
35 private:
36
37   AliSTART *fSTART;
38   TClonesArray *fPhotons   ; //Number of Cherenkov photons                    
39   TClonesArray *fHits      ; // List of hits
40   AliSTARTdigit *fdigits   ; // digits
41   TArrayI *ftimeRightTDC    ; //array of TDC signal from right sida
42   TArrayI *ftimeLeftTDC     ; ////array of TDC signal from left side
43   TArrayI *fRightADC    ;   //array of ADC signal from right sida 
44   TArrayI *fLeftADC     ;//array of ADC signal from left sida
45   
46     ClassDef(AliSTARTDigitizer,0)
47 };    
48 #endif
49