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 
12 class TrackerMap;
13 class TkHistoMap;
15 class SiStripFedCabling;
16 
18 public:
20  ~SiStripQualityStatistics() override;
21 
22  void endRun(edm::Run const&, edm::EventSetup const&) override;
24 
25 private:
26  void updateAndSave(const SiStripQuality* siStripQuality);
28 
29  unsigned long long m_cacheID_;
34  //Global Info
35  int NTkBadComponent[4]; //k: 0=BadModule, 1=BadFiber, 2=BadApv, 3=BadStrips
36  int NBadComponent[4][19][4];
37  //legend: NBadComponent[i][j][k]= SubSystem i, layer/disk/wheel j, BadModule/Fiber/Apv k
38  // i: 0=TIB, 1=TID, 2=TOB, 3=TEC
39  // k: 0=BadModule, 1=BadFiber, 2=BadApv, 3=BadStrips
40  std::stringstream ssV[4][19];
41 
44  std::unique_ptr<TkHistoMap> tkhisto;
50 };
51 #endif
SiStripQualityStatistics::reader
SiStripDetInfoFileReader * reader
Definition: SiStripQualityStatistics.h:43
DQMEDHarvester.h
SiStripQualityStatistics::SiStripQualityStatistics
SiStripQualityStatistics(const edm::ParameterSet &)
Definition: SiStripQualityStatistics.cc:31
edm::RunID
Definition: RunID.h:28
SiStripQualityStatistics::saveTkHistoMap_
bool saveTkHistoMap_
Definition: SiStripQualityStatistics.h:33
edm::Run
Definition: Run.h:45
TrackerTopology
Definition: TrackerTopology.h:16
SiStripQualityStatistics::TkMapFileName_
std::string TkMapFileName_
Definition: SiStripQualityStatistics.h:32
SiStripQualityStatistics::fedErrCutoff_
float fedErrCutoff_
Definition: SiStripQualityStatistics.h:46
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:50
SiStripQualityStatistics::addBadCompFromFedErr_
bool addBadCompFromFedErr_
Definition: SiStripQualityStatistics.h:45
SiStripQualityStatistics::NTkBadComponent
int NTkBadComponent[4]
Definition: SiStripQualityStatistics.h:35
SiStripQualityStatistics::tkMap
TrackerMap * tkMap
Definition: SiStripQualityStatistics.h:42
SiStripQualityStatistics::NBadComponent
int NBadComponent[4][19][4]
Definition: SiStripQualityStatistics.h:36
TrackerMap
Definition: TrackerMap.h:76
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripQualityStatistics::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: SiStripQualityStatistics.cc:52
edm::ParameterSet
Definition: ParameterSet.h:36
edm::EventSetup
Definition: EventSetup.h:57
TkHistoMap
Definition: TkHistoMap.h:12
DQMEDHarvester
Definition: DQMEDHarvester.py:1
SiStripQualityStatistics::endRun
void endRun(edm::Run const &, edm::EventSetup const &) override
Definition: SiStripQualityStatistics.cc:74
SiStripQuality::BadComponent
Definition: SiStripQuality.h:34
SiStripQualityStatistics::ssV
std::stringstream ssV[4][19]
Definition: SiStripQualityStatistics.h:40
Frameworkfwd.h
dqm::implementation::IGetter
Definition: DQMStore.h:484
SiStripQuality.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
SiStripQualityStatistics
Definition: SiStripQualityStatistics.h:17
SiStripQualityStatistics::run_
edm::RunID run_
Definition: SiStripQualityStatistics.h:30
SiStripQualityStatistics::dataLabel_
std::string dataLabel_
Definition: SiStripQualityStatistics.h:31
SiStripQualityStatistics::tTopo_
const TrackerTopology * tTopo_
Definition: SiStripQualityStatistics.h:47
SiStripQualityStatistics::SetBadComponents
void SetBadComponents(int, int, SiStripQuality::BadComponent &)
Definition: SiStripQualityStatistics.cc:316
SiStripQualityStatistics::tkMapFullIOVs
TrackerMap * tkMapFullIOVs
Definition: SiStripQualityStatistics.h:42
SiStripQualityStatistics::tkhisto
std::unique_ptr< TkHistoMap > tkhisto
Definition: SiStripQualityStatistics.h:44
SiStripQualityStatistics::m_cacheID_
unsigned long long m_cacheID_
Definition: SiStripQualityStatistics.h:29
SiStripQualityStatistics::fedCabling_
const SiStripFedCabling * fedCabling_
Definition: SiStripQualityStatistics.h:48
SiStripQualityStatistics::siStripQuality_
const SiStripQuality * siStripQuality_
Definition: SiStripQualityStatistics.h:49
SiStripQuality
Definition: SiStripQuality.h:32
SiStripQualityStatistics::updateAndSave
void updateAndSave(const SiStripQuality *siStripQuality)
Definition: SiStripQualityStatistics.cc:107