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 //
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 //Hcal Hoise Summary
40 
41 //
42 // class declaration
43 //
44 
45 class HcalNoiseRates : public DQMEDAnalyzer {
46  public:
47  explicit HcalNoiseRates(const edm::ParameterSet&);
48  ~HcalNoiseRates() override;
49 
50 
51  private:
52  void beginJob() override;
53  void analyze(const edm::Event&, const edm::EventSetup&) override;
54  void endJob() override;
55  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
56 
58 
59  // parameters
60  edm::InputTag rbxCollName_; // label for the rbx collection
62  double minRBXEnergy_; // RBX energy threshold
63  double minHitEnergy_; // RecHit energy threshold
65 
66  //Hcal Noise Summary Parameters
68 
75 
76  // count lumi segments
77  std::map<int, int> lumiCountMap_;
78 
79  //Hcal Noise Summary Plots
80 
84 
88 
92 
96 
97 };
98 
99 
100 #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:44