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::auto_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:44
BackgroundFunction.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
DBWriter::endJob
void endJob() override
Definition:
DBWriter.h:21
DBWriter::~DBWriter
~DBWriter() override
Definition:
DBWriter.cc:32
edm::ParameterSet
Definition:
ParameterSet.h:36
DBWriter::corrector_
std::auto_ptr< BaseFunction > corrector_
Definition:
DBWriter.h:21
edm::Event
Definition:
Event.h:69
DBWriter::DBWriter
DBWriter(const edm::ParameterSet &)
Definition:
DBWriter.cc:18
Generated for CMSSW Reference Manual by
1.8.11