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 "
FWCore/Utilities/interface/ESGetToken.h
"
9
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
10
#include "
DataFormats/HcalDigi/interface/HcalDigiCollections.h
"
11
#include "
CalibFormats/HcalObjects/interface/HcalTPGRecord.h
"
12
#include "
CalibFormats/HcalObjects/interface/HcalTPGCoder.h
"
13
14
class
HcalTTPDigiProducer
:
public
edm::stream::EDProducer
<> {
15
public
:
16
explicit
HcalTTPDigiProducer
(
const
edm::ParameterSet
& ps);
17
~HcalTTPDigiProducer
()
override
=
default
;
18
19
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
20
21
private
:
22
bool
isMasked
(
HcalDetId
id
);
23
bool
decision
(
int
nP,
int
nM,
int
bit);
24
25
edm::EDGetTokenT<HFDigiCollection>
tok_hf_
;
26
edm::ESGetToken<HcalTPGCoder, HcalTPGRecord>
tok_tpgCoder_
;
27
std::vector<unsigned int>
maskedChannels_
;
28
std::string
bit_
[4];
29
int
calc_
[4];
30
int
nHits_
[4],
nHFp_
[4],
nHFm_
[4];
31
char
pReq_
[4],
mReq_
[4],
pmLogic_
[4];
32
int
id_
,
samples_
,
presamples_
;
33
int
fwAlgo_
;
34
int
iEtaMin_
,
iEtaMax_
;
35
unsigned
int
threshold_
;
36
37
int
SoI_
;
38
39
static
const
int
inputs_
[];
40
};
41
42
#endif
HcalTTPDigiProducer::decision
bool decision(int nP, int nM, int bit)
Definition:
HcalTTPDigiProducer.cc:86
HcalTTPDigiProducer::SoI_
int SoI_
Definition:
HcalTTPDigiProducer.h:37
edm::EDGetTokenT
Definition:
EDGetToken.h:33
HcalTTPDigiProducer::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition:
HcalTTPDigiProducer.cc:114
HcalTTPDigiProducer::nHFm_
int nHFm_[4]
Definition:
HcalTTPDigiProducer.h:30
HcalTTPDigiProducer::~HcalTTPDigiProducer
~HcalTTPDigiProducer() override=default
HcalTTPDigiProducer::fwAlgo_
int fwAlgo_
Definition:
HcalTTPDigiProducer.h:33
EDProducer.h
HcalTPGRecord.h
ESGetToken.h
HcalTTPDigiProducer::id_
int id_
Definition:
HcalTTPDigiProducer.h:32
HcalTTPDigiProducer::maskedChannels_
std::vector< unsigned int > maskedChannels_
Definition:
HcalTTPDigiProducer.h:27
HcalDigiCollections.h
HcalTTPDigiProducer::iEtaMin_
int iEtaMin_
Definition:
HcalTTPDigiProducer.h:34
HcalTTPDigiProducer::pmLogic_
char pmLogic_[4]
Definition:
HcalTTPDigiProducer.h:31
HcalTTPDigiProducer::presamples_
int presamples_
Definition:
HcalTTPDigiProducer.h:32
HcalTTPDigiProducer::iEtaMax_
int iEtaMax_
Definition:
HcalTTPDigiProducer.h:34
HcalTTPDigiProducer::pReq_
char pReq_[4]
Definition:
HcalTTPDigiProducer.h:31
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HcalTTPDigiProducer::tok_hf_
edm::EDGetTokenT< HFDigiCollection > tok_hf_
Definition:
HcalTTPDigiProducer.h:25
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
HcalDetId.h
HcalTTPDigiProducer::HcalTTPDigiProducer
HcalTTPDigiProducer(const edm::ParameterSet &ps)
Definition:
HcalTTPDigiProducer.cc:16
HcalDetId
Definition:
HcalDetId.h:12
HcalTTPDigiProducer::bit_
std::string bit_[4]
Definition:
HcalTTPDigiProducer.h:28
HcalTTPDigiProducer::samples_
int samples_
Definition:
HcalTTPDigiProducer.h:32
HcalTTPDigiProducer::tok_tpgCoder_
edm::ESGetToken< HcalTPGCoder, HcalTPGRecord > tok_tpgCoder_
Definition:
HcalTTPDigiProducer.h:26
HcalTTPDigiProducer::nHits_
int nHits_[4]
Definition:
HcalTTPDigiProducer.h:30
HcalTTPDigiProducer::threshold_
unsigned int threshold_
Definition:
HcalTTPDigiProducer.h:35
edm::stream::EDProducer
Definition:
EDProducer.h:38
HcalTTPDigiProducer
Definition:
HcalTTPDigiProducer.h:14
HcalTTPDigiProducer::isMasked
bool isMasked(HcalDetId id)
Definition:
HcalTTPDigiProducer.cc:79
edm::EventSetup
Definition:
EventSetup.h:58
HcalTTPDigiProducer::nHFp_
int nHFp_[4]
Definition:
HcalTTPDigiProducer.h:30
edm::ESGetToken< HcalTPGCoder, HcalTPGRecord >
HcalTTPDigiProducer::calc_
int calc_[4]
Definition:
HcalTTPDigiProducer.h:29
EventSetup.h
ParameterSet.h
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:46
edm::Event
Definition:
Event.h:73
HcalTPGCoder.h
HcalTTPDigiProducer::inputs_
static const int inputs_[]
Definition:
HcalTTPDigiProducer.h:39
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
HcalTTPDigiProducer::mReq_
char mReq_[4]
Definition:
HcalTTPDigiProducer.h:31
Generated for CMSSW Reference Manual by
1.8.16