Main Page
Namespaces
Classes
Package Documentation
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
virtual
void
analyze
(
const
edm::Event
&
iEvent
,
21
const
edm::EventSetup
& iSetup);
22
23
virtual
void
endJob
();
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:255
Event.h
EventSetup.h
MVAComputer.h
PhysicsTools::MVATrainerSave::endJob
virtual void endJob()
Definition:
MVATrainerSave.cc:50
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:230
PhysicsTools::Calibration::MVAComputer
Definition:
MVAComputer.h:218
PhysicsTools::MVATrainerSave::analyze
virtual void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition:
MVATrainerSave.cc:31
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:44
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
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:66
Generated for CMSSW Reference Manual by
1.8.11