#include <GenericMVAComputer.h>
Classes | |
class | TaggingVariableIterator |
class | TaggingVariableMapping |
Public Member Functions | |
template<typename Iter_t > | |
double | eval (Iter_t first, Iter_t last) const |
template<typename Container_t > | |
double | eval (const Container_t &values) const |
evaluate variables in iterable container values | |
GenericMVAComputer (const PhysicsTools::Calibration::MVAComputer *calib) | |
template<typename Iter_t > | |
TaggingVariableIterator< Iter_t > | iterator (Iter_t iter) const |
Static Private Attributes | |
static TaggingVariableMapping | mapping |
Definition at line 13 of file GenericMVAComputer.h.
GenericMVAComputer::GenericMVAComputer | ( | const PhysicsTools::Calibration::MVAComputer * | calib | ) | [inline] |
Definition at line 19 of file GenericMVAComputer.h.
: PhysicsTools::MVAComputer(calib) {}
double GenericMVAComputer::eval | ( | Iter_t | first, |
Iter_t | last | ||
) | const [inline] |
Definition at line 29 of file GenericMVAComputer.h.
References first, and svgfig::template().
Referenced by GenericMVAJetTagComputer::discriminator().
{ typedef TaggingVariableIterator<Iter_t> Wrapped_t; return PhysicsTools::MVAComputer::template eval<Wrapped_t>( iterator<Iter_t>(first), iterator<Iter_t>(last)); }
double GenericMVAComputer::eval | ( | const Container_t & | values | ) | const [inline] |
evaluate variables in iterable container values
Reimplemented from PhysicsTools::MVAComputer.
Definition at line 37 of file GenericMVAComputer.h.
TaggingVariableIterator<Iter_t> GenericMVAComputer::iterator | ( | Iter_t | iter | ) | const [inline] |
Definition at line 24 of file GenericMVAComputer.h.
References mapping.
Referenced by JetTagMVAExtractor::analyze(), JetTagMVATreeTrainer::analyze(), and JetTagMVATrainer::analyze().
{ return TaggingVariableIterator<Iter_t>(&mapping, iter); }
GenericMVAComputer::TaggingVariableMapping GenericMVAComputer::mapping [static, private] |
Definition at line 146 of file GenericMVAComputer.h.
Referenced by GenericMVAComputer::TaggingVariableIterator< Iter_t >::Value::getName(), and iterator().