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
void produce(edm::Event &e, const edm::EventSetup &c) override
std::vector< unsigned int > maskedChannels_
bool isMasked(HcalDetId id)
static const int inputs_[]
~HcalTTPDigiProducer() override=default
bool decision(int nP, int nM, int bit)
edm::EDGetTokenT< HFDigiCollection > tok_hf_
HcalTTPDigiProducer(const edm::ParameterSet &ps)