CMS 3D CMS Logo

HcalTTPDigiProducer.h
Go to the documentation of this file.
1 #ifndef HcalTrigPrimProducers_HcalTTPDigiProducer_h
2 #define HcalTrigPrimProducers_HcalTTPDigiProducer_h
3 
13 
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 
27  std::vector<unsigned int> maskedChannels_;
29  int calc_[4];
30  int nHits_[4], nHFp_[4], nHFm_[4];
31  char pReq_[4], mReq_[4], pmLogic_[4];
33  int fwAlgo_;
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
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:36
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
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ESGetToken< HcalTPGCoder, HcalTPGRecord >
HcalTTPDigiProducer::calc_
int calc_[4]
Definition: HcalTTPDigiProducer.h:29
EventSetup.h
ParameterSet.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
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