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 
33 
34 #include <fstream>
35 #include <iostream>
36 #include <map>
37 #include <string>
38 #include <vector>
39 
40 class DQMStore;
41 class MonitorElement;
42 
44 
45 public:
48  ~SiStripBadComponentInfo() override;
49 
50 protected:
51  void endRun(edm::Run const&, edm::EventSetup const&) override;
53  DQMStore::IGetter&) override; // performed in the endJob
54 
55 private:
56  void checkBadComponents(edm::EventSetup const& eSetup);
58  void fillBadComponentMaps(int xbin, int component,SiStripQuality::BadComponent const& BC);
59  void createSummary(MonitorElement* me,const std::map<std::pair<int,int>,float >& map);
60 
64 
65  std::map<std::pair<int,int>,float > mapBadAPV;
66  std::map<std::pair<int,int>,float > mapBadFiber;
67  std::map<std::pair<int,int>,float > mapBadStrip;
68 
72 
75 };
76 #endif
std::map< std::pair< int, int >, float > mapBadFiber
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_
void bookBadComponentHistos(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
void fillBadComponentMaps(int xbin, int component, SiStripQuality::BadComponent const &BC)
std::map< std::pair< int, int >, float > mapBadAPV
void checkBadComponents(edm::EventSetup const &eSetup)
edm::ESHandle< TrackerTopology > tTopoHandle_
std::map< std::pair< int, int >, float > mapBadStrip
Definition: Run.h:45