44 pileInputTag_(ps.getParameter<
edm::
InputTag>(
"pileInputTag")),
46 ps.getParameter<
std::
string>(
"digitizerName"), ps, producesCollector, iC)) {}
58 edm::LogWarning(
"MtdMix") <<
"PreMixingMTDWorker::Cannot find Signal collection";
67 edm::LogWarning(
"MtdMix") <<
"PreMixingMTDWorker::Cannot find PileUp collection";
72 std::vector<PileupSummaryInfo>
const& ps,
PreMixingMTDWorker & operator=(const PreMixingMTDWorker &)=delete
edm::EDGetTokenT< PMTDSimAccumulator > signalToken_
std::unique_ptr< MTDDigitizerBase > digitizer_
def create(alignables, pedeDump, additionalData, outputFile, config)
void initializeEvent(const edm::Event &e, const edm::EventSetup &ES) override
PreMixingMTDWorker(const edm::ParameterSet &ps, edm::ProducesCollector, edm::ConsumesCollector &&iC)
virtual CLHEP::HepRandomEngine & getEngine(StreamID const &)=0
Use this engine in event methods.
void addSignals(const edm::Event &e, const edm::EventSetup &ES) override
edm::InputTag pileInputTag_
void put(edm::Event &e, const edm::EventSetup &ES, std::vector< PileupSummaryInfo > const &ps, int bs) override
Log< level::Warning, false > LogWarning
#define DEFINE_PREMIXING_WORKER(TYPE)
~PreMixingMTDWorker() override=default
bool getByLabel(edm::InputTag const &tag, edm::Handle< T > &result) const
void addPileups(const PileUpEventPrincipal &, const edm::EventSetup &ES) override