]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - START/AliSTARTDigitizer.h
Print is const in Root
[u/mrichter/AliRoot.git] / START / AliSTARTDigitizer.h
index 52350809f61b43945797e7cce5d6943ba3061a42..4d597e1f9fe930c6fd6b4754ff35ff7bb3987cf6 100644 (file)
@@ -3,14 +3,13 @@
 /* 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 {
@@ -21,27 +20,24 @@ 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