CMS 3D CMS Logo

HcalTTPDigiProducer.h
Go to the documentation of this file.
1 #ifndef HcalTrigPrimProducers_HcalTTPDigiProducer_h
2 #define HcalTrigPrimProducers_HcalTTPDigiProducer_h
3 
10 
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 
23  std::vector<unsigned int> maskedChannels_;
25  int calc_[4];
26  int nHits_[4], nHFp_[4], nHFm_[4];
27  char pReq_[4], mReq_[4], pmLogic_[4];
29  int fwAlgo_;
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