geometry 12 + 24 && recent media properties
[u/mrichter/AliRoot.git] / START / AliSTARTDigitizer.h
CommitLineData
ede9aff7 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
affef71b 6#include <AliDigitizer.h>
7#include <AliLoader.h>
8#include <AliRunLoader.h>
ede9aff7 9
affef71b 10#include <AliRunDigitizer.h>
ede9aff7 11class AliSTART;
12class AliSTARThit;
13class AliSTARTdigit;
14
15class 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;}
e4da63c2 23 TArrayI *timeTDC() {return ftimeTDC;}
24 TArrayI * ADC() {return fADC;} //for slow simulation
ede9aff7 25 // Do the main work
4923b2d1 26 void Exec (Option_t* /*option=0*/) ;
e4da63c2 27 Bool_t RegisterPhotoE(Float_t e);
ede9aff7 28 enum {kBgTag = -1};
29
30private:
31
7a18b6a5 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
affef71b 39
174d209f 40 ClassDef(AliSTARTDigitizer,1)
ede9aff7 41};
42#endif
43