CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalCoarsePedestalMonitor.h
Go to the documentation of this file.
1 #ifndef DQM_HCALMONITORTASKS_HCALCOARSEPEDESTALDQMONITOR_H
2 #define DQM_HCALMONITORTASKS_HCALCOARSEPEDESTALDQMONITOR_H
3 
9 
17 public:
20 
21  void setup();
22  void beginRun(const edm::Run& run, const edm::EventSetup& c);
23  void cleanup();
24 
25  void analyze(const edm::Event& e, const edm::EventSetup& c);
26 
27  void processEvent(const HBHEDigiCollection& hbhe,
28  const HODigiCollection& ho,
29  const HFDigiCollection& hf,
30  const HcalUnpackerReport& report);
31 
32 
33  // Begin LumiBlock
34  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
35  const edm::EventSetup& c) ;
36 
37  // End LumiBlock
38  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
39  const edm::EventSetup& c);
40 
41 
42  void endRun(const edm::Run& run, const edm::EventSetup& c);
43  void endJob();
44  void reset();
45 
46 private:
47 
48  void fill_Nevents();
49  void zeroCounters();
50 
51  // Store sum of pedestal values over all events
54 
55  double pedestalsum_[85][72][4]; // sum of pedestal values over all events
56  int pedestalocc_[85][72][4];
57 
58  double ADCDiffThresh_; // store difference value that causes channel to be considered in error
59 
63 
68 
69 
70 };
71 
72 #endif
edm::EDGetTokenT< HFDigiCollection > tok_hf_
void processEvent(const HBHEDigiCollection &hbhe, const HODigiCollection &ho, const HFDigiCollection &hf, const HcalUnpackerReport &report)
tuple report
Definition: zeeHLT_cff.py:9
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
void endRun(const edm::Run &run, const edm::EventSetup &c)
void analyze(const edm::Event &e, const edm::EventSetup &c)
HcalCoarsePedestalMonitor(const edm::ParameterSet &ps)
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
void fill_Nevents()
Methods, variables accessible only within class code.
void beginRun(const edm::Run &run, const edm::EventSetup &c)
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
edm::EDGetTokenT< HcalUnpackerReport > tok_report_
Definition: Run.h:41
edm::EDGetTokenT< HODigiCollection > tok_ho_