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 
20 
22 
23 
24 #include <iostream>
25 #include <string>
26 #include <map>
27 
28 
29 
30 
31 class DTGeometry;
32 class DTChamberId;
33 class DTSuperLayerId;
34 class DQMStore;
35 class MonitorElement;
36 
38 
39 public:
40 
43 
45  virtual ~DTNoiseAnalysisTest();
46 
47 protected:
48 
50  void beginRun(edm::Run const& run, edm::EventSetup const& context) ;
51 
53 
55 
58 
60 
61 private:
62 
64  std::string getMEName(const DTChamberId & chID);
65  std::string getSynchNoiseMEName(int wheelId) const;
66 
67 
68  int nevents;
69  int nMinEvts;
70 
72 
73  // the dt geometry
75 
76  // paramaters from cfg
78 
79  // wheel summary histograms
80  std::map< int, MonitorElement* > noiseHistos;
81  std::map< int, MonitorElement* > noisyCellHistos;
86 
90 };
91 
92 #endif
MonitorElement * threshChannelsHisto
std::map< int, MonitorElement * > noisyCellHistos
edm::ESHandle< DTGeometry > muonGeom
void bookHistos(DQMStore::IBooker &)
book the summary histograms
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
DQM Client Diagnostic.
std::string getMEName(const DTChamberId &chID)
Get the ME name.
MonitorElement * summarySynchNoiseHisto
MonitorElement * glbSummarySynchNoiseHisto
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:43
virtual ~DTNoiseAnalysisTest()
Destructor.
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &)