|
|
Go to the documentation of this file. 1 #ifndef PhysicsTools_MVAComputer_MVAModuleHelper_h
2 #define PhysicsTools_MVAComputer_MVAModuleHelper_h
39 template <
typename Object>
56 template <
class Record,
typename Object,
class Filler = MVAModuleHelperDefaultFiller<Object> >
81 inline bool update(
const Object &
object)
const {
83 return !std::isfinite(
value);
99 template <
class Record,
typename Object,
class Filler>
108 template <
class Record,
typename Object,
class Filler>
117 template <
class Record,
typename Object,
class Filler>
119 const std::vector<PhysicsTools::Calibration::Variable> &
vars = container->
find(
label).inputSet;
121 for (std::vector<PhysicsTools::Calibration::Variable>::const_iterator iter =
vars.begin(); iter !=
vars.end();
123 if (std::strncmp(iter->name.c_str(),
"__", 2) != 0)
127 template <
class Record,
typename Object,
class Filler>
133 template <
class Record,
typename Object,
class Filler>
146 std::plus<int>(), std::placeholders::_1, std::bind(&
Value::update, std::placeholders::_2,
object))))
152 for (
typename std::vector<Value>::const_iterator iter =
values.begin(); iter !=
values.end(); ++iter)
153 list.
add(iter->getName(), iter->getValue());
160 #endif // PhysicsTools_MVAComputer_MVAModuleHelper_h
reco::JetExtendedAssociation::JetExtendedData Value