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
void createSummary(MonitorElement *me, const std::map< std::pair< int, int >, float > &map)
SiStripBadComponentInfo(edm::ParameterSet const &ps)
Constructor.
void endRun(edm::Run const &, edm::EventSetup const &) override
edm::ESHandle< SiStripQuality > siStripQuality_
std::map< std::pair< int, int >, float > mapBadFiber
void fillBadComponentMaps(const SiStripQuality *siStripQuality)
void bookBadComponentHistos(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
std::map< std::pair< int, int >, float > mapBadAPV
void checkBadComponents(edm::EventSetup const &eSetup)
edm::ESHandle< TrackerTopology > tTopo_
std::map< std::pair< int, int >, float > mapBadStrip
edm::ESHandle< SiStripFedCabling > fedCabling_
Definition: Run.h:45