43 pileupInputTag_(ps.getParameter<
edm::
InputTag>(
"pileInputTag")),
65 std::vector<PileupSummaryInfo>
const& ps,
void finalizeEvent(edm::Event &e, edm::EventSetup const &c, CLHEP::HepRandomEngine *hre)
void addSignals(const edm::Event &e, const edm::EventSetup &ES) override
~PreMixingHGCalWorker() override=default
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
PreMixingHGCalWorker(const edm::ParameterSet &ps, edm::ProducesCollector, edm::ConsumesCollector &&iC)
void initializeEvent(edm::Event const &e, edm::EventSetup const &c)
actions at the start/end of event
PreMixingHGCalWorker & operator=(const PreMixingHGCalWorker &)=delete
virtual CLHEP::HepRandomEngine & getEngine(StreamID const &)=0
Use this engine in event methods.
const edm::InputTag pileupInputTag_
const edm::EDGetTokenT< PHGCSimAccumulator > signalToken_
void addPileups(const PileUpEventPrincipal &, const edm::EventSetup &ES) override
void put(edm::Event &e, const edm::EventSetup &ES, std::vector< PileupSummaryInfo > const &ps, int bs) override
void accumulate_forPreMix(edm::Event const &e, edm::EventSetup const &c, CLHEP::HepRandomEngine *hre)
void initializeEvent(const edm::Event &e, const edm::EventSetup &ES) override
#define DEFINE_PREMIXING_WORKER(TYPE)
std::string digiCollection()
bool getByLabel(edm::InputTag const &tag, edm::Handle< T > &result) const