CMS 3D CMS Logo

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
11 
16 
18 class SiStripFedCabling;
19 
21 public:
23  ~SiStripQualityStatistics() override;
24 
25  void endRun(edm::Run const&, edm::EventSetup const&) override;
27 
28 private:
29  void updateAndSave(const SiStripQuality* siStripQuality);
31 
32  unsigned long long m_cacheID_;
37  //Global Info
38  int NTkBadComponent[4]; //k: 0=BadModule, 1=BadFiber, 2=BadApv, 3=BadStrips
39  int NBadComponent[4][19][4];
40  //legend: NBadComponent[i][j][k]= SubSystem i, layer/disk/wheel j, BadModule/Fiber/Apv k
41  // i: 0=TIB, 1=TID, 2=TOB, 3=TEC
42  // k: 0=BadModule, 1=BadFiber, 2=BadApv, 3=BadStrips
43  std::stringstream ssV[4][19];
44 
47  std::unique_ptr<TkHistoMap> tkhisto;
58 };
59 #endif
SiStripQualityStatistics::reader
SiStripDetInfoFileReader * reader
Definition: SiStripQualityStatistics.h:46
DQMEDHarvester.h
SiStripQualityStatistics::stripQualityToken_
edm::ESGetToken< SiStripQuality, SiStripQualityRcd > stripQualityToken_
Definition: SiStripQualityStatistics.h:52
SiStripQualityStatistics::SiStripQualityStatistics
SiStripQualityStatistics(const edm::ParameterSet &)
Definition: SiStripQualityStatistics.cc:29
edm::ESWatcher< SiStripQualityRcd >
edm::RunID
Definition: RunID.h:28
SiStripQualityStatistics::saveTkHistoMap_
bool saveTkHistoMap_
Definition: SiStripQualityStatistics.h:36
edm::Run
Definition: Run.h:45
SiStripQualityStatistics::fedCablingToken_
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd > fedCablingToken_
Definition: SiStripQualityStatistics.h:53
TrackerTopology
Definition: TrackerTopology.h:16
SiStripQualityStatistics::TkMapFileName_
std::string TkMapFileName_
Definition: SiStripQualityStatistics.h:35
SiStripQualityStatistics::fedErrCutoff_
float fedErrCutoff_
Definition: SiStripQualityStatistics.h:49
SiStripQualityStatistics::tkDetMapToken_
edm::ESGetToken< TkDetMap, TrackerTopologyRcd > tkDetMapToken_
Definition: SiStripQualityStatistics.h:51
SiStripFedCabling
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses,...
Definition: SiStripFedCabling.h:25
SiStripDetInfoFileReader
Definition: SiStripDetInfoFileReader.h:30
SiStripQualityStatistics::~SiStripQualityStatistics
~SiStripQualityStatistics() override
Definition: SiStripQualityStatistics.cc:53
SiStripQualityStatistics::addBadCompFromFedErr_
bool addBadCompFromFedErr_
Definition: SiStripQualityStatistics.h:48
SiStripQualityStatistics::NTkBadComponent
int NTkBadComponent[4]
Definition: SiStripQualityStatistics.h:38
SiStripQualityStatistics::tkMap
TrackerMap * tkMap
Definition: SiStripQualityStatistics.h:45
TrackerTopologyRcd.h
SiStripQualityStatistics::NBadComponent
int NBadComponent[4][19][4]
Definition: SiStripQualityStatistics.h:39
TrackerMap
Definition: TrackerMap.h:76
TkHistoMap.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripQualityStatistics::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: SiStripQualityStatistics.cc:55
SiStripQualityStatistics::tTopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
Definition: SiStripQualityStatistics.h:50
edm::ParameterSet
Definition: ParameterSet.h:47
SiStripQualityStatistics::stripQualityWatcher_
edm::ESWatcher< SiStripQualityRcd > stripQualityWatcher_
Definition: SiStripQualityStatistics.h:54
edm::EventSetup
Definition: EventSetup.h:57
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd >
DQMEDHarvester
Definition: DQMEDHarvester.py:1
SiStripQualityStatistics::endRun
void endRun(edm::Run const &, edm::EventSetup const &) override
Definition: SiStripQualityStatistics.cc:77
SiStripQuality::BadComponent
Definition: SiStripQuality.h:34
SiStripQualityStatistics::ssV
std::stringstream ssV[4][19]
Definition: SiStripQualityStatistics.h:43
Frameworkfwd.h
ESWatcher.h
dqm::implementation::IGetter
Definition: DQMStore.h:484
SiStripQuality.h
SiStripQualityRcd.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
SiStripQualityStatistics
Definition: SiStripQualityStatistics.h:20
SiStripQualityStatistics::run_
edm::RunID run_
Definition: SiStripQualityStatistics.h:33
SiStripQualityStatistics::dataLabel_
std::string dataLabel_
Definition: SiStripQualityStatistics.h:34
SiStripQualityStatistics::tTopo_
const TrackerTopology * tTopo_
Definition: SiStripQualityStatistics.h:55
SiStripQualityStatistics::SetBadComponents
void SetBadComponents(int, int, SiStripQuality::BadComponent &)
Definition: SiStripQualityStatistics.cc:306
SiStripQualityStatistics::tkMapFullIOVs
TrackerMap * tkMapFullIOVs
Definition: SiStripQualityStatistics.h:45
SiStripQualityStatistics::tkhisto
std::unique_ptr< TkHistoMap > tkhisto
Definition: SiStripQualityStatistics.h:47
SiStripQualityStatistics::m_cacheID_
unsigned long long m_cacheID_
Definition: SiStripQualityStatistics.h:32
SiStripQualityStatistics::fedCabling_
const SiStripFedCabling * fedCabling_
Definition: SiStripQualityStatistics.h:56
SiStripQualityStatistics::siStripQuality_
const SiStripQuality * siStripQuality_
Definition: SiStripQualityStatistics.h:57
SiStripQuality
Definition: SiStripQuality.h:32
SiStripQualityStatistics::updateAndSave
void updateAndSave(const SiStripQuality *siStripQuality)
Definition: SiStripQualityStatistics.cc:97