CMS 3D CMS Logo

SiStripCertificationInfo.h
Go to the documentation of this file.
1 #ifndef SiStripMonitorClient_SiStripCertificationInfo_h
2 #define SiStripMonitorClient_SiStripCertificationInfo_h
3 // -*- C++ -*-
4 //
5 // Package: SiStripMonitorClient
6 // Class : SiStripCertificationInfo
7 //
17 //
18 // Author: Suchandra Dutta
19 // reated: Mon Feb 16 19200:00 CET 2009
20 //
21 
22 #include <string>
23 
31 
32 #include <iostream>
33 #include <fstream>
34 #include <string>
35 #include <vector>
36 #include <map>
37 
38 class SiStripDetCabling;
39 
41 public:
44 
46 
47 private:
48  void beginRun(edm::Run const& run, edm::EventSetup const& eSetup) override;
49  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& iSetup) override;
50  void endRun(edm::Run const& run, edm::EventSetup const& eSetup) override;
51  void analyze(edm::Event const&, edm::EventSetup const&) override;
52 
53  void bookSiStripCertificationMEs(DQMStore& dqm_store);
54  void resetSiStripCertificationMEs(DQMStore& dqm_store);
55  void fillSiStripCertificationMEs(DQMStore& dqm_store, edm::EventSetup const& eSetup);
56 
57  void fillDummySiStripCertification(DQMStore& dqm_store);
59 
60  struct SubDetMEs {
64  int n_layer;
65  };
66 
69  std::map<std::string, SubDetMEs> SubDetMEsMap{};
71 
73  unsigned long long m_cacheID_{};
74 
76 
78 };
79 #endif
SiStripCertificationInfo::endLuminosityBlock
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &iSetup) override
Definition: SiStripCertificationInfo.cc:154
SiStripCertificationInfo::SubDetMEs::n_layer
int n_layer
Definition: SiStripCertificationInfo.h:64
SiStripCertificationInfo::SiStripCertificationMap
MonitorElement * SiStripCertificationMap
Definition: SiStripCertificationInfo.h:68
ESHandle.h
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
LuminosityBlock.h
SiStripCertificationInfo::resetSiStripCertificationMEs
void resetSiStripCertificationMEs(DQMStore &dqm_store)
Definition: SiStripCertificationInfo.cc:268
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
EDAnalyzer.h
SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi
void fillSiStripCertificationMEsAtLumi(DQMStore &dqm_store)
Definition: SiStripCertificationInfo.cc:302
SiStripCertificationInfo::SiStripCertificationInfo
SiStripCertificationInfo(const edm::ParameterSet &ps)
Definition: SiStripCertificationInfo.cc:32
SiStripCertificationInfo::MonitorElement
dqm::harvesting::MonitorElement MonitorElement
Definition: SiStripCertificationInfo.h:42
SiStripCertificationInfo::detCabling_
edm::ESHandle< SiStripDetCabling > detCabling_
Definition: SiStripCertificationInfo.h:75
SiStripCertificationInfo::SubDetMEs::subdet_tag
std::string subdet_tag
Definition: SiStripCertificationInfo.h:63
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
SiStripCertificationInfo
Definition: SiStripCertificationInfo.h:40
dqm::legacy::DQMStore
Definition: DQMStore.h:727
SiStripDetCabling
Definition: SiStripDetCabling.h:21
Run.h
edm::ESHandle< SiStripDetCabling >
SiStripCertificationInfo::nFEDConnected_
int nFEDConnected_
Definition: SiStripCertificationInfo.h:77
SiStripCertificationInfo::sistripCertificationBooked_
bool sistripCertificationBooked_
Definition: SiStripCertificationInfo.h:72
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripCertificationInfo::fillDummySiStripCertification
void fillDummySiStripCertification(DQMStore &dqm_store)
Definition: SiStripCertificationInfo.cc:283
edm::ParameterSet
Definition: ParameterSet.h:47
SiStripCertificationInfo::endRun
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition: SiStripCertificationInfo.cc:163
SiStripCertificationInfo::SubDetMEsMap
std::map< std::string, SubDetMEs > SubDetMEsMap
Definition: SiStripCertificationInfo.h:69
edm::EventSetup
Definition: EventSetup.h:57
SiStripCertificationInfo::SubDetMEs
Definition: SiStripCertificationInfo.h:60
SiStripCertificationInfo::bookSiStripCertificationMEs
void bookSiStripCertificationMEs(DQMStore &dqm_store)
Definition: SiStripCertificationInfo.cc:68
SiStripCertificationInfo::SubDetMEs::det_fractionME
MonitorElement * det_fractionME
Definition: SiStripCertificationInfo.h:61
writedatasetfile.run
run
Definition: writedatasetfile.py:27
SiStripCertificationInfo::SiStripCertificationSummaryMap
MonitorElement * SiStripCertificationSummaryMap
Definition: SiStripCertificationInfo.h:70
SiStripCertificationInfo::fillSiStripCertificationMEs
void fillSiStripCertificationMEs(DQMStore &dqm_store, edm::EventSetup const &eSetup)
Definition: SiStripCertificationInfo.cc:175
EventSetup.h
SiStripCertificationInfo::SubDetMEs::folder_name
std::string folder_name
Definition: SiStripCertificationInfo.h:62
SiStripCertificationInfo::SiStripCertification
MonitorElement * SiStripCertification
Definition: SiStripCertificationInfo.h:67
ParameterSet.h
edm::Event
Definition: Event.h:73
SiStripCertificationInfo::m_cacheID_
unsigned long long m_cacheID_
Definition: SiStripCertificationInfo.h:73
SiStripCertificationInfo::DQMStore
dqm::harvesting::DQMStore DQMStore
Definition: SiStripCertificationInfo.h:43
SiStripCertificationInfo::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition: SiStripCertificationInfo.cc:37
SiStripCertificationInfo::analyze
void analyze(edm::Event const &, edm::EventSetup const &) override
Definition: SiStripCertificationInfo.cc:152