CMS 3D CMS Logo

SiStripQualityHotStripIdentifier.h
Go to the documentation of this file.
1 #ifndef SiStripQualityHotStripIdentifier_H
2 #define SiStripQualityHotStripIdentifier_H
3 
9 
15 
17 
18 #include <vector>
19 
20 class TrackerTopology;
21 
22 class SiStripQualityHotStripIdentifier : public ConditionDBWriter<SiStripBadStrip> {
23 public:
26 
27 private:
28  //Will be called at the beginning of the job
29  void algoBeginJob(const edm::EventSetup &) override {}
30  //Will be called at the beginning of each run in the job
31  void algoBeginRun(const edm::Run &, const edm::EventSetup &) override;
32  //Will be called at the beginning of each luminosity block in the run
34  //Will be called at the end of the job
35  void algoEndJob() override;
36 
37  //Will be called at every event
38  void algoAnalyze(const edm::Event &, const edm::EventSetup &) override;
39 
40  std::unique_ptr<SiStripBadStrip> getNewObject() override;
41 
42  void bookHistos();
43  void resetHistos();
44  void fillHisto(uint32_t detid, float value);
45 
46 private:
47  unsigned long long m_cacheID_;
57 
59 
61 };
62 #endif
void fillHisto(uint32_t detid, float value)
std::unique_ptr< SiStripBadStrip > getNewObject() override
void algoBeginRun(const edm::Run &, const edm::EventSetup &) override
SiStripQualityHotStripIdentifier(const edm::ParameterSet &)
__gnu_cxx::hash_map< unsigned int, std::shared_ptr< TH1F > > QualityHistosMap
void algoAnalyze(const edm::Event &, const edm::EventSetup &) override
void algoBeginJob(const edm::EventSetup &) override
edm::ESHandle< SiStripQuality > SiStripQuality_
Definition: value.py:1
Definition: Run.h:45
void algoBeginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override