Go to the documentation of this file. 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;
MTDDigitizerBase(const edm::ParameterSet &config, edm::ProducesCollector producesCollector, edm::ConsumesCollector &iC)
const edm::InputTag inputSimHits_
virtual void initializeEvent(edm::Event const &e, edm::EventSetup const &c)=0
actions at the start/end of event
virtual ~MTDDigitizerBase()
double premixStage1MaxCharge_
const std::string digiCollection_
virtual void beginRun(const edm::EventSetup &es)=0
actions at the start/end of run
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
virtual void accumulate(edm::Event const &e, edm::EventSetup const &c, CLHEP::HepRandomEngine *hre)=0
handle SimHit accumulation
const std::string & name() const
const uint32_t verbosity_
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
virtual void finalizeEvent(edm::Event &e, edm::EventSetup const &c, CLHEP::HepRandomEngine *hre)=0
double premixStage1MinCharge_