test
CMS 3D CMS Logo

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