CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Interceptor.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_MVATrainer_Interceptor_h
2 #define PhysicsTools_MVATrainer_Interceptor_h
3 
4 #include <vector>
5 #include <string>
6 
9 
10 namespace PhysicsTools {
11 
12 // forward declaration
13 class MVAComputer;
14 
15 namespace Calibration {
16 
17 class Interceptor : public VarProcessor {
18  public:
19  virtual std::string getInstanceName() const { return "Interceptor"; }
20  virtual std::vector<PhysicsTools::Variable::Flags>
21  configure(const PhysicsTools::MVAComputer *computer,
22  unsigned int n, const std::vector<
24  virtual double intercept(const std::vector<double> *values) const = 0;
25 };
26 
27 } // namespace Calibration
28 } // namespace PhysicsTools
29 
30 #endif // PhysicsTools_MVATrainer_Interceptor_h
std::vector< Variable::Flags > flags
Definition: MVATrainer.cc:135
Main interface class to the generic discriminator computer framework.
Definition: MVAComputer.h:40
virtual double intercept(const std::vector< double > *values) const =0
virtual std::string getInstanceName() const
Definition: Interceptor.h:19
virtual std::vector< PhysicsTools::Variable::Flags > configure(const PhysicsTools::MVAComputer *computer, unsigned int n, const std::vector< PhysicsTools::Variable::Flags > &flags)=0