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