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
NoiseRates::outputFile_
std::string outputFile_
Definition: NoiseRates.h:51
NoiseRates::sNSumE_
MonitorElement * sNSumE_
Definition: NoiseRates.h:78
NoiseRates::hLumiBlockCount_
MonitorElement * hLumiBlockCount_
Definition: NoiseRates.h:64
dqm::impl::MonitorElement
Definition: MonitorElement.h:99
HcalNoiseSummary.h
HcalNoiseRBX.h
NoiseRates::noisetoken_
edm::EDGetTokenT< HcalNoiseSummary > noisetoken_
Definition: NoiseRates.h:62
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< reco::HcalNoiseRBXCollection >
NoiseRates::iNNumChannels_
MonitorElement * iNNumChannels_
Definition: NoiseRates.h:81
DQMStore.h
NoiseRates::~NoiseRates
~NoiseRates() override
Definition: NoiseRates.cc:34
NoiseRates::minHitEnergy_
double minHitEnergy_
Definition: NoiseRates.h:57
NoiseRates::hNoise_maxHPDNoOtherHits_
MonitorElement * hNoise_maxHPDNoOtherHits_
Definition: NoiseRates.h:87
MakerMacros.h
NoiseRates::sNNumChannels_
MonitorElement * sNNumChannels_
Definition: NoiseRates.h:77
NoiseRates::hNoise_maxZeros_
MonitorElement * hNoise_maxZeros_
Definition: NoiseRates.h:85
Service.h
NoiseRates::hRBXEnergyType3_
MonitorElement * hRBXEnergyType3_
Definition: NoiseRates.h:68
NoiseRates::NoiseRates
NoiseRates(const edm::ParameterSet &)
Definition: NoiseRates.cc:17
NoiseRates::iNSumEt_
MonitorElement * iNSumEt_
Definition: NoiseRates.h:83
NoiseRates::useAllHistos_
bool useAllHistos_
Definition: NoiseRates.h:59
NoiseRates::nNNumChannels_
MonitorElement * nNNumChannels_
Definition: NoiseRates.h:73
NoiseRates::hRBXNHits_
MonitorElement * hRBXNHits_
Definition: NoiseRates.h:69
NoiseRates::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: NoiseRates.cc:40
NoiseRates::hRBXEnergyType2_
MonitorElement * hRBXEnergyType2_
Definition: NoiseRates.h:67
NoiseRates::hNoise_maxHPDHits_
MonitorElement * hNoise_maxHPDHits_
Definition: NoiseRates.h:86
DQMEDAnalyzer.h
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
NoiseRates::sNSumEt_
MonitorElement * sNSumEt_
Definition: NoiseRates.h:79
NoiseRates
Definition: NoiseRates.h:41
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
edm::EventSetup
Definition: EventSetup.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
NoiseRates::minRBXEnergy_
double minRBXEnergy_
Definition: NoiseRates.h:56
NoiseRates::rbxCollName_
edm::InputTag rbxCollName_
Definition: NoiseRates.h:54
Frameworkfwd.h
NoiseRates::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: NoiseRates.cc:99
NoiseRates::tok_rbx_
edm::EDGetTokenT< reco::HcalNoiseRBXCollection > tok_rbx_
Definition: NoiseRates.h:55
NoiseRates::iNSumE_
MonitorElement * iNSumE_
Definition: NoiseRates.h:82
EventSetup.h
NoiseRates::nNSumE_
MonitorElement * nNSumE_
Definition: NoiseRates.h:74
dqm::implementation::IBooker
Definition: DQMStore.h:43
NoiseRates::hRBXEnergyType1_
MonitorElement * hRBXEnergyType1_
Definition: NoiseRates.h:66
ParameterSet.h
NoiseRates::lumiCountMap_
std::map< int, int > lumiCountMap_
Definition: NoiseRates.h:90
NoiseRates::nNSumEt_
MonitorElement * nNSumEt_
Definition: NoiseRates.h:75
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15
NoiseRates::hRBXEnergy_
MonitorElement * hRBXEnergy_
Definition: NoiseRates.h:65