CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTNoiseAnalysisTest.h
Go to the documentation of this file.
1 #ifndef DTNoiseAnalysisTest_H
2 #define DTNoiseAnalysisTest_H
3 
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
67 
68  // paramaters from cfg
70 
71  // wheel summary histograms
72  std::map<int, MonitorElement*> noiseHistos;
73  std::map<int, MonitorElement*> noisyCellHistos;
78 
82 };
83 
84 #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
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
std::string getSynchNoiseMEName(int wheelId) const
~DTNoiseAnalysisTest() override
Destructor.
MonitorElement * summaryNoiseHisto
DTNoiseAnalysisTest(const edm::ParameterSet &ps)
Constructor.
Definition: Run.h:45