SimCalorimetry
HcalTrigPrimProducers
src
HcalTTPDigiProducer.h
Go to the documentation of this file.
1
#ifndef HcalTrigPrimProducers_HcalTTPDigiProducer_h
2
#define HcalTrigPrimProducers_HcalTTPDigiProducer_h
3
4
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
FWCore/Framework/interface/Event.h
"
7
#include "
FWCore/Framework/interface/EventSetup.h
"
8
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
9
#include "
DataFormats/HcalDigi/interface/HcalDigiCollections.h
"
10
11
class
HcalTTPDigiProducer
:
public
edm::stream::EDProducer
<> {
12
public
:
13
explicit
HcalTTPDigiProducer
(
const
edm::ParameterSet
& ps);
14
~HcalTTPDigiProducer
()
override
=
default
;
15
16
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
17
18
private
:
19
bool
isMasked
(
HcalDetId
id
);
20
bool
decision
(
int
nP,
int
nM,
int
bit);
21
22
edm::EDGetTokenT<HFDigiCollection>
tok_hf_
;
23
std::vector<unsigned int>
maskedChannels_
;
24
std::string
bit_
[4];
25
int
calc_
[4];
26
int
nHits_
[4],
nHFp_
[4],
nHFm_
[4];
27
char
pReq_
[4],
mReq_
[4],
pmLogic_
[4];
28
int
id_
,
samples_
,
presamples_
;
29
int
fwAlgo_
;
30
int
iEtaMin_
,
iEtaMax_
;
31
unsigned
int
threshold_
;
32
33
int
SoI_
;
34
35
static
const
int
inputs_
[];
36
};
37
38
#endif
HcalTTPDigiProducer::decision
bool decision(int nP, int nM, int bit)
Definition:
HcalTTPDigiProducer.cc:87
HcalTTPDigiProducer::SoI_
int SoI_
Definition:
HcalTTPDigiProducer.h:33
edm::EDGetTokenT
Definition:
EDGetToken.h:33
HcalTTPDigiProducer::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition:
HcalTTPDigiProducer.cc:115
HcalTTPDigiProducer::nHFm_
int nHFm_[4]
Definition:
HcalTTPDigiProducer.h:26
HcalTTPDigiProducer::~HcalTTPDigiProducer
~HcalTTPDigiProducer() override=default
HcalTTPDigiProducer::fwAlgo_
int fwAlgo_
Definition:
HcalTTPDigiProducer.h:29
EDProducer.h
HcalTTPDigiProducer::id_
int id_
Definition:
HcalTTPDigiProducer.h:28
HcalTTPDigiProducer::maskedChannels_
std::vector< unsigned int > maskedChannels_
Definition:
HcalTTPDigiProducer.h:23
HcalDigiCollections.h
HcalTTPDigiProducer::iEtaMin_
int iEtaMin_
Definition:
HcalTTPDigiProducer.h:30
HcalTTPDigiProducer::pmLogic_
char pmLogic_[4]
Definition:
HcalTTPDigiProducer.h:27
HcalTTPDigiProducer::presamples_
int presamples_
Definition:
HcalTTPDigiProducer.h:28
HcalTTPDigiProducer::iEtaMax_
int iEtaMax_
Definition:
HcalTTPDigiProducer.h:30
HcalTTPDigiProducer::pReq_
char pReq_[4]
Definition:
HcalTTPDigiProducer.h:27
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HcalTTPDigiProducer::tok_hf_
edm::EDGetTokenT< HFDigiCollection > tok_hf_
Definition:
HcalTTPDigiProducer.h:22
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
HcalDetId.h
HcalTTPDigiProducer::HcalTTPDigiProducer
HcalTTPDigiProducer(const edm::ParameterSet &ps)
Definition:
HcalTTPDigiProducer.cc:18
HcalDetId
Definition:
HcalDetId.h:12
HcalTTPDigiProducer::bit_
std::string bit_[4]
Definition:
HcalTTPDigiProducer.h:24
HcalTTPDigiProducer::samples_
int samples_
Definition:
HcalTTPDigiProducer.h:28
HcalTTPDigiProducer::nHits_
int nHits_[4]
Definition:
HcalTTPDigiProducer.h:26
HcalTTPDigiProducer::threshold_
unsigned int threshold_
Definition:
HcalTTPDigiProducer.h:31
edm::stream::EDProducer
Definition:
EDProducer.h:38
HcalTTPDigiProducer
Definition:
HcalTTPDigiProducer.h:11
HcalTTPDigiProducer::isMasked
bool isMasked(HcalDetId id)
Definition:
HcalTTPDigiProducer.cc:80
edm::EventSetup
Definition:
EventSetup.h:57
HcalTTPDigiProducer::nHFp_
int nHFp_[4]
Definition:
HcalTTPDigiProducer.h:26
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
HcalTTPDigiProducer::calc_
int calc_[4]
Definition:
HcalTTPDigiProducer.h:25
EventSetup.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
HcalTTPDigiProducer::inputs_
static const int inputs_[]
Definition:
HcalTTPDigiProducer.h:35
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
HcalTTPDigiProducer::mReq_
char mReq_[4]
Definition:
HcalTTPDigiProducer.h:27
Generated for CMSSW Reference Manual by
1.8.16