CMS 3D CMS Logo

DTNoiseAnalysisTest.h
Go to the documentation of this file.
1 #ifndef DTNoiseAnalysisTest_H
2 #define DTNoiseAnalysisTest_H
3 
19 
21 
22 #include <iostream>
23 #include <string>
24 #include <map>
25 
26 class DTGeometry;
27 class DTChamberId;
28 class DTSuperLayerId;
29 
31 public:
34 
36  ~DTNoiseAnalysisTest() override;
37 
38 protected:
40  void beginRun(edm::Run const& run, edm::EventSetup const& context) override;
41 
43 
45 
49  edm::LuminosityBlock const&,
50  edm::EventSetup const&) override;
51 
53 
54 private:
56  std::string getMEName(const DTChamberId& chID);
57  std::string getSynchNoiseMEName(int wheelId) const;
58 
59  int nevents;
60  int nMinEvts;
61 
63 
64  // the dt geometry
66 
67  // paramaters from cfg
69 
70  // wheel summary histograms
71  std::map<int, MonitorElement*> noiseHistos;
72  std::map<int, MonitorElement*> noisyCellHistos;
77 
81 };
82 
83 #endif
MonitorElement * threshChannelsHisto
edm::ESHandle< DTGeometry > muonGeom
void beginRun(edm::Run const &run, edm::EventSetup const &context) override
BeginRun.
std::map< int, MonitorElement * > noisyCellHistos
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
std::map< int, MonitorElement * > noiseHistos
MonitorElement * glbSummarySynchNoiseHisto
std::string getSynchNoiseMEName(int wheelId) const
~DTNoiseAnalysisTest() override
Destructor.
MonitorElement * summaryNoiseHisto
DTNoiseAnalysisTest(const edm::ParameterSet &ps)
Constructor.
Definition: Run.h:45