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
};
DBWriter::DBWriter
DBWriter(const edm::ParameterSet &)
Definition:
DBWriter.cc:18
DBWriter::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
DBWriter.cc:41
EDAnalyzer.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
MakerMacros.h
DBWriter::~DBWriter
~DBWriter() override
Definition:
DBWriter.cc:35
ResolutionFunction.h
DBWriter::corrector_
std::unique_ptr< BaseFunction > corrector_
Definition:
DBWriter.h:20
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
DBWriter::endJob
void endJob() override
Definition:
DBWriter.h:20
edm::EventSetup
Definition:
EventSetup.h:58
ParameterSet.h
edm::Event
Definition:
Event.h:73
MomentumScaleCorrector.h
BackgroundFunction.h
DBWriter
Definition:
DBWriter.h:13
Generated for CMSSW Reference Manual by
1.8.16