CMS 3D CMS Logo

MVAComputerESSourceBase.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_MVAComputer_MVAComputerESSourceBase_h
2 #define PhysicsTools_MVAComputer_MVAComputerESSourceBase_h
3 
4 #include <string>
5 #include <map>
6 
7 #include <memory>
8 
11 
14 
15 namespace PhysicsTools {
16 
18  public:
19  using ReturnType = std::unique_ptr<Calibration::MVAComputerContainer>;
20 
22  ~MVAComputerESSourceBase() override;
23 
24  protected:
25  ReturnType produce() const;
26 
27  typedef std::map<std::string, std::string> LabelFileMap;
28 
29  LabelFileMap mvaCalibrations;
30 };
31 
32 } // namespace PhysicsTools
33 
34 #endif // PhysicsTools_MVAComputer_MVAComputerESSourceBase_h
std::unique_ptr< Calibration::MVAComputerContainer > ReturnType
MVAComputerESSourceBase(const edm::ParameterSet &params)
std::map< std::string, std::string > LabelFileMap