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 
37 
38 #include <iostream>
39 #include <fstream>
40 #include <string>
41 #include <vector>
42 #include <map>
43 
44 class SiStripDetCabling;
45 class RunInfo;
46 
48 public:
51 
53 
54 private:
55  void beginRun(edm::Run const& run, edm::EventSetup const& eSetup) override;
56  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& iSetup) override;
57  void endRun(edm::Run const& run, edm::EventSetup const& eSetup) override;
58  void analyze(edm::Event const&, edm::EventSetup const&) override;
59 
60  void bookSiStripCertificationMEs(DQMStore& dqm_store);
61  void resetSiStripCertificationMEs(DQMStore& dqm_store);
62  void fillSiStripCertificationMEs(DQMStore& dqm_store, edm::EventSetup const& eSetup);
63 
64  void fillDummySiStripCertification(DQMStore& dqm_store);
66 
67  struct SubDetMEs {
71  int n_layer;
72  };
73 
76  std::map<std::string, SubDetMEs> SubDetMEsMap{};
78 
80 
82 
84 
88 };
89 #endif
SiStripCertificationInfo::endLuminosityBlock
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &iSetup) override
Definition: SiStripCertificationInfo.cc:140
SiStripCertificationInfo::SubDetMEs::n_layer
int n_layer
Definition: SiStripCertificationInfo.h:71
SiStripCertificationInfo::SiStripCertificationMap
MonitorElement * SiStripCertificationMap
Definition: SiStripCertificationInfo.h:75
RunSummaryRcd.h
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:252
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
EDAnalyzer.h
SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi
void fillSiStripCertificationMEsAtLumi(DQMStore &dqm_store)
Definition: SiStripCertificationInfo.cc:286
SiStripCertificationInfo::SiStripCertificationInfo
SiStripCertificationInfo(const edm::ParameterSet &ps)
Definition: SiStripCertificationInfo.cc:22
SiStripCertificationInfo::MonitorElement
dqm::harvesting::MonitorElement MonitorElement
Definition: SiStripCertificationInfo.h:49
SiStripCertificationInfo::detCabling_
edm::ESHandle< SiStripDetCabling > detCabling_
Definition: SiStripCertificationInfo.h:81
SiStripCertificationInfo::SubDetMEs::subdet_tag
std::string subdet_tag
Definition: SiStripCertificationInfo.h:70
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
SiStripCertificationInfo::detCablingToken_
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcd > detCablingToken_
Definition: SiStripCertificationInfo.h:85
TrackerTopology.h
RunInfo
Definition: RunInfo.h:18
SiStripDetCabling.h
SiStripCertificationInfo
Definition: SiStripCertificationInfo.h:47
TrackerTopologyRcd.h
dqm::legacy::DQMStore
Definition: DQMStore.h:727
SiStripDetCabling
Definition: SiStripDetCabling.h:21
Run.h
edm::ESHandle< SiStripDetCabling >
SiStripCertificationInfo::nFEDConnected_
int nFEDConnected_
Definition: SiStripCertificationInfo.h:83
SiStripCertificationInfo::sistripCertificationBooked_
bool sistripCertificationBooked_
Definition: SiStripCertificationInfo.h:79
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripCertificationInfo::fillDummySiStripCertification
void fillDummySiStripCertification(DQMStore &dqm_store)
Definition: SiStripCertificationInfo.cc:267
edm::ParameterSet
Definition: ParameterSet.h:47
SiStripCertificationInfo::endRun
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition: SiStripCertificationInfo.cc:149
SiStripCertificationInfo::runInfoToken_
edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
Definition: SiStripCertificationInfo.h:87
SiStripCertificationInfo::SubDetMEsMap
std::map< std::string, SubDetMEs > SubDetMEsMap
Definition: SiStripCertificationInfo.h:76
edm::EventSetup
Definition: EventSetup.h:58
SiStripCertificationInfo::SubDetMEs
Definition: SiStripCertificationInfo.h:67
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcd >
SiStripCertificationInfo::bookSiStripCertificationMEs
void bookSiStripCertificationMEs(DQMStore &dqm_store)
Definition: SiStripCertificationInfo.cc:54
SiStripCertificationInfo::SubDetMEs::det_fractionME
MonitorElement * det_fractionME
Definition: SiStripCertificationInfo.h:68
writedatasetfile.run
run
Definition: writedatasetfile.py:27
SiStripCertificationInfo::SiStripCertificationSummaryMap
MonitorElement * SiStripCertificationSummaryMap
Definition: SiStripCertificationInfo.h:77
SiStripCertificationInfo::fillSiStripCertificationMEs
void fillSiStripCertificationMEs(DQMStore &dqm_store, edm::EventSetup const &eSetup)
Definition: SiStripCertificationInfo.cc:161
EventSetup.h
SiStripCertificationInfo::tTopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
Definition: SiStripCertificationInfo.h:86
SiStripCertificationInfo::SubDetMEs::folder_name
std::string folder_name
Definition: SiStripCertificationInfo.h:69
SiStripCertificationInfo::SiStripCertification
MonitorElement * SiStripCertification
Definition: SiStripCertificationInfo.h:74
SiStripDetCablingRcd.h
ParameterSet.h
edm::Event
Definition: Event.h:73
SiStripCertificationInfo::DQMStore
dqm::harvesting::DQMStore DQMStore
Definition: SiStripCertificationInfo.h:50
SiStripCertificationInfo::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition: SiStripCertificationInfo.cc:30
SiStripCertificationInfo::analyze
void analyze(edm::Event const &, edm::EventSetup const &) override
Definition: SiStripCertificationInfo.cc:138