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 //
16 //
17 // Author: Suchandra Dutta
18 // Created: Fri Jan 26 10:00:00 CET 2018
19 //
20 
21 #include <string>
22 
29 
32 
33 #include <iostream>
34 #include <fstream>
35 #include <string>
36 #include <vector>
37 #include <map>
38 
39 class DQMStore;
40 class MonitorElement;
41 
43 
44  public:
45 
48  ~SiStripBadComponentInfo() override;
49 
50 protected:
51 
52  void beginRun(edm::Run const&, edm::EventSetup const&) override;
53  void endRun(edm::Run const&, edm::EventSetup const&) override;
54  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override; //performed in the endJob
55 
56 private:
57  void checkBadComponents(edm::EventSetup const& eSetup);
59  void fillBadComponentMaps(int xbin, int component,SiStripQuality::BadComponent& BC);
60  void createSummary(MonitorElement* me,const std::map<std::pair<int,int>,float >& map);
61 
65 
66  std::map<std::pair<int,int>,float > mapBadAPV;
67  std::map<std::pair<int,int>,float > mapBadFiber;
68  std::map<std::pair<int,int>,float > mapBadStrip;
69 
70  unsigned long long m_cacheID_;
74 
77 };
78 #endif
std::map< std::pair< int, int >, float > mapBadFiber
void createSummary(MonitorElement *me, const std::map< std::pair< int, int >, float > &map)
void endRun(edm::Run const &, edm::EventSetup const &) override
edm::ESHandle< SiStripQuality > siStripQuality_
void bookBadComponentHistos(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
void fillBadComponentMaps(int xbin, int component, SiStripQuality::BadComponent &BC)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
std::map< std::pair< int, int >, float > mapBadAPV
void checkBadComponents(edm::EventSetup const &eSetup)
edm::ESHandle< TrackerTopology > tTopoHandle_
void beginRun(edm::Run const &, edm::EventSetup const &) override
std::map< std::pair< int, int >, float > mapBadStrip
Definition: Run.h:44
SiStripBadComponentInfo(const edm::ParameterSet &ps)
Constructor.