29 modifier_ = std::make_unique<Modifier>(mod_config, consumesCollector());
31 produces<Collection>();
38 auto output = std::make_unique<Collection>();
41 output->reserve(input->size());
45 for (
auto const& itr : *input) {
std::unique_ptr< Modifier > modifier_
pat::ModifiedObjectProducer< pat::Tau > ModifiedTauProducer
pat::ModifiedObjectProducer< reco::GsfElectron > ModifiedGsfElectronProducer
pat::ModifiedObjectProducer< pat::Electron > ModifiedElectronProducer
#define DEFINE_FWK_MODULE(type)
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_
void produce(edm::Event &evt, const edm::EventSetup &evs) final
T getParameter(std::string const &) const
pat::ModifiedObjectProducer< pat::Photon > ModifiedPhotonProducer
pat::ObjectModifier< T > Modifier
pat::ModifiedObjectProducer< pat::Muon > ModifiedMuonProducer