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 
30  };
31 
32 } // namespace PhysicsTools
33 
34 #endif // PhysicsTools_MVAComputer_MVAComputerESSourceBase_h
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
ESProducer.h
PhysicsTools::MVAComputerESSourceBase::mvaCalibrations
LabelFileMap mvaCalibrations
Definition: MVAComputerESSourceBase.h:29
MVAComputer.h
edm::ParameterSet
Definition: ParameterSet.h:47
PhysicsTools
Definition: Histogram.h:13
PhysicsTools::MVAComputerESSourceBase
Definition: MVAComputerESSourceBase.h:17
PhysicsTools::MVAComputerESSourceBase::LabelFileMap
std::map< std::string, std::string > LabelFileMap
Definition: MVAComputerESSourceBase.h:27
Calibration.h
PhysicsTools::MVAComputerESSourceBase::~MVAComputerESSourceBase
~MVAComputerESSourceBase() override
Definition: MVAComputerESSourceBase.cc:37
edm::ESProducer
Definition: ESProducer.h:104
ParameterSet.h
PhysicsTools::MVAComputerESSourceBase::produce
ReturnType produce() const
Definition: MVAComputerESSourceBase.cc:39
PhysicsTools::MVAComputerESSourceBase::ReturnType
std::unique_ptr< Calibration::MVAComputerContainer > ReturnType
Definition: MVAComputerESSourceBase.h:19
PhysicsTools::MVAComputerESSourceBase::MVAComputerESSourceBase
MVAComputerESSourceBase(const edm::ParameterSet &params)
Definition: MVAComputerESSourceBase.cc:19