29 modifier_ = std::make_unique<Modifier>(mod_config, consumesCollector());
31 produces<Collection>();
38 auto output = std::make_unique<Collection>();
45 for (
auto const& itr : *
input) {
std::unique_ptr< Modifier > modifier_
T getParameter(std::string const &) const
pat::ModifiedObjectProducer< pat::Tau > ModifiedTauProducer
pat::ModifiedObjectProducer< reco::GsfElectron > ModifiedGsfElectronProducer
pat::ModifiedObjectProducer< pat::Electron > ModifiedElectronProducer
ModifiedObjectProducer(const edm::ParameterSet &conf)
std::vector< T > Collection
~ModifiedObjectProducer() override
pat::ModifiedObjectProducer< pat::Jet > ModifiedJetProducer
static std::string const input
edm::EDGetTokenT< edm::View< T > > src_
#define DEFINE_FWK_MODULE(type)
void produce(edm::Event &evt, const edm::EventSetup &evs) final
pat::ModifiedObjectProducer< pat::Photon > ModifiedPhotonProducer
pat::ObjectModifier< T > Modifier
pat::ModifiedObjectProducer< pat::Muon > ModifiedMuonProducer