CMS 3D CMS Logo

SiStripQualityHotStripIdentifierRoot.h
Go to the documentation of this file.
1 #ifndef SiStripQualityHotStripIdentifierRoot_H
2 #define SiStripQualityHotStripIdentifierRoot_H
3 
8 
11 
14 
19 
20 #include <vector>
21 #include <memory>
22 #include <iostream>
23 #include <cstdio>
24 #include <cstring>
25 #include <sstream>
26 #include <fstream>
27 #include <string>
28 #include "TFile.h"
29 
33 class TrackerTopology;
34 
36 public:
39 
42 
43 private:
44  //Will be called at the beginning of each run in the job
45  void algoBeginRun(const edm::Run&, const edm::EventSetup&) override;
46  //Will be called at the beginning of each luminosity block in the run
48  //Will be called at the end of the job
49  void algoEndJob() override;
50 
51  //Will be called at every event
52  void algoAnalyze(const edm::Event&, const edm::EventSetup&) override {}
53 
54  std::unique_ptr<SiStripBadStrip> getNewObject() override;
55 
56  void bookHistos();
57 
58 private:
61 
65 
67 
68  TFile* file0;
74 
79 
84 };
85 #endif
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy * theIdentifier3
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
std::unordered_map< unsigned int, std::shared_ptr< TH1F > > QualityHistosMap
SiStripHotStripAlgorithmFromClusterOccupancy * theIdentifier
edm::ESGetToken< SiStripQuality, SiStripQualityRcd > stripQualityToken_
void algoAnalyze(const edm::Event &, const edm::EventSetup &) override
void algoBeginRun(const edm::Run &, const edm::EventSetup &) override
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tkGeomToken_
edm::ESWatcher< SiStripQualityRcd > stripQualityWatcher_
SiStripBadAPVAlgorithmFromClusterOccupancy * theIdentifier2
void algoBeginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
std::unique_ptr< SiStripBadStrip > getNewObject() override
Definition: Run.h:45