Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
MVATrainer
interface
MVATrainerContainerSave.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_MVATrainer_MVATrainerContainerSave_h
2
#define PhysicsTools_MVATrainer_MVATrainerContainerSave_h
3
4
#include <memory>
5
#include <vector>
6
#include <string>
7
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
#include "
FWCore/Framework/interface/Event.h
"
10
#include "
FWCore/Framework/interface/EventSetup.h
"
11
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
12
13
#include "
CondFormats/PhysicsToolsObjects/interface/MVAComputer.h
"
14
15
namespace
PhysicsTools
{
16
17
class
MVATrainerContainerSave
:
public
edm::EDAnalyzer
{
18
public
:
19
explicit
MVATrainerContainerSave
(
const
edm::ParameterSet
¶ms);
20
21
virtual
void
analyze
(
const
edm::Event
&
iEvent
,
22
const
edm::EventSetup
& iSetup);
23
24
virtual
void
endJob
();
25
26
protected
:
27
virtual
const
Calibration::MVAComputerContainer
*
28
getToPut
(
const
edm::EventSetup
& es)
const
= 0;
29
30
virtual
const
Calibration::MVAComputerContainer
*
31
getToCopy
(
const
edm::EventSetup
& es)
const
= 0;
32
33
virtual
std::string
getRecordName
()
const
= 0;
34
35
private
:
36
std::vector<std::string>
toPut
;
37
std::vector<std::string>
toCopy
;
38
std::unique_ptr<Calibration::MVAComputerContainer>
calib
;
39
bool
saved
;
40
};
41
42
}
// namespace PhysicsTools
43
44
#endif // PhysicsTools_MVATrainer_MVATrainerContainerSave_h
PhysicsTools::MVATrainerContainerSave::getRecordName
virtual std::string getRecordName() const =0
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Event.h
PhysicsTools::MVATrainerContainerSave::toPut
std::vector< std::string > toPut
Definition:
MVATrainerContainerSave.h:36
EventSetup.h
MVAComputer.h
PhysicsTools::MVATrainerContainerSave::calib
std::unique_ptr< Calibration::MVAComputerContainer > calib
Definition:
MVATrainerContainerSave.h:38
ParameterSet.h
iEvent
int iEvent
Definition:
GenABIO.cc:230
PhysicsTools::MVATrainerContainerSave::toCopy
std::vector< std::string > toCopy
Definition:
MVATrainerContainerSave.h:37
PhysicsTools
Definition:
Histogram.h:13
edm::EventSetup
Definition:
EventSetup.h:44
PhysicsTools::MVATrainerContainerSave::analyze
virtual void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition:
MVATrainerContainerSave.cc:34
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
PhysicsTools::MVATrainerContainerSave::endJob
virtual void endJob()
Definition:
MVATrainerContainerSave.cc:67
PhysicsTools::MVATrainerContainerSave::getToCopy
virtual const Calibration::MVAComputerContainer * getToCopy(const edm::EventSetup &es) const =0
PhysicsTools::Calibration::MVAComputerContainer
Definition:
MVAComputer.h:247
PhysicsTools::MVATrainerContainerSave::MVATrainerContainerSave
MVATrainerContainerSave(const edm::ParameterSet ¶ms)
Definition:
MVATrainerContainerSave.cc:26
edm::ParameterSet
Definition:
ParameterSet.h:36
PhysicsTools::MVATrainerContainerSave::getToPut
virtual const Calibration::MVAComputerContainer * getToPut(const edm::EventSetup &es) const =0
PhysicsTools::MVATrainerContainerSave
Definition:
MVATrainerContainerSave.h:17
edm::Event
Definition:
Event.h:69
PhysicsTools::MVATrainerContainerSave::saved
bool saved
Definition:
MVATrainerContainerSave.h:39
Generated for CMSSW Reference Manual by
1.8.11