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 
34 
35 //
36 // class declaration
37 //
38 
39 class NoiseRates : public edm::EDAnalyzer {
40  public:
41  explicit NoiseRates(const edm::ParameterSet&);
42  ~NoiseRates();
43 
44 
45  private:
46  virtual void beginJob();
47  virtual void analyze(const edm::Event&, const edm::EventSetup&);
48  virtual void endJob();
49 
51  std::string outputFile_;
52 
53  // parameters
54  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:51
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:18
edm::InputTag rbxCollName_
Definition: NoiseRates.h:54
MonitorElement * hRBXEnergyType1_
Definition: NoiseRates.h:61
double minHitEnergy_
Definition: NoiseRates.h:56
DQMStore * dbe_
Definition: NoiseRates.h:50
virtual void endJob()
Definition: NoiseRates.cc:123
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: NoiseRates.cc:78
virtual void beginJob()
Definition: NoiseRates.cc:119