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 
24 public:
25 
28 
29 private:
30 
31  //Will be called at the beginning of the job
32  void algoBeginJob(const edm::EventSetup&) override{}
33  //Will be called at the beginning of each run in the job
34  void algoBeginRun(const edm::Run &, const edm::EventSetup &) override;
35  //Will be called at the beginning of each luminosity block in the run
37  //Will be called at the end of the job
38  void algoEndJob() override;
39 
40 
41  //Will be called at every event
42  void algoAnalyze(const edm::Event&, const edm::EventSetup&) override;
43 
44  SiStripBadStrip* getNewObject() override;
45 
46 
47  void bookHistos();
48  void resetHistos();
49  void fillHisto(uint32_t detid,float value);
50 
51 private:
52  unsigned long long m_cacheID_;
62 
64 
66 };
67 #endif
void fillHisto(uint32_t detid, float value)
__gnu_cxx::hash_map< unsigned int, boost::shared_ptr< TH1F > > QualityHistosMap
void algoBeginRun(const edm::Run &, const edm::EventSetup &) override
SiStripQualityHotStripIdentifier(const edm::ParameterSet &)
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:44
void algoBeginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override