Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
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::auto_ptr<Calibration::MVAComputer>
calib
;
33
bool
saved
;
34
};
35
36
}
// namespace PhysicsTools
37
38
#endif // PhysicsTools_MVATrainer_MVATrainerSave_h
Event.h
EventSetup.h
MVAComputer.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
PhysicsTools::MVATrainerSave::endJob
virtual void endJob()
Definition:
MVATrainerSave.cc:50
ParameterSet.h
PhysicsTools::MVATrainerSave::calib
std::auto_ptr< Calibration::MVAComputer > calib
Definition:
MVATrainerSave.h:32
iEvent
int iEvent
Definition:
GenABIO.cc:243
PhysicsTools::Calibration::MVAComputer
Definition:
MVAComputer.h:161
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::MVATrainerSave::getToPut
virtual const Calibration::MVAComputer * getToPut(const edm::EventSetup &es) const =0
edm::EventSetup
Definition:
EventSetup.h:44
edm::EDAnalyzer
Definition:
EDAnalyzer.h:15
EDAnalyzer.h
PhysicsTools::MVATrainerSave::getRecordName
virtual std::string getRecordName() const =0
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:35
edm::Event
Definition:
Event.h:56
Generated for CMSSW Reference Manual by
1.8.5