CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTNoiseAnalysisTest.h
Go to the documentation of this file.
1 #ifndef DTNoiseAnalysisTest_H
2 #define DTNoiseAnalysisTest_H
3 
4 
19 
20 
21 #include <iostream>
22 #include <string>
23 #include <map>
24 
25 
26 
27 
28 class DTGeometry;
29 class DTChamberId;
30 class DTSuperLayerId;
31 class DQMStore;
32 class MonitorElement;
33 
35 
36 public:
37 
40 
42  virtual ~DTNoiseAnalysisTest();
43 
44 protected:
45 
47  void beginJob();
48 
50  void beginRun(edm::Run const& run, edm::EventSetup const& context) ;
51 
53  void analyze(const edm::Event& e, const edm::EventSetup& c);
54 
56  void bookHistos();
57 
58  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
59 
61  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
62 
63 
64 private:
65 
67  std::string getMEName(const DTChamberId & chID);
68  std::string getSynchNoiseMEName(int wheelId) const;
69 
70 
71  int nevents;
72  int nMinEvts;
73 
75 
76  // the dt geometry
78 
79  // paramaters from cfg
81 
82  // wheel summary histograms
83  std::map< int, MonitorElement* > noiseHistos;
84  std::map< int, MonitorElement* > noisyCellHistos;
89 
93 };
94 
95 #endif
MonitorElement * threshChannelsHisto
std::map< int, MonitorElement * > noisyCellHistos
edm::ESHandle< DTGeometry > muonGeom
void beginJob()
BeginJob.
void bookHistos()
book the summary histograms
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
DQM Client Diagnostic.
std::string getMEName(const DTChamberId &chID)
Get the ME name.
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
MonitorElement * summarySynchNoiseHisto
MonitorElement * glbSummarySynchNoiseHisto
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
std::map< int, MonitorElement * > noiseHistos
std::string getSynchNoiseMEName(int wheelId) const
MonitorElement * summaryNoiseHisto
DTNoiseAnalysisTest(const edm::ParameterSet &ps)
Constructor.
void beginRun(edm::Run const &run, edm::EventSetup const &context)
BeginRun.
Definition: Run.h:36
virtual ~DTNoiseAnalysisTest()
Destructor.