18 using namespace PhysicsTools;
20 static std::vector<std::string>
22 std::auto_ptr<TagInfoMVACategorySelector> &selector)
25 selector = std::auto_ptr<TagInfoMVACategorySelector>(
28 return selector->getCategoryLabels();
30 std::string calibrationRecord =
33 std::vector<std::string> calibrationLabels;
34 calibrationLabels.push_back(calibrationRecord);
35 return calibrationLabels;
77 return computer->
eval(variables);
T getParameter(std::string const &) const
void push_back(const TaggingVariable &t)
GenericMVAComputerCache computerCache
virtual TaggingVariableList taggingVariables(void) const
returns a description of the extended informations in a TaggingVariableList
double eval(Iter_t first, Iter_t last) const
virtual void setEventSetup(const edm::EventSetup &es) const
virtual double eta() const
momentum pseudorapidity
virtual edm::RefToBase< Jet > jet(void) const
returns a polymorphic reference to the tagged jet
MVATrainerComputer * calib
bool update(const PhysicsTools::Calibration::MVAComputerContainer *calib)
static std::vector< std::string > getCalibrationLabels(const edm::ParameterSet ¶ms, std::auto_ptr< TagInfoMVACategorySelector > &selector)
virtual ~GenericMVAJetTagComputer()
virtual float discriminator(const TagInfoHelper &info) const
std::pair< TaggingVariableName, TaggingValue > TaggingVariable
const reco::BaseTagInfo & getBase(unsigned int index) const
std::auto_ptr< TagInfoMVACategorySelector > categorySelector
virtual double pt() const
transverse momentum
T const * product() const
GenericMVAJetTagComputer(const edm::ParameterSet ¶meters)
GenericMVAComputer * getComputer(int index) const
virtual reco::TaggingVariableList taggingVariables(const reco::BaseTagInfo &tagInfo) const