Main Page
Namespaces
Classes
Package Documentation
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
14
class
DBWriter
:
public
edm::EDAnalyzer
{
15
public
:
16
explicit
DBWriter
(
const
edm::ParameterSet
&);
17
~DBWriter
()
override
;
18
19
private
:
20
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
21
void
endJob
()
override
{};
22
23
std::unique_ptr<BaseFunction>
corrector_
;
24
};
Event.h
MakerMacros.h
ResolutionFunction.h
ParameterSet.h
DBWriter::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
DBWriter.cc:40
MomentumScaleCorrector.h
DBWriter
Definition:
DBWriter.h:14
edm::EventSetup
Definition:
EventSetup.h:57
BackgroundFunction.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
DBWriter::corrector_
std::unique_ptr< BaseFunction > corrector_
Definition:
DBWriter.h:21
DBWriter::endJob
void endJob() override
Definition:
DBWriter.h:21
DBWriter::~DBWriter
~DBWriter() override
Definition:
DBWriter.cc:32
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:71
DBWriter::DBWriter
DBWriter(const edm::ParameterSet &)
Definition:
DBWriter.cc:18
Generated for CMSSW Reference Manual by
1.8.11