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
SiStripQualityHistos.h
SiStripQualityHotStripIdentifier::Track_src_
edm::InputTag Track_src_
Definition: SiStripQualityHotStripIdentifier.h:54
MessageLogger.h
ESHandle.h
SiStripQualityHotStripIdentifier::getNewObject
std::unique_ptr< SiStripBadStrip > getNewObject() override
Definition: SiStripQualityHotStripIdentifier.cc:42
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
TrackerTopology
Definition: TrackerTopology.h:16
SiStripQualityHotStripIdentifier::SiStripQuality_
edm::ESHandle< SiStripQuality > SiStripQuality_
Definition: SiStripQualityHotStripIdentifier.h:49
SiStripQualityHotStripIdentifier::algoBeginLuminosityBlock
void algoBeginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
Definition: SiStripQualityHotStripIdentifier.h:33
SiStripQualityHotStripIdentifier::conf_
const edm::ParameterSet conf_
Definition: SiStripQualityHotStripIdentifier.h:50
SiStripQualityHotStripIdentifier::~SiStripQualityHotStripIdentifier
~SiStripQualityHotStripIdentifier() override
Definition: SiStripQualityHotStripIdentifier.cc:40
SiStripBadStrip.h
SiStripDetInfoFileReader
Definition: SiStripDetInfoFileReader.h:30
FileInPath.h
edm::FileInPath
Definition: FileInPath.h:64
SiStripQualityHotStripIdentifier::m_cacheID_
unsigned long long m_cacheID_
Definition: SiStripQualityHotStripIdentifier.h:47
SiStripQualityHotStripIdentifier::fp_
edm::FileInPath fp_
Definition: SiStripQualityHotStripIdentifier.h:51
ConditionDBWriter
Definition: ConditionDBWriter.h:149
SiStripQualityHotStripIdentifier::bookHistos
void bookHistos()
Definition: SiStripQualityHotStripIdentifier.cc:123
SiStripQualityHotStripIdentifier::MinClusterWidth_
unsigned short MinClusterWidth_
Definition: SiStripQualityHotStripIdentifier.h:58
SiStripQualityHotStripIdentifier::dataLabel_
std::string dataLabel_
Definition: SiStripQualityHotStripIdentifier.h:48
SiStripQualityHotStripIdentifier::fillHisto
void fillHisto(uint32_t detid, float value)
Definition: SiStripQualityHotStripIdentifier.cc:141
edm::ESHandle< SiStripQuality >
SiStrip::QualityHistosMap
__gnu_cxx::hash_map< unsigned int, std::shared_ptr< TH1F > > QualityHistosMap
Definition: SiStripQualityHistos.h:8
SiStripQualityHotStripIdentifier::ClusterPositionHistoMap
SiStrip::QualityHistosMap ClusterPositionHistoMap
Definition: SiStripQualityHotStripIdentifier.h:60
SiStripQualityHotStripIdentifier::algoAnalyze
void algoAnalyze(const edm::Event &, const edm::EventSetup &) override
Definition: SiStripQualityHotStripIdentifier.cc:151
SiStripDetInfoFileReader.h
SiStripQualityHotStripIdentifier::tTopo
const TrackerTopology * tTopo
Definition: SiStripQualityHotStripIdentifier.h:56
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripQualityHotStripIdentifier::algoBeginRun
void algoBeginRun(const edm::Run &, const edm::EventSetup &) override
Definition: SiStripQualityHotStripIdentifier.cc:92
SiStripQualityHotStripIdentifier::tracksCollection_in_EventTree
bool tracksCollection_in_EventTree
Definition: SiStripQualityHotStripIdentifier.h:55
edm::ParameterSet
Definition: ParameterSet.h:36
SiStripQualityHotStripIdentifier::algoEndJob
void algoEndJob() override
Definition: SiStripQualityHotStripIdentifier.cc:109
SiStripQualityHotStripIdentifier::reader
SiStripDetInfoFileReader * reader
Definition: SiStripQualityHotStripIdentifier.h:52
value
Definition: value.py:1
edm::EventSetup
Definition: EventSetup.h:57
SiStripQualityHotStripIdentifier
Definition: SiStripQualityHotStripIdentifier.h:22
ConditionDBWriter.h
SiStripQualityHotStripIdentifier::resetHistos
void resetHistos()
Definition: SiStripQualityHotStripIdentifier.cc:114
SiStripQuality.h
EventSetup.h
Exception.h
SiStripQualityHotStripIdentifier::MaxClusterWidth_
unsigned short MaxClusterWidth_
Definition: SiStripQualityHotStripIdentifier.h:58
ParameterSet.h
edm::Event
Definition: Event.h:73
SiStripQualityHotStripIdentifier::Cluster_src_
edm::InputTag Cluster_src_
Definition: SiStripQualityHotStripIdentifier.h:53
edm::InputTag
Definition: InputTag.h:15
SiStripQualityHotStripIdentifier::SiStripQualityHotStripIdentifier
SiStripQualityHotStripIdentifier(const edm::ParameterSet &)
Definition: SiStripQualityHotStripIdentifier.cc:20
SiStripQualityHotStripIdentifier::algoBeginJob
void algoBeginJob(const edm::EventSetup &) override
Definition: SiStripQualityHotStripIdentifier.h:29