1 #ifndef FastTimingSimProducers_FastTimingCommon_MTDDigitizerBase_h 2 #define FastTimingSimProducers_FastTimingCommon_MTDDigitizerBase_h 16 #include "CLHEP/Units/GlobalPhysicalConstants.h" 21 class HepRandomEngine;
46 if (
name_ ==
"BTLDigitizer") {
52 }
else if (
name_ ==
"ETLDigitizer")
59 throw cms::Exception(
"[MTDDigitizerBase::MTDDigitizerBase]") <<
name_ <<
" is an invalid MTD digitizer name";
71 CLHEP::HepRandomEngine* hre) = 0;
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
const std::string & name() const
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
virtual ~MTDDigitizerBase()
virtual void finalizeEvent(edm::Event &e, edm::EventSetup const &c, CLHEP::HepRandomEngine *hre)=0
const edm::InputTag inputSimHits_
const std::string digiCollection_
const uint32_t verbosity_
double premixStage1MinCharge_
virtual void accumulate(edm::Event const &e, edm::EventSetup const &c, CLHEP::HepRandomEngine *hre)=0
handle SimHit accumulation
virtual void initializeEvent(edm::Event const &e, edm::EventSetup const &c)=0
actions at the start/end of event
MTDDigitizerBase(const edm::ParameterSet &config, edm::ProducesCollector producesCollector, edm::ConsumesCollector &iC)
double premixStage1MaxCharge_