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