1 #ifndef RecoTauTag_RecoTau_RecoTauMVAHelper_h
2 #define RecoTauTag_RecoTau_RecoTauMVAHelper_h
27 #include <boost/ptr_container/ptr_map.hpp>
38 namespace reco {
namespace tau {
69 typedef boost::ptr_map<PhysicsTools::AtomicId, RecoTauDiscriminantPlugin>
void setEvent(const edm::Event &evt, const edm::EventSetup &es)
void fillValues(const reco::PFTauRef &tau) const
boost::ptr_map< PhysicsTools::AtomicId, RecoTauDiscriminantPlugin > PluginMap
PhysicsTools::Variable::ValueList values_
double operator()(const PFTauRef &tau) const
edm::ParameterSet pluginOptions_
const PhysicsTools::Variable::ValueList & discriminants(const PFTauRef &tau) const
RecoTauMVAHelper(const std::string &name, const std::string &eslabel, const edm::ParameterSet &pluginOptions)
void train(const PFTauRef &tau, bool target, double weight=1.0) const
PhysicsTools::MVAComputerCache computer_
void loadDiscriminantPlugins(const PhysicsTools::Calibration::MVAComputer &computer)