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
22 
23 #include <sstream>
24 
26 
27  public:
29  ~SiStripQualityStatistics() override;
30 
31  virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
32  virtual void analyze( const edm::Event&, const edm::EventSetup& ) override;
33 
34 
35  private:
36 
38  void EndJob();
39 
40 
41  unsigned long long m_cacheID_;
46  //Global Info
47  int NTkBadComponent[4]; //k: 0=BadModule, 1=BadFiber, 2=BadApv, 3=BadStrips
48  int NBadComponent[4][19][4];
49  //legend: NBadComponent[i][j][k]= SubSystem i, layer/disk/wheel j, BadModule/Fiber/Apv k
50  // i: 0=TIB, 1=TID, 2=TOB, 3=TEC
51  // k: 0=BadModule, 1=BadFiber, 2=BadApv, 3=BadStrips
52  std::stringstream ssV[4][19];
53 
56  std::unique_ptr<TkHistoMap> tkhisto;
57 };
58 #endif
void SetBadComponents(int, int, SiStripQuality::BadComponent &)
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::stringstream ssV[4][19]
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
std::unique_ptr< TkHistoMap > tkhisto
SiStripDetInfoFileReader * reader
SiStripQualityStatistics(const edm::ParameterSet &)
Definition: Run.h:44