src
DPGAnalysis
MuonTools
src
MuBaseFlatTableProducer.cc
Go to the documentation of this file.
1
10
#include "
DPGAnalysis/MuonTools/interface/MuBaseFlatTableProducer.h
"
11
12
MuBaseFlatTableProducer::MuBaseFlatTableProducer
(
const
edm::ParameterSet
&
config
)
13
: m_name{
config
.getParameter<
std::string
>(
"name"
)} {}
14
15
void
MuBaseFlatTableProducer::beginRun
(
const
edm::Run
&
run
,
const
edm::EventSetup
&
environment
) {
16
getFromES
(
run
,
environment
);
17
}
18
19
void
MuBaseFlatTableProducer::produce
(
edm::Event
&
ev
,
const
edm::EventSetup
&
environment
) {
20
getFromES
(
environment
);
21
fillTable
(
ev
);
22
}
makeMEIFBenchmarkPlots.ev
ev
Definition:
makeMEIFBenchmarkPlots.py:55
MuBaseFlatTableProducer::fillTable
virtual void fillTable(edm::Event &ev)=0
Fill ntuple.
config
Definition:
config.py:1
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::EventSetup
Definition:
EventSetup.h:56
MuBaseFlatTableProducer::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &config) final
Configure event setup for each run.
Definition:
MuBaseFlatTableProducer.cc:15
MuBaseFlatTableProducer::MuBaseFlatTableProducer
MuBaseFlatTableProducer(const edm::ParameterSet &)
Constructor.
Definition:
MuBaseFlatTableProducer.cc:12
edm::ParameterSet
Definition:
ParameterSet.h:48
MuBaseFlatTableProducer::getFromES
virtual void getFromES(const edm::Run &run, const edm::EventSetup &environment)
Get info from the ES by run.
Definition:
MuBaseFlatTableProducer.h:41
MuBaseFlatTableProducer::produce
void produce(edm::Event &, const edm::EventSetup &) final
Fill ntuples event by event.
Definition:
MuBaseFlatTableProducer.cc:19
edm::Event
Definition:
Event.h:73
MuBaseFlatTableProducer.h
edm::Run
Definition:
Run.h:45
reco_calib_source_client_cfg.environment
environment
Definition:
reco_calib_source_client_cfg.py:73
Generated for CMSSW Reference Manual by
1.8.14