test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalTTPDigiProducer.h
Go to the documentation of this file.
1 #ifndef HcalTrigPrimProducers_HcalTTPDigiProducer_h
2 #define HcalTrigPrimProducers_HcalTTPDigiProducer_h
3 
10 
12 {
13 public:
14 
15  explicit HcalTTPDigiProducer(const edm::ParameterSet& ps);
16  ~HcalTTPDigiProducer() = default;
17 
18  virtual void produce(edm::Event& e, const edm::EventSetup& c) override;
19 
20 private:
21 
22  bool isMasked(HcalDetId id) ;
23  bool decision(int nP, int nM, int bit) ;
24 
26  std::vector<unsigned int> maskedChannels_ ;
28  int calc_[4] ;
29  int nHits_[4], nHFp_[4], nHFm_[4] ;
30  char pReq_[4], mReq_[4], pmLogic_[4] ;
32  int fwAlgo_ ;
34  unsigned int threshold_ ;
35 
36  int SoI_ ;
37 
38  static const int inputs_[] ;
39 };
40 
41 #endif
42 
43 
virtual void produce(edm::Event &e, const edm::EventSetup &c) override
std::vector< unsigned int > maskedChannels_
bool isMasked(HcalDetId id)
static const int inputs_[]
bool decision(int nP, int nM, int bit)
edm::EDGetTokenT< HFDigiCollection > tok_hf_
~HcalTTPDigiProducer()=default
HcalTTPDigiProducer(const edm::ParameterSet &ps)