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
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
DQMEDHarvester.h
SiStripQualityWithFromFedErrorsHelper
Definition: SiStripQualityWithFromFedErrorsHelper.h:42
SiStripQualityStatistics::SiStripQualityStatistics
SiStripQualityStatistics(const edm::ParameterSet &)
Definition: SiStripQualityStatistics.cc:29
edm::RunID
Definition: RunID.h:28
SiStripQualityStatistics::saveTkHistoMap_
bool saveTkHistoMap_
Definition: SiStripQualityStatistics.h:35
edm::Run
Definition: Run.h:45
SiStripQualityStatistics::TkMapFileName_
std::string TkMapFileName_
Definition: SiStripQualityStatistics.h:34
SiStripQualityStatistics::tkDetMapToken_
edm::ESGetToken< TkDetMap, TrackerTopologyRcd > tkDetMapToken_
Definition: SiStripQualityStatistics.h:48
SiStripFedCabling
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses,...
Definition: SiStripFedCabling.h:25
SiStripQualityStatistics::NTkBadComponent
int NTkBadComponent[4]
Definition: SiStripQualityStatistics.h:37
SiStripQualityStatistics::tkMap
TrackerMap * tkMap
Definition: SiStripQualityStatistics.h:44
TrackerTopologyRcd.h
SiStripQualityStatistics::NBadComponent
int NBadComponent[4][19][4]
Definition: SiStripQualityStatistics.h:38
SiStripQualityWithFromFedErrorsHelper.h
TrackerMap
Definition: TrackerMap.h:76
TkHistoMap.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
SiStripQualityStatistics::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: SiStripQualityStatistics.cc:54
SiStripQualityStatistics::tTopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
Definition: SiStripQualityStatistics.h:47
edm::ParameterSet
Definition: ParameterSet.h:47
SiStripQualityStatistics::withFedErrHelper_
SiStripQualityWithFromFedErrorsHelper withFedErrHelper_
Definition: SiStripQualityStatistics.h:50
SiStripQualityStatistics::~SiStripQualityStatistics
~SiStripQualityStatistics() override=default
SiStripQualityStatistics::tTopo_
std::unique_ptr< TrackerTopology > tTopo_
Definition: SiStripQualityStatistics.h:49
SiStripQualityStatistics::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: SiStripQualityStatistics.cc:45
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripQualityStatistics::detInfo_
SiStripDetInfo detInfo_
Definition: SiStripQualityStatistics.h:45
DQMEDHarvester
Definition: DQMEDHarvester.py:1
SiStripQualityStatistics::endRun
void endRun(edm::Run const &, edm::EventSetup const &) override
Definition: SiStripQualityStatistics.cc:71
SiStripQuality::BadComponent
Definition: SiStripQuality.h:34
SiStripQualityStatistics::ssV
std::stringstream ssV[4][19]
Definition: SiStripQualityStatistics.h:42
Frameworkfwd.h
dqm::implementation::IGetter
Definition: DQMStore.h:484
SiStripQuality.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
SiStripQualityStatistics
Definition: SiStripQualityStatistics.h:18
SiStripQualityStatistics::run_
edm::RunID run_
Definition: SiStripQualityStatistics.h:32
SiStripDetInfo
Definition: SiStripDetInfo.h:29
SiStripQualityStatistics::dataLabel_
std::string dataLabel_
Definition: SiStripQualityStatistics.h:33
SiStripQualityStatistics::SetBadComponents
void SetBadComponents(int, int, SiStripQuality::BadComponent &)
Definition: SiStripQualityStatistics.cc:292
SiStripQualityStatistics::tkMapFullIOVs
TrackerMap * tkMapFullIOVs
Definition: SiStripQualityStatistics.h:44
SiStripQualityStatistics::tkhisto
std::unique_ptr< TkHistoMap > tkhisto
Definition: SiStripQualityStatistics.h:46
SiStripQuality
Definition: SiStripQuality.h:32
SiStripQualityStatistics::updateAndSave
void updateAndSave(const SiStripQuality *siStripQuality)
Definition: SiStripQualityStatistics.cc:84