CMS 3D CMS Logo

SiStripMonitorQuality.h
Go to the documentation of this file.
1 #ifndef SiStripMonitorQuality_SiStripMonitorQuality_h
2 #define SiStripMonitorQuality_SiStripMonitorQuality_h
3 // -*- C++ -*-
4 //
5 // Package: SiStripMonitorQuality
6 // Class : SiStripMonitorQuality
7 //
16 //
17 // Original Author: dutta
18 // Created: Fri Dec 7 20:49:51 CET 2007
19 //
20 
21 // system include files
22 #include <memory>
23 
24 // user include files
28 
31 
33 
35 
37 #include <iostream>
38 #include <string>
39 #include <vector>
40 #include <cstdint>
41 
42 class SiStripDetCabling;
43 class SiStripQuality;
44 class TrackerTopology;
45 
47 public:
48  explicit SiStripMonitorQuality(const edm::ParameterSet &);
49  ~SiStripMonitorQuality() override;
50 
51  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
52  void analyze(const edm::Event &, const edm::EventSetup &) override;
53  void dqmEndRun(edm::Run const &run, edm::EventSetup const &eSetup) override;
54  void endJob() override;
55 
56 private:
57  MonitorElement *getQualityME(uint32_t idet, const TrackerTopology *tTopo);
58 
63 
64  std::map<uint32_t, MonitorElement *> QualityMEs;
66 
71 
72  unsigned long long m_cacheID_;
73 };
74 
75 #endif
dqm::impl::MonitorElement
Definition: MonitorElement.h:99
edm::ESWatcher< SiStripQualityRcd >
edm::Run
Definition: Run.h:45
TrackerTopology
Definition: TrackerTopology.h:16
SiStripMonitorQuality::qualityWatcher_
edm::ESWatcher< SiStripQualityRcd > qualityWatcher_
Definition: SiStripMonitorQuality.h:70
SiStripMonitorQuality::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: SiStripMonitorQuality.cc:59
DQMOneEDAnalyzer
Definition: DQMOneEDAnalyzer.h:20
SiStripMonitorQuality::conf_
edm::ParameterSet conf_
Definition: SiStripMonitorQuality.h:60
DQMStore.h
EDAnalyzer.h
SiStripMonitorQuality::QualityMEs
std::map< uint32_t, MonitorElement * > QualityMEs
Definition: SiStripMonitorQuality.h:64
DQMOneEDAnalyzer.h
MakerMacros.h
dqm::legacy::DQMStore
Definition: DQMStore.h:728
SiStripDetCabling
Definition: SiStripDetCabling.h:21
SiStripMonitorQuality::detCabling_
const SiStripDetCabling * detCabling_
Definition: SiStripMonitorQuality.h:61
SiStripMonitorQuality::stripQuality_
const SiStripQuality * stripQuality_
Definition: SiStripMonitorQuality.h:62
SiStripMonitorQuality::dataLabel_
std::string dataLabel_
Definition: SiStripMonitorQuality.h:65
SiStripMonitorQuality::qualityToken_
edm::ESGetToken< SiStripQuality, SiStripQualityRcd > qualityToken_
Definition: SiStripMonitorQuality.h:69
SiStripMonitorQuality::dqmEndRun
void dqmEndRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition: SiStripMonitorQuality.cc:168
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
edm::EventSetup
Definition: EventSetup.h:58
SiStripMonitorQuality::getQualityME
MonitorElement * getQualityME(uint32_t idet, const TrackerTopology *tTopo)
Definition: SiStripMonitorQuality.cc:185
SiStripMonitorQuality::~SiStripMonitorQuality
~SiStripMonitorQuality() override
Definition: SiStripMonitorQuality.cc:54
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripMonitorQuality::tTopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
Definition: SiStripMonitorQuality.h:67
SiStripMonitorQuality
Definition: SiStripMonitorQuality.h:46
writedatasetfile.run
run
Definition: writedatasetfile.py:27
Frameworkfwd.h
ESWatcher.h
SiStripMonitorQuality::endJob
void endJob() override
Definition: SiStripMonitorQuality.cc:178
SiStripMonitorQuality::detCablingToken_
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcd > detCablingToken_
Definition: SiStripMonitorQuality.h:68
dqm::implementation::IBooker
Definition: DQMStore.h:43
SiStripMonitorQuality::dqmStore_
DQMStore * dqmStore_
Definition: SiStripMonitorQuality.h:59
ParameterSet.h
SiStripMonitorQuality::SiStripMonitorQuality
SiStripMonitorQuality(const edm::ParameterSet &)
Definition: SiStripMonitorQuality.cc:43
edm::Event
Definition: Event.h:73
SiStripMonitorQuality::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: SiStripMonitorQuality.cc:118
SiStripMonitorQuality::m_cacheID_
unsigned long long m_cacheID_
Definition: SiStripMonitorQuality.h:72
SiStripQuality
Definition: SiStripQuality.h:32