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
DQMEDHarvester.h
DTGeometry
Definition: DTGeometry.h:28
DTNoiseAnalysisTest::summaryNoiseHisto
MonitorElement * summaryNoiseHisto
Definition: DTNoiseAnalysisTest.h:73
DTSuperLayerId
Definition: DTSuperLayerId.h:12
DTNoiseAnalysisTest::getMEName
std::string getMEName(const DTChamberId &chID)
Get the ME name.
Definition: DTNoiseAnalysisTest.cc:202
DTNoiseAnalysisTest::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
DQM Client Diagnostic.
Definition: DTNoiseAnalysisTest.cc:59
ESHandle.h
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
DTNoiseAnalysisTest::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &context) override
BeginRun.
Definition: DTNoiseAnalysisTest.cc:54
DTNoiseAnalysisTest::glbSummarySynchNoiseHisto
MonitorElement * glbSummarySynchNoiseHisto
Definition: DTNoiseAnalysisTest.h:76
DTNoiseAnalysisTest::noiseHistos
std::map< int, MonitorElement * > noiseHistos
Definition: DTNoiseAnalysisTest.h:71
DQMStore.h
DTNoiseAnalysisTest::bookingdone
bool bookingdone
Definition: DTNoiseAnalysisTest.h:62
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
EDAnalyzer.h
DTNoiseAnalysisTest::nMinEvts
int nMinEvts
Definition: DTNoiseAnalysisTest.h:60
DTNoiseAnalysisTest::doSynchNoise
bool doSynchNoise
Definition: DTNoiseAnalysisTest.h:78
DTNoiseAnalysisTest::noisyCellDef
int noisyCellDef
Definition: DTNoiseAnalysisTest.h:68
DTNoiseAnalysisTest::bookHistos
void bookHistos(DQMStore::IBooker &)
book the summary histograms
Definition: DTNoiseAnalysisTest.cc:218
edm::ESHandle< DTGeometry >
DTNoiseAnalysisTest::getSynchNoiseMEName
std::string getSynchNoiseMEName(int wheelId) const
Definition: DTNoiseAnalysisTest.cc:279
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTNoiseAnalysisTest
Definition: DTNoiseAnalysisTest.h:30
DTNoiseAnalysisTest::nevents
int nevents
Definition: DTNoiseAnalysisTest.h:59
DTNoiseAnalysisTest::muonGeom
edm::ESHandle< DTGeometry > muonGeom
Definition: DTNoiseAnalysisTest.h:65
edm::ParameterSet
Definition: ParameterSet.h:47
DTNoiseAnalysisTest::noisyCellHistos
std::map< int, MonitorElement * > noisyCellHistos
Definition: DTNoiseAnalysisTest.h:72
DTNoiseAnalysisTest::detailedAnalysis
bool detailedAnalysis
Definition: DTNoiseAnalysisTest.h:79
edm::EventSetup
Definition: EventSetup.h:58
DTNoiseAnalysisTest::threshChannelsHisto
MonitorElement * threshChannelsHisto
Definition: DTNoiseAnalysisTest.h:74
DTNoiseAnalysisTest::~DTNoiseAnalysisTest
~DTNoiseAnalysisTest() override
Destructor.
Definition: DTNoiseAnalysisTest.cc:50
DQMEDHarvester
Definition: DQMEDHarvester.py:1
DTNoiseAnalysisTest::maxSynchNoiseRate
double maxSynchNoiseRate
Definition: DTNoiseAnalysisTest.h:80
writedatasetfile.run
run
Definition: writedatasetfile.py:27
DTNoiseAnalysisTest::summarySynchNoiseHisto
MonitorElement * summarySynchNoiseHisto
Definition: DTNoiseAnalysisTest.h:75
Frameworkfwd.h
DTNoiseAnalysisTest::DTNoiseAnalysisTest
DTNoiseAnalysisTest(const edm::ParameterSet &ps)
Constructor.
Definition: DTNoiseAnalysisTest.cc:33
dqm::implementation::IGetter
Definition: DQMStore.h:484
DTNoiseAnalysisTest::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: DTNoiseAnalysisTest.cc:288
dqm::implementation::IBooker
Definition: DQMStore.h:43
DTChamberId
Definition: DTChamberId.h:14