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 
14 //class HcalTrigPrimMonitor: public HcalBaseMonitor {
16  public:
19 
20  void setup();
21  void analyze(const edm::Event& e, const edm::EventSetup& c);
23  const edm::Handle<HcalTrigPrimDigiCollection>& emul_tp_col);
24  void reset();
25  void beginRun(const edm::Run& run, const edm::EventSetup& c);
26  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& c) ;
27  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& c);
28  void cleanup();
29  void endJob();
30 
31  private:
34  std::vector<int> ZSBadTPThreshold_;
35  std::vector<int> ZSAlarmThreshold_;
36 
37  MonitorElement* create_summary(const std::string& folder, const std::string& name);
38  MonitorElement* create_errorflag(const std::string& folder, const std::string& name);
39  MonitorElement* create_tp_correlation(const std::string& folder, const std::string& name);
40  MonitorElement* create_fg_correlation(const std::string& folder, const std::string& name);
41  MonitorElement* create_map(const std::string& folder, const std::string& name);
42  MonitorElement* create_et_histogram(const std::string& folder, const std::string& name);
43 
44  enum ErrorFlag{
45  kZeroTP=-1,
46  kMatched = 0,
53  };
54 
55  // Index: [isZS]
59  std::map<ErrorFlag, MonitorElement*> problem_map[2];
60 
61  // Index: [isZS], for OOT TPs
65  std::map<ErrorFlag, MonitorElement*> problem_map_oot[2];
66 
67  // Index: [isZS][isHF]
70  std::map<ErrorFlag, MonitorElement*> problem_et[2][2];
71 
72  // Index: [isZS][isHF], for OOT TPs
75  std::map<ErrorFlag, MonitorElement*> problem_et_oot[2][2];
76 
82 
86 };
87 #endif
MonitorElement * bad_tps_oot[2]
MonitorElement * TPOccupancy_
void processEvent(const edm::Handle< HcalTrigPrimDigiCollection > &data_tp_col, const edm::Handle< HcalTrigPrimDigiCollection > &emul_tp_col)
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_
MonitorElement * create_fg_correlation(const std::string &folder, const std::string &name)
MonitorElement * create_tp_correlation(const std::string &folder, const std::string &name)
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_et_histogram(const std::string &folder, const std::string &name)
MonitorElement * create_errorflag(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)
std::map< ErrorFlag, MonitorElement * > problem_map_oot[2]
HcalTrigPrimMonitor(const edm::ParameterSet &ps)
MonitorElement * tp_corr_oot[2][2]
MonitorElement * create_map(const std::string &folder, const std::string &name)
void beginRun(const edm::Run &run, const edm::EventSetup &c)
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:33
std::map< ErrorFlag, MonitorElement * > problem_map[2]
MonitorElement * tp_corr[2][2]
MonitorElement * create_summary(const std::string &folder, const std::string &name)