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();
19  void analyze(const edm::Event& e, const edm::EventSetup& c);
21  const edm::Handle<HcalTrigPrimDigiCollection>& emul_tp_col);
22  void reset();
23  void beginRun(const edm::Run& run, const edm::EventSetup& c);
24  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& c) ;
25  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& c);
26  void cleanup();
27  void endJob();
28 
29  private:
32 
35 
36  std::vector<int> ZSBadTPThreshold_;
37  std::vector<int> ZSAlarmThreshold_;
38 
43  MonitorElement* create_map(const std::string& folder, const std::string& name);
45 
46  enum ErrorFlag{
47  kZeroTP=-1,
48  kMatched = 0,
55  };
56 
57  // Index: [isZS]
61  std::map<ErrorFlag, MonitorElement*> problem_map[2];
62 
63  // Index: [isZS], for OOT TPs
67  std::map<ErrorFlag, MonitorElement*> problem_map_oot[2];
68 
69  // Index: [isZS][isHF]
72  std::map<ErrorFlag, MonitorElement*> problem_et[2][2];
73 
74  // Index: [isZS][isHF], for OOT TPs
77  std::map<ErrorFlag, MonitorElement*> problem_et_oot[2][2];
78 
84 
88 };
89 #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)
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)
edm::EDGetTokenT< HcalTrigPrimDigiCollection > tok_data_
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:41
std::map< ErrorFlag, MonitorElement * > problem_map[2]
MonitorElement * tp_corr[2][2]
MonitorElement * create_summary(const std::string &folder, const std::string &name)