21 static std::vector<std::string>
23 std::unique_ptr<TagInfoMVACategorySelector> &selector)
26 selector = std::unique_ptr<TagInfoMVACategorySelector>(
29 return selector->getCategoryLabels();
34 std::vector<std::string> calibrationLabels;
35 calibrationLabels.push_back(calibrationRecord);
36 return calibrationLabels;
43 recordLabel_(params.getParameter<
std::
string>(
"recordLabel"))
81 return computer->
eval(variables);
T getParameter(std::string const &) const
~GenericMVAJetTagComputer() override
void push_back(const TaggingVariable &t)
virtual TaggingVariableList taggingVariables(void) const
returns a description of the extended informations in a TaggingVariableList
double eval(Iter_t first, Iter_t last) const
static std::vector< std::string > getCalibrationLabels(const edm::ParameterSet ¶ms, std::unique_ptr< TagInfoMVACategorySelector > &selector)
PRODUCT const & get(ESGetToken< PRODUCT, T > const &iToken) const
virtual edm::RefToBase< Jet > jet(void) const
returns a polymorphic reference to the tagged jet
void initialize(const JetTagComputerRecord &) override
bool update(const PhysicsTools::Calibration::MVAComputerContainer *calib)
GenericMVAComputerCache computerCache_
const DepRecordT getRecord() const
std::unique_ptr< TagInfoMVACategorySelector > categorySelector_
float discriminator(const TagInfoHelper &info) const override
std::pair< TaggingVariableName, TaggingValue > TaggingVariable
const reco::BaseTagInfo & getBase(unsigned int index) const
GenericMVAComputer const * getComputer(int index) const
GenericMVAJetTagComputer(const edm::ParameterSet ¶meters)
virtual reco::TaggingVariableList taggingVariables(const reco::BaseTagInfo &tagInfo) const