Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
MuonAnalysis
MomentumScaleCalibration
plugins
DBWriter.h
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
2
#include "
FWCore/Framework/interface/Event.h
"
3
#include "
FWCore/Framework/interface/MakerMacros.h
"
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
6
#include "
MuonAnalysis/MomentumScaleCalibration/interface/MomentumScaleCorrector.h
"
7
#include "
MuonAnalysis/MomentumScaleCalibration/interface/ResolutionFunction.h
"
8
#include "
MuonAnalysis/MomentumScaleCalibration/interface/BackgroundFunction.h
"
9
10
#include <TFile.h>
11
#include <string>
12
13
class
DBWriter
:
public
edm::EDAnalyzer
{
14
public
:
15
explicit
DBWriter
(
const
edm::ParameterSet
&);
16
~DBWriter
()
override
;
17
18
private
:
19
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
20
void
endJob
()
override
{};
21
22
std::unique_ptr<BaseFunction>
corrector_
;
23
};
Event.h
MakerMacros.h
ResolutionFunction.h
ParameterSet.h
DBWriter::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
DBWriter.cc:41
MomentumScaleCorrector.h
DBWriter
Definition:
DBWriter.h:13
edm::EventSetup
Definition:
EventSetup.h:59
BackgroundFunction.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
DBWriter::corrector_
std::unique_ptr< BaseFunction > corrector_
Definition:
DBWriter.h:20
DBWriter::endJob
void endJob() override
Definition:
DBWriter.h:20
DBWriter::~DBWriter
~DBWriter() override
Definition:
DBWriter.cc:35
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
DBWriter::DBWriter
DBWriter(const edm::ParameterSet &)
Definition:
DBWriter.cc:18
Generated for CMSSW Reference Manual by
1.8.5