25 std::vector<PileupSummaryInfo>
const &ps,
43 clusterPileInputTag_(ps.getParameter<
edm::
InputTag>(
"pileInputTag")),
44 mtdSimLCCollectionDM_(ps.getParameter<
std::
string>(
"collectionDM")) {
49 newClusters_ = std::make_unique<MtdSimLayerClusterCollection>();
78 std::vector<PileupSummaryInfo>
const &ps,
std::vector< MtdSimLayerCluster > MtdSimLayerClusterCollection
void add(const MtdSimLayerClusterCollection &clusters)
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
edm::InputTag clusterPileInputTag_
PreMixingMtdTruthWorker(const edm::ParameterSet &ps, edm::ProducesCollector, edm::ConsumesCollector &&iC)
std::string mtdSimLCCollectionDM_
void put(edm::Event &iEvent, edm::EventSetup const &iSetup, std::vector< PileupSummaryInfo > const &ps, int bunchSpacing) override
~PreMixingMtdTruthWorker() override=default
void addSignals(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
void addPileups(PileUpEventPrincipal const &pep, edm::EventSetup const &iSetup) override
std::unique_ptr< MtdSimLayerClusterCollection > newClusters_
edm::EDGetTokenT< MtdSimLayerClusterCollection > sigClusterToken_
void initializeEvent(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
#define DEFINE_PREMIXING_WORKER(TYPE)
bool getByLabel(edm::InputTag const &tag, edm::Handle< T > &result) const