1 #ifndef __PhysicsTools_PatAlgos_ModifiedObjectProducer_h__ 2 #define __PhysicsTools_PatAlgos_ModifiedObjectProducer_h__ 32 produces<Collection>();
42 auto output = std::make_unique<Collection>();
44 evt.getByToken(
src_,input);
45 output->reserve(input->size());
49 for(
auto itr = input->begin(); itr != input->end(); ++itr ) {
T getParameter(std::string const &) const
std::unique_ptr< Modifier > modifier_
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &evs) final
ModifiedObjectProducer(const edm::ParameterSet &conf)
std::vector< T > Collection
~ModifiedObjectProducer() override
static std::string const input
edm::EDGetTokenT< edm::View< T > > src_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
void produce(edm::Event &evt, const edm::EventSetup &evs) final
pat::ObjectModifier< T > Modifier