]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALDigitizer.h
- Reset TProcessID count after each event
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALDigitizer.h
index 61e2874a0f0ef97a7af0081431d7600dfda76cd6..13ab83700bbf78f7c8cef87c54cda9572e30e65a 100644 (file)
@@ -27,6 +27,7 @@ class TBrowser;
 // --- AliRoot header files ---
 #include "AliDigitizer.h"
 #include "AliConfig.h"
+#include "AliEMCALCalibData.h"
 class AliEMCALSDigitizer ;
 class AliRunDigitizer ;
 
@@ -57,7 +58,7 @@ public:
   Int_t   GetDigitsInRun()  const { return fDigitsInRun; } 
   void  MixWith(TString alirunFileName, 
                TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ; // Add another one file to mix
-  void  Print() const ;
+  void  Print(Option_t* option="") const ;
   void  Print1(Option_t * option); // *MENU*
  
   AliEMCALDigitizer & operator = (const AliEMCALDigitizer & /*rvalue*/)  {
@@ -68,10 +69,10 @@ public:
 
   virtual void Browse(TBrowser* b);
   // hists
-  void   SetControlHists(const Int_t var=0) {fControlHists=var;}
+  void   SetControlHists(Int_t var=0) {fControlHists=var;}
   Int_t  GetControlHist() const {return fControlHists;}
   TList *GetListOfHists() {return fHists;}
-  TList* BookControlHists(const int var=0);
+  TList* BookControlHists(int var=0);
   void   SaveHists(const char* name="RF/TRD1/Digitizations/DigiVar?",
   Bool_t kSingleKey=kTRUE, const char* opt="RECREATE"); // *MENU*
 
@@ -86,7 +87,7 @@ private:
 
   //Calculate the time of crossing of the threshold by front edge
   Float_t FrontEdgeTime(TClonesArray * ticks) ;
-  Int_t   DigitizeEnergy(Float_t energy) ;
+  Int_t   DigitizeEnergy(Float_t energy, Int_t AbsId) ;
 
 private:
   
@@ -107,7 +108,7 @@ private:
   Float_t fTimeThreshold ;        // Threshold to start timing for given crystall
   Float_t fTimeSignalLength ;     // Length of the timing signal 
   Float_t fADCchannelEC ;         // width of one ADC channel in EC section (GeV)
-  Float_t fADCpedestalEC ;        //
+  Float_t fADCpedestalEC ;        // pedestal for one ADC channel
   Int_t   fNADCEC ;               // number of channels in EC section ADC
 
   TString fEventFolderName;         // skowron: name of EFN to read data from in stand alone mode
@@ -116,8 +117,9 @@ private:
   // Control hists
   Int_t   fControlHists;          //!
   TList  *fHists;                 //!
+  AliEMCALCalibData * fCalibData; //Calibration data pointer
 
-  ClassDef(AliEMCALDigitizer,5)  // description 
+  ClassDef(AliEMCALDigitizer,6)  // description 
 };