CMS 3D CMS Logo

NoiseRates.h
Go to the documentation of this file.
1 #ifndef _ANOMALOUSNOISE_ANALYZERS_NOISERATES_H_
2 #define _ANOMALOUSNOISE_ANALYZERS_NOISERATES_H_
3 
4 //
5 // NoiseRates.h
6 //
7 // description: Makes plots to calculate the anomalous noise rates
8 //
9 // author: J.P. Chou, Brown
10 //
11 //
12 
13 // system include files
14 #include <memory>
15 #include <string>
16 #include <vector>
17 
18 // user include files
22 
25 
27 
29 
31 
33 
34 // Hcal Hoise Summary
36 
37 //
38 // class declaration
39 //
40 
41 class NoiseRates : public DQMEDAnalyzer {
42 public:
43  explicit NoiseRates(const edm::ParameterSet &);
44  ~NoiseRates() override = default;
45 
46  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
47 
48 private:
49  void analyze(const edm::Event &, const edm::EventSetup &) override;
50 
52 
53  // parameters
54  const edm::InputTag rbxCollName_; // label for the rbx collection
55  const double minRBXEnergy_; // RBX energy threshold
56  const double minHitEnergy_; // RecHit energy threshold
57  const bool useAllHistos_;
58 
60  // Hcal Noise Summary Parameters
62 
69 
70  // Hcal Noise Summary Plots
71 
75 
79 
83 
87 
88  // count lumi segments
89  std::map<int, int> lumiCountMap_;
90 };
91 
92 #endif
MonitorElement * sNNumChannels_
Definition: NoiseRates.h:76
MonitorElement * hRBXEnergy_
Definition: NoiseRates.h:64
const double minHitEnergy_
Definition: NoiseRates.h:56
const bool useAllHistos_
Definition: NoiseRates.h:57
MonitorElement * hNoise_maxHPDNoOtherHits_
Definition: NoiseRates.h:86
const edm::EDGetTokenT< reco::HcalNoiseRBXCollection > tok_rbx_
Definition: NoiseRates.h:59
const edm::EDGetTokenT< HcalNoiseSummary > noisetoken_
Definition: NoiseRates.h:61
MonitorElement * hRBXEnergyType3_
Definition: NoiseRates.h:67
MonitorElement * hLumiBlockCount_
Definition: NoiseRates.h:63
MonitorElement * hRBXNHits_
Definition: NoiseRates.h:68
MonitorElement * nNNumChannels_
Definition: NoiseRates.h:72
std::map< int, int > lumiCountMap_
Definition: NoiseRates.h:89
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: NoiseRates.cc:34
MonitorElement * hNoise_maxZeros_
Definition: NoiseRates.h:84
MonitorElement * iNNumChannels_
Definition: NoiseRates.h:80
MonitorElement * hRBXEnergyType2_
Definition: NoiseRates.h:66
NoiseRates(const edm::ParameterSet &)
Definition: NoiseRates.cc:17
MonitorElement * hNoise_maxHPDHits_
Definition: NoiseRates.h:85
MonitorElement * iNSumEt_
Definition: NoiseRates.h:82
MonitorElement * sNSumEt_
Definition: NoiseRates.h:78
MonitorElement * hRBXEnergyType1_
Definition: NoiseRates.h:65
MonitorElement * nNSumEt_
Definition: NoiseRates.h:74
MonitorElement * iNSumE_
Definition: NoiseRates.h:81
MonitorElement * nNSumE_
Definition: NoiseRates.h:73
MonitorElement * sNSumE_
Definition: NoiseRates.h:77
const edm::InputTag rbxCollName_
Definition: NoiseRates.h:54
~NoiseRates() override=default
const double minRBXEnergy_
Definition: NoiseRates.h:55
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: NoiseRates.cc:93
const std::string outputFile_
Definition: NoiseRates.h:51
Definition: Run.h:45