No debug output by default
[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;
e73d68f2 13class AliSTARThitPhoton;
ede9aff7 14class AliSTARTdigit;
15
16class 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;}
e73d68f2 24 TClonesArray *Photons() const {return fPhotons;}
affef71b 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;}
ede9aff7 29 // Do the main work
4923b2d1 30 void Exec (Option_t* /*option=0*/) ;
affef71b 31 Bool_t RegisterPhotoE(/*AliSTARThitPhoton *hit*/);//!!!
32 Bool_t GetDebug() const {return fManager->GetDebug();}
ede9aff7 33 enum {kBgTag = -1};
34
35private:
36
affef71b 37 AliSTART *fSTART;
38 TClonesArray *fPhotons ; //Number of Cherenkov photons
39 TClonesArray *fHits ; // List of hits
ede9aff7 40 AliSTARTdigit *fdigits ; // digits
affef71b 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
ede9aff7 46 ClassDef(AliSTARTDigitizer,0)
47};
48#endif
49