X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EMCAL%2FAliEMCALSDigitizer.h;h=4429ce5c5b17b22ff7393ccdd393bacc3319d530;hb=e191bb57c96a66bf4f60381b9a3f8c511bc6188e;hp=a4a979ce07a98abfa11d5363b36bc7974332ea9a;hpb=d64c959b2712e5f0872a5c693ef5d9f0e0af07ee;p=u%2Fmrichter%2FAliRoot.git diff --git a/EMCAL/AliEMCALSDigitizer.h b/EMCAL/AliEMCALSDigitizer.h index a4a979ce07a..4429ce5c5b1 100644 --- a/EMCAL/AliEMCALSDigitizer.h +++ b/EMCAL/AliEMCALSDigitizer.h @@ -27,9 +27,9 @@ class AliEMCALSDigitizer: public TTask { public: AliEMCALSDigitizer() ; // ctor - AliEMCALSDigitizer(const char * alirunFileName, const char * eventFolderName = AliConfig::fgkDefaultEventFolderName) ; + AliEMCALSDigitizer(const char * alirunFileName, const char * eventFolderName = AliConfig::GetDefaultEventFolderName()) ; AliEMCALSDigitizer(const AliEMCALSDigitizer & sd) ; - virtual ~AliEMCALSDigitizer() {;} // dtor + virtual ~AliEMCALSDigitizer(); // dtor Float_t Calibrate(Int_t amp)const {return (amp - fA)/fB ; } Int_t Digitize(Float_t Energy)const { return (Int_t ) ( fA + Energy*fB); } @@ -37,6 +37,7 @@ public: Int_t GetSDigitsInRun() const {return fSDigitsInRun ;} virtual void Print() const ; void SetEventFolderName(TString name) { fEventFolderName = name ; } + void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; } Bool_t operator == (const AliEMCALSDigitizer & sd) const ; const AliEMCALSDigitizer & operator = (const AliEMCALSDigitizer & /*sd*/) {return *this ;} @@ -51,13 +52,13 @@ private: private: Float_t fA ; // Pedestal parameter Float_t fB ; // Slope Digitizition parameters - Float_t fPREPrimThreshold ; // To store primary if Pre Shower Elos > threshold Float_t fECPrimThreshold ; // To store primary if EC Shower Elos > threshold - Float_t fHCPrimThreshold ; // To store primary if HC Shower Elos > threshold Bool_t fDefaultInit; //! Says if the task was created by defaut ctor (only parameters are initialized) TString fEventFolderName; // event folder name Bool_t fInit ; //! tells if initialisation wennt OK, will revent exec if not Int_t fSDigitsInRun ; //! Total number of sdigits in one run + Int_t fFirstEvent; // first event to process + Int_t fLastEvent; // last event to process ClassDef(AliEMCALSDigitizer,5) // description