1 #ifndef __PhysicsTools_PatAlgos_ObjectModifier_h__ 2 #define __PhysicsTools_PatAlgos_ObjectModifier_h__ 42 const std::vector<edm::ParameterSet>&
mods =
44 for(
unsigned i = 0;
i < mods.size(); ++
i ) {
49 if(
nullptr != plugin ) {
53 <<
"The requested modifier: " << mname <<
" is not available!";
T getParameter(std::string const &) const
VParameterSet const & getParameterSetVector(std::string const &name) const
def setup(process, global_tag, zero_tesla=False)
std::vector< ModifierPointer > modifiers_
ObjectModifier(const edm::ParameterSet &conf)
unique_ptr< JetDefinition::Plugin > plugin
void setEvent(const edm::Event &event)
std::unique_ptr< ModifyObjectValueBase > ModifierPointer
void setConsumes(edm::ConsumesCollector &sumes)
void setEventContent(const edm::EventSetup &setup)
void modify(T &obj) const
T get(const Candidate &c)