]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONSDigitizerV2.h
Fix bug in protection against division by 0.
[u/mrichter/AliRoot.git] / MUON / AliMUONSDigitizerV2.h
CommitLineData
60d3a1d3 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2* See cxx source for full Copyright notice */
3
4// $Id$
5
6/// \ingroup sim
7/// \class AliMUONSDigitizerV2
2c6e3e30 8/// \brief MUON SDigitizer (from Hits to SDigits).
60d3a1d3 9///
2c6e3e30 10/// New sdigitizer, not deriving from MUONDigitizer, and using
11/// new Response:DisIntegrate method
60d3a1d3 12/// Note also that this one does *not* merge sdigits at all
13/// (this is deferred to the digitizer, which anyway has to do it),
14/// thus speeding a little bit this step.
15///
16/// \author Laurent Aphecetche
17
18#ifndef ALIMUONSDIGITIZERV2_H
19#define ALIMUONSDIGITIZERV2_H
20
f21fc003 21#include "TNamed.h"
60d3a1d3 22
f21fc003 23class AliMUONSDigitizerV2 : public TNamed
60d3a1d3 24{
25public:
26 AliMUONSDigitizerV2();
27 virtual ~AliMUONSDigitizerV2();
28
f21fc003 29 virtual void Digitize(Option_t* opt="");
2a5f75ae 30
31private:
32 static Float_t fgkMaxIntTime; ///< maximum time of interaction
33 static Float_t fgkMaxPosTimeDif; ///< maximum event time after the triggered event for a hit to be digitized
34 static Float_t fgkMaxNegTimeDif; ///< maximum event time before the triggered event for a hit to be digitized
35 static Float_t fgkMinTimeDif; ///< minimum time difference for the reduction factor to be applied
60d3a1d3 36
f21fc003 37 ClassDef(AliMUONSDigitizerV2,2) // MUON SDigitizer V2-1
60d3a1d3 38};
39
40#endif