CMS 3D CMS Logo

SiStripBadComponentInfo.h
Go to the documentation of this file.
1 #ifndef SiStripMonitorClient_SiStripBadComponentInfo_h
2 #define SiStripMonitorClient_SiStripBadComponentInfo_h
3 // -*- C++ -*-
4 //
5 // Package: SiStripMonitorClient
6 // Class : SiStripBadComponentInfo
7 //
17 //
18 // Author: Suchandra Dutta
19 // Created: Fri Jan 26 10:00:00 CET 2018
20 //
21 
22 #include <string>
23 
30 
34 
35 #include <fstream>
36 #include <iostream>
37 #include <map>
38 #include <string>
39 #include <vector>
40 
42 public:
45  ~SiStripBadComponentInfo() override;
46 
47 protected:
48  void endRun(edm::Run const&, edm::EventSetup const&) override;
50  DQMStore::IGetter&) override; // performed in the endJob
51 
52 private:
53  void checkBadComponents(edm::EventSetup const& eSetup);
55  void fillBadComponentMaps(const SiStripQuality* siStripQuality);
56  void fillBadComponentMaps(int xbin, int component, SiStripQuality::BadComponent const& BC);
57  void createSummary(MonitorElement* me, const std::map<std::pair<int, int>, float>& map);
58 
62 
63  std::map<std::pair<int, int>, float> mapBadAPV;
64  std::map<std::pair<int, int>, float> mapBadFiber;
65  std::map<std::pair<int, int>, float> mapBadStrip;
66 
70 
76 };
77 #endif
DQMEDHarvester.h
SiStripBadComponentInfo::bookedStatus_
bool bookedStatus_
Definition: SiStripBadComponentInfo.h:67
SiStripBadComponentInfo::SiStripBadComponentInfo
SiStripBadComponentInfo(edm::ParameterSet const &ps)
Constructor.
Definition: SiStripBadComponentInfo.cc:25
ESHandle.h
edm::Run
Definition: Run.h:45
LuminosityBlock.h
SiStripBadComponentInfo::~SiStripBadComponentInfo
~SiStripBadComponentInfo() override
Definition: SiStripBadComponentInfo.cc:33
SiStripBadComponentInfo::endRun
void endRun(edm::Run const &, edm::EventSetup const &) override
Definition: SiStripBadComponentInfo.cc:145
SiStripBadComponentInfo::createSummary
void createSummary(MonitorElement *me, const std::map< std::pair< int, int >, float > &map)
Definition: SiStripBadComponentInfo.cc:242
SiStripBadComponentInfo::badStripME_
MonitorElement * badStripME_
Definition: SiStripBadComponentInfo.h:61
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
SiStripBadComponentInfo::mapBadFiber
std::map< std::pair< int, int >, float > mapBadFiber
Definition: SiStripBadComponentInfo.h:64
SiStripBadComponentInfo::siStripQuality_
edm::ESHandle< SiStripQuality > siStripQuality_
Definition: SiStripBadComponentInfo.h:71
TrackerTopologyRcd.h
SiStripBadComponentInfo::fillBadComponentMaps
void fillBadComponentMaps(const SiStripQuality *siStripQuality)
Definition: SiStripBadComponentInfo.cc:53
SiStripBadComponentInfo::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: SiStripBadComponentInfo.cc:150
Run.h
edm::ESHandle< SiStripQuality >
SiStripBadComponentInfo::bookBadComponentHistos
void bookBadComponentHistos(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: SiStripBadComponentInfo.cc:168
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripBadComponentInfo::mapBadAPV
std::map< std::pair< int, int >, float > mapBadAPV
Definition: SiStripBadComponentInfo.h:63
edm::ParameterSet
Definition: ParameterSet.h:36
SiStripBadComponentInfo::badFiberME_
MonitorElement * badFiberME_
Definition: SiStripBadComponentInfo.h:60
SiStripBadComponentInfo
Definition: SiStripBadComponentInfo.h:41
edm::EventSetup
Definition: EventSetup.h:57
SiStripBadComponentInfo::addBadCompFromFedErr_
bool addBadCompFromFedErr_
Definition: SiStripBadComponentInfo.h:74
SiStripBadComponentInfo::fedErrCutoff_
float fedErrCutoff_
Definition: SiStripBadComponentInfo.h:75
DQMEDHarvester
Definition: DQMEDHarvester.py:1
SiStripBadComponentInfo::tTopo_
edm::ESHandle< TrackerTopology > tTopo_
Definition: SiStripBadComponentInfo.h:72
SiStripBadComponentInfo::nSubSystem_
int nSubSystem_
Definition: SiStripBadComponentInfo.h:68
SiStripQuality::BadComponent
Definition: SiStripQuality.h:34
SiStripBadComponentInfo::qualityLabel_
std::string qualityLabel_
Definition: SiStripBadComponentInfo.h:69
dqm::implementation::IGetter
Definition: DQMStore.h:484
SiStripBadComponentInfo::checkBadComponents
void checkBadComponents(edm::EventSetup const &eSetup)
Definition: SiStripBadComponentInfo.cc:40
SiStripQuality.h
EventSetup.h
SiStripBadComponentInfo::mapBadStrip
std::map< std::pair< int, int >, float > mapBadStrip
Definition: SiStripBadComponentInfo.h:65
dqm::implementation::IBooker
Definition: DQMStore.h:43
genParticles_cff.map
map
Definition: genParticles_cff.py:11
ParameterSet.h
hlt_dqm_clientPB-live_cfg.me
me
Definition: hlt_dqm_clientPB-live_cfg.py:61
SiStripBadComponentInfo::fedCabling_
edm::ESHandle< SiStripFedCabling > fedCabling_
Definition: SiStripBadComponentInfo.h:73
SiStripBadComponentInfo::badAPVME_
MonitorElement * badAPVME_
Definition: SiStripBadComponentInfo.h:59
SiStripQuality
Definition: SiStripQuality.h:32