1 #ifndef SimGeneral_PreMixingModule_PreMixingMuonWorker_h 2 #define SimGeneral_PreMixingModule_PreMixingMuonWorker_h 14 template <
typename DigiCollection>
37 template <
typename DigiCollection>
39 signalToken_(iC.consumes<DigiCollection>(ps.getParameter<
edm::InputTag>(
"digiTagSig"))),
46 template <
typename DigiCollection>
54 template <
typename DigiCollection>
58 for(
const auto&
elem: *digis) {
63 template <
typename DigiCollection>
BranchAliasSetterT< ProductType > produces()
declare what type of product will make and with which optional label
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
void put(edm::Event &iEvent, edm::EventSetup const &iSetup, std::vector< PileupSummaryInfo > const &ps, int bunchSpacing) override
PreMixingMuonWorker(const edm::ParameterSet &ps, edm::ProducerBase &producer, edm::ConsumesCollector &&iC)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void addPileups(PileUpEventPrincipal const &pep, edm::EventSetup const &iSetup) override
void initializeEvent(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
std::unique_ptr< DigiCollection > accumulated_
void addSignals(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
def elem(elemtype, innerHTML='', html_class='', kwargs)
edm::EDGetTokenT< DigiCollection > signalToken_
bool getByLabel(edm::InputTag const &tag, edm::Handle< T > &result) const
std::string collectionDM_
~PreMixingMuonWorker() override=default