CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalTrigPrimMonitor.h
Go to the documentation of this file.
1 #ifndef DQM_HCALMONITORTASKS_HCALTRIGPRIMMONITOR_H
2 #define DQM_HCALMONITORTASKS_HCALTRIGPRIMMONITOR_H
3 
6 
12 //class HcalTrigPrimMonitor: public HcalBaseMonitor {
14  public:
17 
18  void setup(DQMStore::IBooker &);
19  void analyze(const edm::Event& e, const edm::EventSetup& c);
21  const edm::Handle<HcalTrigPrimDigiCollection>& emul_tp_col);
22  void reset();
24  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& c) ;
25  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& c);
26  void endJob();
27 
28  private:
31 
34 
35  std::vector<int> ZSBadTPThreshold_;
36  std::vector<int> ZSAlarmThreshold_;
37 
44 
45  enum ErrorFlag{
46  kZeroTP=-1,
47  kMatched = 0,
54  };
55 
56  // Index: [isZS]
60  std::map<ErrorFlag, MonitorElement*> problem_map[2];
61 
62  // Index: [isZS], for OOT TPs
66  std::map<ErrorFlag, MonitorElement*> problem_map_oot[2];
67 
68  // Index: [isZS][isHF]
71  std::map<ErrorFlag, MonitorElement*> problem_et[2][2];
72 
73  // Index: [isZS][isHF], for OOT TPs
76  std::map<ErrorFlag, MonitorElement*> problem_et_oot[2][2];
77 
83 
87 };
88 #endif
MonitorElement * bad_tps_oot[2]
edm::EDGetTokenT< HcalTrigPrimDigiCollection > tok_emu_
MonitorElement * TPOccupancy_
void processEvent(const edm::Handle< HcalTrigPrimDigiCollection > &data_tp_col, const edm::Handle< HcalTrigPrimDigiCollection > &emul_tp_col)
int ib
Definition: cuy.py:660
MonitorElement * TPOccupancyPhiHFM_
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
MonitorElement * good_tps_oot[2]
std::map< ErrorFlag, MonitorElement * > problem_et_oot[2][2]
MonitorElement * TPOccupancyEta_
edm::EDGetTokenT< HcalTrigPrimDigiCollection > tok_data_
void bookHistograms(DQMStore::IBooker &ib, const edm::Run &run, const edm::EventSetup &c)
MonitorElement * fg_corr_oot[2][2]
std::map< ErrorFlag, MonitorElement * > problem_et[2][2]
MonitorElement * errorflag_oot[2]
std::vector< int > ZSBadTPThreshold_
MonitorElement * good_tps[2]
MonitorElement * create_summary(DQMStore::IBooker &ib, const std::string &folder, const std::string &name)
MonitorElement * create_map(DQMStore::IBooker &ib, const std::string &folder, const std::string &name)
MonitorElement * create_errorflag(DQMStore::IBooker &ib, const std::string &folder, const std::string &name)
MonitorElement * create_et_histogram(DQMStore::IBooker &ib, const std::string &folder, const std::string &name)
MonitorElement * create_fg_correlation(DQMStore::IBooker &ib, const std::string &folder, const std::string &name)
MonitorElement * TPOccupancyPhiHFP_
MonitorElement * fg_corr[2][2]
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
void setup(DQMStore::IBooker &)
MonitorElement * create_tp_correlation(DQMStore::IBooker &ib, const std::string &folder, const std::string &name)
std::map< ErrorFlag, MonitorElement * > problem_map_oot[2]
HcalTrigPrimMonitor(const edm::ParameterSet &ps)
MonitorElement * tp_corr_oot[2][2]
MonitorElement * bad_tps[2]
MonitorElement * TPOccupancyPhi_
void analyze(const edm::Event &e, const edm::EventSetup &c)
MonitorElement * errorflag[2]
std::vector< int > ZSAlarmThreshold_
Definition: Run.h:43
std::map< ErrorFlag, MonitorElement * > problem_map[2]
MonitorElement * tp_corr[2][2]