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 
30 
32 
34 
35 // Hcal Hoise Summary
37 
38 //
39 // class declaration
40 //
41 
42 class NoiseRates : public DQMEDAnalyzer {
43 public:
44  explicit NoiseRates(const edm::ParameterSet &);
45  ~NoiseRates() override;
46 
47  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
48 
49 private:
50  void analyze(const edm::Event &, const edm::EventSetup &) override;
51 
53 
54  // parameters
55  edm::InputTag rbxCollName_; // label for the rbx collection
57  double minRBXEnergy_; // RBX energy threshold
58  double minHitEnergy_; // RecHit energy threshold
59 
61 
62  // Hcal Noise Summary Parameters
64 
71 
72  // Hcal Noise Summary Plots
73 
77 
81 
85 
89 
90  // count lumi segments
91  std::map<int, int> lumiCountMap_;
92 };
93 
94 #endif
MonitorElement * sNNumChannels_
Definition: NoiseRates.h:78
MonitorElement * hRBXEnergy_
Definition: NoiseRates.h:66
~NoiseRates() override
Definition: NoiseRates.cc:34
MonitorElement * hNoise_maxHPDNoOtherHits_
Definition: NoiseRates.h:88
std::string outputFile_
Definition: NoiseRates.h:52
edm::EDGetTokenT< HcalNoiseSummary > noisetoken_
Definition: NoiseRates.h:63
bool useAllHistos_
Definition: NoiseRates.h:60
MonitorElement * hRBXEnergyType3_
Definition: NoiseRates.h:69
MonitorElement * hLumiBlockCount_
Definition: NoiseRates.h:65
MonitorElement * hRBXNHits_
Definition: NoiseRates.h:70
MonitorElement * nNNumChannels_
Definition: NoiseRates.h:74
std::map< int, int > lumiCountMap_
Definition: NoiseRates.h:91
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: NoiseRates.cc:40
double minRBXEnergy_
Definition: NoiseRates.h:57
MonitorElement * hNoise_maxZeros_
Definition: NoiseRates.h:86
MonitorElement * iNNumChannels_
Definition: NoiseRates.h:82
MonitorElement * hRBXEnergyType2_
Definition: NoiseRates.h:68
NoiseRates(const edm::ParameterSet &)
Definition: NoiseRates.cc:17
MonitorElement * hNoise_maxHPDHits_
Definition: NoiseRates.h:87
edm::InputTag rbxCollName_
Definition: NoiseRates.h:55
MonitorElement * iNSumEt_
Definition: NoiseRates.h:84
MonitorElement * sNSumEt_
Definition: NoiseRates.h:80
MonitorElement * hRBXEnergyType1_
Definition: NoiseRates.h:67
MonitorElement * nNSumEt_
Definition: NoiseRates.h:76
double minHitEnergy_
Definition: NoiseRates.h:58
MonitorElement * iNSumE_
Definition: NoiseRates.h:83
MonitorElement * nNSumE_
Definition: NoiseRates.h:75
MonitorElement * sNSumE_
Definition: NoiseRates.h:79
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: NoiseRates.cc:99
edm::EDGetTokenT< reco::HcalNoiseRBXCollection > tok_rbx_
Definition: NoiseRates.h:56
Definition: Run.h:45