Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
();
18
19
private
:
20
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
21
virtual
void
endJob
() {};
22
23
std::auto_ptr<BaseFunction>
corrector_
;
24
};
DBWriter::endJob
virtual void endJob()
Definition:
DBWriter.h:21
Event.h
MakerMacros.h
DBWriter::~DBWriter
~DBWriter()
Definition:
DBWriter.cc:32
ResolutionFunction.h
ParameterSet.h
MomentumScaleCorrector.h
DBWriter
Definition:
DBWriter.h:14
edm::EventSetup
Definition:
EventSetup.h:44
BackgroundFunction.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:25
EDAnalyzer.h
edm::ParameterSet
Definition:
ParameterSet.h:35
DBWriter::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
DBWriter.cc:40
DBWriter::corrector_
std::auto_ptr< BaseFunction > corrector_
Definition:
DBWriter.h:21
edm::Event
Definition:
Event.h:62
DBWriter::DBWriter
DBWriter(const edm::ParameterSet &)
Definition:
DBWriter.cc:18
Generated for CMSSW Reference Manual by
1.8.5