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 
17 
18 
19 #include <iostream>
20 #include <string>
21 #include <map>
22 
23 
24 
25 
26 class DTGeometry;
27 class DTChamberId;
28 class DTSuperLayerId;
29 class DQMStore;
30 class MonitorElement;
31 
33 
34 public:
35 
38 
40  virtual ~DTNoiseAnalysisTest();
41 
42 protected:
43 
45  void beginJob();
46 
48  void beginRun(edm::Run const& run, edm::EventSetup const& context) ;
49 
51  void analyze(const edm::Event& e, const edm::EventSetup& c);
52 
54  void bookHistos();
55 
56  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
57 
59  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
60 
61 
62 private:
63 
65  std::string getMEName(const DTChamberId & chID);
66  std::string getSynchNoiseMEName(int wheelId) const;
67 
68 
69  int nevents;
70  int nMinEvts;
71 
73 
74  // the dt geometry
76 
77  // paramaters from cfg
79 
80  // wheel summary histograms
81  std::map< int, MonitorElement* > noiseHistos;
82  std::map< int, MonitorElement* > noisyCellHistos;
87 
91 };
92 
93 #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:41
virtual ~DTNoiseAnalysisTest()
Destructor.