/* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
-#include "AliDigitizer.h"
-#include "AliLoader.h"
-#include "AliRunLoader.h"
+#include <AliDigitizer.h>
+#include <AliLoader.h>
+#include <AliRunLoader.h>
-class AliRunDigitizer;
+#include <AliRunDigitizer.h>
class AliSTART;
class AliSTARThit;
-class AliSTARThitPhoton;
class AliSTARTdigit;
class AliSTARTDigitizer : public AliDigitizer {
virtual ~AliSTARTDigitizer();
virtual Bool_t Init();
TClonesArray *Hits() const {return fHits;}
- TClonesArray *Photons() const {return fPhotons;}
- // TArrayI *timeRightADC() {return ftimeRightADC;}
- // TArrayI *timeLeftADC() {return ftimeLeftADC;}
+ TArrayI *timeTDC() {return ftimeTDC;}
+ TArrayI * ADC() {return fADC;} //for slow simulation
// Do the main work
void Exec (Option_t* /*option=0*/) ;
- Bool_t RegisterPhotoE(/*AliSTARThitPhoton *hit*/); //!!!
-
+ Bool_t RegisterPhotoE(Double_t e);
enum {kBgTag = -1};
private:
- AliSTART *START;
- TClonesArray *fPhotons ; //!!!
- TClonesArray *fHits ; // List of summable digits
- AliSTARTdigit *fdigits ; // digits
- TArrayI *ftimeRightTDC ;
- TArrayI *ftimeLeftTDC ;
- TArrayI *fRightADC ;
- TArrayI *fLeftADC ;
-
- ClassDef(AliSTARTDigitizer,0)
+ AliSTART *fSTART; //!
+ TClonesArray *fPhotons ; //! Number of Cherenkov photons
+ TClonesArray *fHits ; //! List of hits
+ AliSTARTdigit *fdigits ; //! digits
+ TArrayI *ftimeTDC ; //! array of TDC signal from right side
+ TArrayI *fADC ;//! array of ADC signal from left sida
+ TH1* fEff; //! efficiency histogram
+
+ ClassDef(AliSTARTDigitizer,1)
};
#endif