PhysicsTools
MVAComputer
interface
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
9
#include "
FWCore/Framework/interface/ESProducer.h
"
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
12
#include "
PhysicsTools/MVAComputer/interface/Calibration.h
"
13
#include "
PhysicsTools/MVAComputer/interface/MVAComputer.h
"
14
15
namespace
PhysicsTools
{
16
17
class
MVAComputerESSourceBase
:
public
edm::ESProducer
{
18
public
:
19
using
ReturnType
= std::unique_ptr<Calibration::MVAComputerContainer>;
20
21
MVAComputerESSourceBase
(
const
edm::ParameterSet
&
params
);
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
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 ¶ms)
Definition:
MVAComputerESSourceBase.cc:19
Generated for CMSSW Reference Manual by
1.8.16