]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALDigitizer.h
Added the option to process 1 event(default) or a range of events
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALDigitizer.h
index 6ddf1d85bf733470afab688f05ba52ea014b2876..f9ce91c062c83ff8414c3d5b9390188226c7fed9 100644 (file)
@@ -46,7 +46,7 @@ public:
   Float_t GetTimeResolution() const { return fTimeResolution ; }
   Float_t GetECAchannel()     const { return fADCchannelEC ; }
   Float_t GetECApedestal()    const { return fADCpedestalEC ; }
-
+ void   SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
   void    SetDigitThreshold(Float_t EMCThreshold)  {fDigitThreshold = EMCThreshold;}
   void    SetPinNoise(Float_t PinNoise )         {fPinNoise = PinNoise;}
 
@@ -98,6 +98,8 @@ private:
   Int_t   fNADCEC ;               // number of channels in EC section ADC
 
   TString fEventFolderName;         // skowron: name of EFN to read data from in stand alone mode
+  Int_t   fFirstEvent;        // first event to process
+  Int_t   fLastEvent;         // last  event to process
 
   ClassDef(AliEMCALDigitizer,4)  // description