CMS 3D CMS Logo

DTNoiseAnalysisTest.h
Go to the documentation of this file.
1 #ifndef DTNoiseAnalysisTest_H
2 #define DTNoiseAnalysisTest_H
3 
20 
21 #include <iostream>
22 #include <string>
23 #include <map>
24 
25 class DTGeometry;
26 class DTChamberId;
27 class DTSuperLayerId;
28 
30 public:
33 
35  ~DTNoiseAnalysisTest() override;
36 
37 protected:
39  void beginRun(edm::Run const& run, edm::EventSetup const& context) override;
40 
42 
44 
48  edm::LuminosityBlock const&,
49  edm::EventSetup const&) override;
50 
52 
53 private:
55  std::string getMEName(const DTChamberId& chID);
56  std::string getSynchNoiseMEName(int wheelId) const;
57 
58  int nevents;
59  int nMinEvts;
60 
62 
63  // 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
void beginRun(edm::Run const &run, edm::EventSetup const &context) override
BeginRun.
std::map< int, MonitorElement * > noisyCellHistos
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
std::string getSynchNoiseMEName(int wheelId) const
void bookHistos(DQMStore::IBooker &)
book the summary histograms
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
DQM Client Diagnostic.
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
std::string getMEName(const DTChamberId &chID)
Get the ME name.
MonitorElement * summarySynchNoiseHisto
std::map< int, MonitorElement * > noiseHistos
const DTGeometry * muonGeom
MonitorElement * glbSummarySynchNoiseHisto
~DTNoiseAnalysisTest() override
Destructor.
MonitorElement * summaryNoiseHisto
DTNoiseAnalysisTest(const edm::ParameterSet &ps)
Constructor.
Definition: Run.h:45