]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSDigitizerV2.h
test commit
[u/mrichter/AliRoot.git] / MUON / AliMUONSDigitizerV2.h
index 921353bc717e612324750fe21443f3746b52887d..f0123e28bfe5e2ea43c50f008fa7cc7e5a36779d 100644 (file)
@@ -5,9 +5,10 @@
 
 /// \ingroup sim
 /// \class AliMUONSDigitizerV2
-/// \brief New sdigitizer, not deriving from MUONDigitizer, and using
-/// new Response:DisIntegrate method
+/// \brief MUON SDigitizer (from Hits to SDigits).
 ///
+/// New sdigitizer, not deriving from MUONDigitizer, and using
+/// new Response:DisIntegrate method
 /// Note also that this one does *not* merge sdigits at all 
 /// (this is deferred to the digitizer, which anyway has to do it), 
 /// thus speeding a little bit this step.
 #ifndef ALIMUONSDIGITIZERV2_H
 #define ALIMUONSDIGITIZERV2_H
 
-#ifndef ROOT_TTask
-#  include "TTask.h"
-#endif
+#include "TNamed.h"
 
-class AliMUONSDigitizerV2 : public TTask
+class AliMUONSDigitizerV2 : public TNamed
 {
 public:
   AliMUONSDigitizerV2();
   virtual ~AliMUONSDigitizerV2();
   
-  virtual void Exec(Option_t* opt="");
+  virtual void Digitize(Option_t* opt="");
+  
+private:
+  static Float_t  fgkMaxIntTime; ///< maximum time of interaction
+  static Float_t  fgkMaxPosTimeDif; ///< maximum event time after the triggered event for a hit to be digitized 
+  static Float_t  fgkMaxNegTimeDif; ///< maximum event time before the triggered event for a hit to be digitized 
+  static Float_t  fgkMinTimeDif; ///< minimum time difference for the reduction factor to be applied  
     
-  ClassDef(AliMUONSDigitizerV2,1) // 
+  ClassDef(AliMUONSDigitizerV2,2) // MUON SDigitizer V2-1
 };
 
 #endif