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