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); }
virtual void Exec(Option_t *option);
Int_t GetSDigitsInRun() const {return fSDigitsInRun ;}
- virtual void Print(Option_t*) const ;
+ 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 ;
- AliEMCALSDigitizer & operator = (const AliEMCALSDigitizer & /*sd*/) {return *this ;}
+ const AliEMCALSDigitizer & operator = (const AliEMCALSDigitizer & /*sd*/) {return *this ;}
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