CMS 3D CMS Logo

HcalNoiseRates.h
Go to the documentation of this file.
1 #ifndef _DQMOFFLINE_HCAL_HCALNOISERATES_H_
2 #define _DQMOFFLINE_HCAL_HCALNOISERATES_H_
3 
4 //
5 // NoiseRates.h
6 //
7 // description: Makes plots to calculate the anomalous noise rates
8 //
9 // author: K. Hatakeyama, H. Liu, Baylor
10 //
11 //
12 
13 // system include files
14 #include <memory>
15 #include <string>
16 #include <vector>
17 
18 // user include files
22 
25 
27 
31 
33 
35 
36 // Hcal Hoise Summary
38 
39 //
40 // class declaration
41 //
42 
43 class HcalNoiseRates : public DQMEDAnalyzer {
44 public:
45  explicit HcalNoiseRates(const edm::ParameterSet &);
46  ~HcalNoiseRates() override;
47 
48 private:
49  void beginJob() override;
50  void analyze(const edm::Event &, const edm::EventSetup &) override;
51  void endJob() override;
52  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 
63  // Hcal Noise Summary Parameters
65 
72 
73  // count lumi segments
74  std::map<int, int> lumiCountMap_;
75 
76  // Hcal Noise Summary Plots
77 
81 
85 
89 
93 };
94 
95 #endif
MonitorElement * nNNumChannels_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
HcalNoiseRates(const edm::ParameterSet &)
edm::InputTag rbxCollName_
MonitorElement * hRBXEnergyType1_
void beginJob() override
MonitorElement * iNNumChannels_
MonitorElement * hRBXEnergy_
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * sNNumChannels_
MonitorElement * hRBXEnergyType2_
void endJob() override
MonitorElement * nNSumE_
MonitorElement * hNoise_maxHPDNoOtherHits_
MonitorElement * sNSumEt_
edm::EDGetTokenT< reco::HcalNoiseRBXCollection > tok_rbx_
edm::EDGetTokenT< HcalNoiseSummary > noisetoken_
MonitorElement * hNoise_maxHPDHits_
std::string outputFile_
MonitorElement * hRBXEnergyType3_
double minHitEnergy_
MonitorElement * nNSumEt_
~HcalNoiseRates() override
MonitorElement * hLumiBlockCount_
MonitorElement * sNSumE_
std::map< int, int > lumiCountMap_
MonitorElement * iNSumEt_
MonitorElement * iNSumE_
double minRBXEnergy_
MonitorElement * hNoise_maxZeros_
MonitorElement * hRBXNHits_
Definition: Run.h:45