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 //
37 // class declaration
38 //
39 
40 class NoiseRates : public DQMEDAnalyzer {
41  public:
42  explicit NoiseRates(const edm::ParameterSet&);
43  ~NoiseRates();
44 
45  virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &);
46 
47  private:
48  virtual void analyze(const edm::Event&, const edm::EventSetup&);
49 
51 
52  // parameters
53  edm::InputTag rbxCollName_; // label for the rbx collection
55  double minRBXEnergy_; // RBX energy threshold
56  double minHitEnergy_; // RecHit energy threshold
58 
65 
66  // count lumi segments
67  std::map<int, int> lumiCountMap_;
68 
69 };
70 
71 
72 #endif
MonitorElement * hRBXEnergy_
Definition: NoiseRates.h:60
std::string outputFile_
Definition: NoiseRates.h:50
bool useAllHistos_
Definition: NoiseRates.h:57
MonitorElement * hRBXEnergyType3_
Definition: NoiseRates.h:63
MonitorElement * hLumiBlockCount_
Definition: NoiseRates.h:59
MonitorElement * hRBXNHits_
Definition: NoiseRates.h:64
std::map< int, int > lumiCountMap_
Definition: NoiseRates.h:67
double minRBXEnergy_
Definition: NoiseRates.h:55
MonitorElement * hRBXEnergyType2_
Definition: NoiseRates.h:62
NoiseRates(const edm::ParameterSet &)
Definition: NoiseRates.cc:17
edm::InputTag rbxCollName_
Definition: NoiseRates.h:53
MonitorElement * hRBXEnergyType1_
Definition: NoiseRates.h:61
double minHitEnergy_
Definition: NoiseRates.h:56
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
Definition: NoiseRates.cc:44
edm::EDGetTokenT< reco::HcalNoiseRBXCollection > tok_rbx_
Definition: NoiseRates.h:54
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: NoiseRates.cc:77
Definition: Run.h:41