19 using namespace PhysicsTools;
21 static std::vector<std::string>
23 std::auto_ptr<TagInfoMVACategorySelector> &selector)
26 selector = std::auto_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
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
virtual double eta() const
momentum pseudorapidity
virtual double pt() const
transverse momentum
virtual void initialize(const JetTagComputerRecord &)
virtual edm::RefToBase< Jet > jet(void) const
returns a polymorphic reference to the tagged jet
const DepRecordT & getRecord() const
MVATrainerComputer * calib
bool update(const PhysicsTools::Calibration::MVAComputerContainer *calib)
static std::vector< std::string > getCalibrationLabels(const edm::ParameterSet ¶ms, std::auto_ptr< TagInfoMVACategorySelector > &selector)
GenericMVAComputerCache computerCache_
virtual ~GenericMVAJetTagComputer()
void get(HolderT &iHolder) const
virtual float discriminator(const TagInfoHelper &info) const
std::pair< TaggingVariableName, TaggingValue > TaggingVariable
std::auto_ptr< TagInfoMVACategorySelector > categorySelector_
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