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> ZSAlarmThreshold_;
35 
36  MonitorElement* create_summary(const std::string& folder, const std::string& name);
37  MonitorElement* create_errorflag(const std::string& folder, const std::string& name);
38  MonitorElement* create_tp_correlation(const std::string& folder, const std::string& name);
39  MonitorElement* create_fg_correlation(const std::string& folder, const std::string& name);
40  MonitorElement* create_map(const std::string& folder, const std::string& name);
41  MonitorElement* create_et_histogram(const std::string& folder, const std::string& name);
42 
43  enum ErrorFlag{
44  kZeroTP=-1,
45  kMatched = 0,
52  };
53 
54  // Index: [isZS]
58  std::map<ErrorFlag, MonitorElement*> problem_map[2];
59 
60  // Index: [isZS][isHF]
63  std::map<ErrorFlag, MonitorElement*> problem_et[2][2];
64 
70 
74 };
75 #endif
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 * 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)
std::map< ErrorFlag, MonitorElement * > problem_et[2][2]
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)
HcalTrigPrimMonitor(const edm::ParameterSet &ps)
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:32
std::map< ErrorFlag, MonitorElement * > problem_map[2]
MonitorElement * tp_corr[2][2]
MonitorElement * create_summary(const std::string &folder, const std::string &name)