14 std::vector<std::string> psetNames;
18 for(
const auto& psname : psetNames) {
35 digitizer->initializeEvent(event, es);
58 digitizer->accumulate(event, es,
randomEngine(streamID));
66 digitizer->beginRun(es);
CLHEP::HepRandomEngine * randomEngine(edm::StreamID const &streamID)
void initializeEvent(edm::Event const &, edm::EventSetup const &) override
~FTLDigiProducer() override
virtual CLHEP::HepRandomEngine & getEngine(StreamID const &)=0
Use this engine in event methods.
std::vector< CLHEP::HepRandomEngine * > randomEngines_
void beginRun(edm::Run const &, edm::EventSetup const &) override
unsigned int value() const
void finalizeEvent(edm::Event &, edm::EventSetup const &) override
ParameterSet const & getParameterSet(std::string const &) const
FTLDigiProducer(edm::ParameterSet const &pset, edm::stream::EDProducerBase &mixMod, edm::ConsumesCollector &iC)
std::vector< std::unique_ptr< FTLDigitizerBase > > theDigitizers_
StreamID streamID() const
void accumulate(edm::Event const &, edm::EventSetup const &) override
size_t getParameterSetNames(std::vector< std::string > &output, bool trackiness=true) const
T get(const Candidate &c)
void endRun(edm::Run const &, edm::EventSetup const &) override