1 #ifndef FastTimingSimProducers_FastTimingCommon_MTDDigitizerBase_h
2 #define FastTimingSimProducers_FastTimingCommon_MTDDigitizerBase_h
16 #include "CLHEP/Units/GlobalPhysicalConstants.h"
21 class HepRandomEngine;
38 verbosity_(config.getUntrackedParameter<uint32_t>(
"verbosity", 0)),
43 name_(config.getParameter<std::
string>(
"digitizerName")) {
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 edm::EventSetup & c
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 std::string & name() const
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)
tuple config
parse the configuration file
double premixStage1MaxCharge_