CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalNoiseRates.h
Go to the documentation of this file.
1 #ifndef _DQMOFFLINE_HCAL_HCALNOISERATES_H_
2 #define _DQMOFFLINE_HCAL_HCALNOISERATES_H_
3 
4 
5 //
6 // NoiseRates.h
7 //
8 // description: Makes plots to calculate the anomalous noise rates
9 //
10 // author: K. Hatakeyama, H. Liu, Baylor
11 //
12 //
13 
14 // system include files
15 #include <memory>
16 #include <string>
17 #include <vector>
18 
19 // user include files
23 
26 
28 
32 
33 
35 
37 
38 //
39 // class declaration
40 //
41 
42 class HcalNoiseRates : public DQMEDAnalyzer {
43  public:
44  explicit HcalNoiseRates(const edm::ParameterSet&);
46 
47 
48  private:
49  virtual void beginJob();
50  virtual void analyze(const edm::Event&, const edm::EventSetup&);
51  virtual void endJob();
52  virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
53 
55 
56  // parameters
57  edm::InputTag rbxCollName_; // label for the rbx collection
59  double minRBXEnergy_; // RBX energy threshold
60  double minHitEnergy_; // RecHit energy threshold
62 
69 
70  // count lumi segments
71  std::map<int, int> lumiCountMap_;
72 
73 };
74 
75 
76 #endif
virtual void endJob()
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
HcalNoiseRates(const edm::ParameterSet &)
virtual void beginJob()
edm::InputTag rbxCollName_
MonitorElement * hRBXEnergyType1_
MonitorElement * hRBXEnergy_
MonitorElement * hRBXEnergyType2_
edm::EDGetTokenT< reco::HcalNoiseRBXCollection > tok_rbx_
std::string outputFile_
MonitorElement * hRBXEnergyType3_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
double minHitEnergy_
MonitorElement * hLumiBlockCount_
std::map< int, int > lumiCountMap_
double minRBXEnergy_
MonitorElement * hRBXNHits_
Definition: Run.h:41