CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SiStripQualityStatistics.h
Go to the documentation of this file.
1 #ifndef SiStripQualityStatistics_H
2 #define SiStripQualityStatistics_H
3 
4 // system include files
5 //#include <memory>
6 
7 // user include files
10 
15 
16 class SiStripFedCabling;
17 
19 public:
21  ~SiStripQualityStatistics() override = default;
22 
23  void endRun(edm::Run const&, edm::EventSetup const&) override;
25 
26  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
27 
28 private:
29  void updateAndSave(const SiStripQuality* siStripQuality);
31 
36  //Global Info
37  int NTkBadComponent[4]; //k: 0=BadModule, 1=BadFiber, 2=BadApv, 3=BadStrips
38  int NBadComponent[4][19][4];
39  //legend: NBadComponent[i][j][k]= SubSystem i, layer/disk/wheel j, BadModule/Fiber/Apv k
40  // i: 0=TIB, 1=TID, 2=TOB, 3=TEC
41  // k: 0=BadModule, 1=BadFiber, 2=BadApv, 3=BadStrips
42  std::stringstream ssV[4][19];
43 
46  std::unique_ptr<TkHistoMap> tkhisto;
49  std::unique_ptr<TrackerTopology> tTopo_;
51 };
52 #endif
edm::ESGetToken< TkDetMap, TrackerTopologyRcd > tkDetMapToken_
void SetBadComponents(int, int, SiStripQuality::BadComponent &)
void updateAndSave(const SiStripQuality *siStripQuality)
~SiStripQualityStatistics() override=default
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
std::unique_ptr< TrackerTopology > tTopo_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void endRun(edm::Run const &, edm::EventSetup const &) override
std::stringstream ssV[4][19]
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
std::unique_ptr< TkHistoMap > tkhisto
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
SiStripQualityWithFromFedErrorsHelper withFedErrHelper_
SiStripQualityStatistics(const edm::ParameterSet &)
Definition: Run.h:45