CMS 3D CMS Logo

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  ~DTNoiseAnalysisTest() override;
46 
47 protected:
48 
50  void beginRun(edm::Run const& run, edm::EventSetup const& context) override ;
51 
53 
55 
58 
59  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
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 beginRun(edm::Run const &run, edm::EventSetup const &context) override
BeginRun.
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
void bookHistos(DQMStore::IBooker &)
book the summary histograms
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
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
~DTNoiseAnalysisTest() override
Destructor.
MonitorElement * summaryNoiseHisto
DTNoiseAnalysisTest(const edm::ParameterSet &ps)
Constructor.
Definition: Run.h:43