SimCalorimetry
EcalEBTrigPrimProducers
plugins
EcalEBTrigPrimProducer.h
Go to the documentation of this file.
1
#ifndef EcalEBTrigPrimProducer_h
2
#define EcalEBTrigPrimProducer_h
3
9
#include <memory>
10
11
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
12
#include "
FWCore/Framework/interface/Event.h
"
13
#include "
FWCore/Framework/interface/EventSetup.h
"
14
#include "
FWCore/Utilities/interface/EDGetToken.h
"
15
16
#include "
DataFormats/Common/interface/Handle.h
"
17
18
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
19
#include "
DataFormats/EcalDigi/interface/EcalDigiCollections.h
"
20
21
class
EcalEBTrigPrimTestAlgo
;
22
23
class
EcalEBTrigPrimProducer
:
public
edm::stream::EDProducer
<> {
24
public
:
25
explicit
EcalEBTrigPrimProducer
(
const
edm::ParameterSet
& conf);
26
27
~EcalEBTrigPrimProducer
()
override
;
28
29
void
beginRun
(
const
edm::Run
&
run
,
const
edm::EventSetup
& es)
override
;
30
void
endRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
31
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
32
33
private
:
34
std::unique_ptr<EcalEBTrigPrimTestAlgo>
algo_
;
35
bool
barrelOnly_
;
36
bool
tcpFormat_
;
37
bool
debug_
;
38
bool
famos_
;
39
int
nSamples_
;
40
int
nEvent_
;
41
42
edm::EDGetTokenT<EBDigiCollection>
tokenEBdigi_
;
43
44
int
binOfMaximum_
;
45
bool
fillBinOfMaximumFromHistory_
;
46
47
unsigned
long
long
getRecords
(
edm::EventSetup
const
&
setup
);
48
unsigned
long
long
cacheID_
;
49
};
50
51
#endif
EcalEBTrigPrimProducer::algo_
std::unique_ptr< EcalEBTrigPrimTestAlgo > algo_
Definition:
EcalEBTrigPrimProducer.h:34
Handle.h
EcalEBTrigPrimProducer::~EcalEBTrigPrimProducer
~EcalEBTrigPrimProducer() override
Definition:
EcalEBTrigPrimProducer.cc:146
EcalEBTrigPrimProducer::cacheID_
unsigned long long cacheID_
Definition:
EcalEBTrigPrimProducer.h:48
EcalEBTrigPrimProducer::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition:
EcalEBTrigPrimProducer.cc:144
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< EBDigiCollection >
EDProducer.h
EcalEBTrigPrimProducer
Definition:
EcalEBTrigPrimProducer.h:23
EcalEBTrigPrimProducer::famos_
bool famos_
Definition:
EcalEBTrigPrimProducer.h:38
EcalEBTrigPrimProducer::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition:
EcalEBTrigPrimProducer.cc:149
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
EcalEBTrigPrimProducer::tcpFormat_
bool tcpFormat_
Definition:
EcalEBTrigPrimProducer.h:36
EcalEBTrigPrimTestAlgo
Definition:
EcalEBTrigPrimTestAlgo.h:43
EcalDigiCollections.h
EcalEBTrigPrimProducer::binOfMaximum_
int binOfMaximum_
Definition:
EcalEBTrigPrimProducer.h:44
EcalEBTrigPrimProducer::fillBinOfMaximumFromHistory_
bool fillBinOfMaximumFromHistory_
Definition:
EcalEBTrigPrimProducer.h:45
EcalEBTrigPrimProducer::barrelOnly_
bool barrelOnly_
Definition:
EcalEBTrigPrimProducer.h:35
EcalEBTrigPrimProducer::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
Definition:
EcalEBTrigPrimProducer.cc:76
EDGetToken.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
EcalEBTrigPrimProducer::debug_
bool debug_
Definition:
EcalEBTrigPrimProducer.h:37
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
EcalEBTrigPrimProducer::nSamples_
int nSamples_
Definition:
EcalEBTrigPrimProducer.h:39
EventSetup.h
ParameterSet.h
EcalEBTrigPrimProducer::EcalEBTrigPrimProducer
EcalEBTrigPrimProducer(const edm::ParameterSet &conf)
Definition:
EcalEBTrigPrimProducer.cc:62
edm::Event
Definition:
Event.h:73
EcalEBTrigPrimProducer::getRecords
unsigned long long getRecords(edm::EventSetup const &setup)
Definition:
EcalEBTrigPrimProducer.cc:86
EcalEBTrigPrimProducer::nEvent_
int nEvent_
Definition:
EcalEBTrigPrimProducer.h:40
EcalEBTrigPrimProducer::tokenEBdigi_
edm::EDGetTokenT< EBDigiCollection > tokenEBdigi_
Definition:
EcalEBTrigPrimProducer.h:42
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16