CMS 3D CMS Logo

SiStripQualityHotStripIdentifier.h
Go to the documentation of this file.
1 #ifndef SiStripQualityHotStripIdentifier_H
2 #define SiStripQualityHotStripIdentifier_H
3 
9 
17 
19 
20 #include <vector>
21 
22 class TrackerTopology;
23 
24 class SiStripQualityHotStripIdentifier : public ConditionDBWriter<SiStripBadStrip> {
25 public:
28 
29 private:
30  //Will be called at the beginning of the job
31  void algoBeginJob(const edm::EventSetup &) override {}
32  //Will be called at the beginning of each run in the job
33  void algoBeginRun(const edm::Run &, const edm::EventSetup &) override;
34  //Will be called at the beginning of each luminosity block in the run
36  //Will be called at the end of the job
37  void algoEndJob() override;
38 
39  //Will be called at every event
40  void algoAnalyze(const edm::Event &, const edm::EventSetup &) override;
41 
42  std::unique_ptr<SiStripBadStrip> getNewObject() override;
43 
44  void bookHistos();
45  void resetHistos();
46  void fillHisto(uint32_t detid, float value);
47 
48 private:
50  const SiStripQuality *stripQuality_ = nullptr;
57  const TrackerTopology *tTopo = nullptr;
58 
60 
62 
66 };
67 #endif
SiStripQualityHistos.h
SiStripQualityHotStripIdentifier::Track_src_
edm::InputTag Track_src_
Definition: SiStripQualityHotStripIdentifier.h:55
MessageLogger.h
edm::ESWatcher< SiStripQualityRcd >
SiStripQualityHotStripIdentifier::getNewObject
std::unique_ptr< SiStripBadStrip > getNewObject() override
Definition: SiStripQualityHotStripIdentifier.cc:41
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
TrackerTopology
Definition: TrackerTopology.h:16
SiStripQualityHotStripIdentifier::algoBeginLuminosityBlock
void algoBeginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
Definition: SiStripQualityHotStripIdentifier.h:35
SiStripQualityHotStripIdentifier::conf_
const edm::ParameterSet conf_
Definition: SiStripQualityHotStripIdentifier.h:51
SiStripQualityHotStripIdentifier::tTopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
Definition: SiStripQualityHotStripIdentifier.h:63
SiStripQualityHotStripIdentifier::~SiStripQualityHotStripIdentifier
~SiStripQualityHotStripIdentifier() override
Definition: SiStripQualityHotStripIdentifier.cc:39
SiStripBadStrip.h
SiStripDetInfoFileReader
Definition: SiStripDetInfoFileReader.h:30
FileInPath.h
edm::FileInPath
Definition: FileInPath.h:64
TrackerTopologyRcd.h
SiStripQualityHotStripIdentifier::fp_
edm::FileInPath fp_
Definition: SiStripQualityHotStripIdentifier.h:52
ConditionDBWriter
Definition: ConditionDBWriter.h:149
SiStripQualityHotStripIdentifier::bookHistos
void bookHistos()
Definition: SiStripQualityHotStripIdentifier.cc:115
SiStripQualityHotStripIdentifier::MinClusterWidth_
unsigned short MinClusterWidth_
Definition: SiStripQualityHotStripIdentifier.h:59
SiStripQualityHotStripIdentifier::dataLabel_
std::string dataLabel_
Definition: SiStripQualityHotStripIdentifier.h:49
SiStripQualityHotStripIdentifier::fillHisto
void fillHisto(uint32_t detid, float value)
Definition: SiStripQualityHotStripIdentifier.cc:133
SiStripQualityHotStripIdentifier::stripQualityWatcher_
edm::ESWatcher< SiStripQualityRcd > stripQualityWatcher_
Definition: SiStripQualityHotStripIdentifier.h:65
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:61
SiStripQualityHotStripIdentifier::algoAnalyze
void algoAnalyze(const edm::Event &, const edm::EventSetup &) override
Definition: SiStripQualityHotStripIdentifier.cc:143
SiStripDetInfoFileReader.h
SiStripQualityHotStripIdentifier::tTopo
const TrackerTopology * tTopo
Definition: SiStripQualityHotStripIdentifier.h:57
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripQualityHotStripIdentifier::algoBeginRun
void algoBeginRun(const edm::Run &, const edm::EventSetup &) override
Definition: SiStripQualityHotStripIdentifier.cc:91
SiStripQualityHotStripIdentifier::tracksCollection_in_EventTree
bool tracksCollection_in_EventTree
Definition: SiStripQualityHotStripIdentifier.h:56
SiStripQualityHotStripIdentifier::stripQuality_
const SiStripQuality * stripQuality_
Definition: SiStripQualityHotStripIdentifier.h:50
edm::ParameterSet
Definition: ParameterSet.h:47
SiStripQualityHotStripIdentifier::algoEndJob
void algoEndJob() override
Definition: SiStripQualityHotStripIdentifier.cc:101
SiStripQualityHotStripIdentifier::reader
SiStripDetInfoFileReader * reader
Definition: SiStripQualityHotStripIdentifier.h:53
value
Definition: value.py:1
edm::EventSetup
Definition: EventSetup.h:58
SiStripQualityHotStripIdentifier
Definition: SiStripQualityHotStripIdentifier.h:24
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd >
ConditionDBWriter.h
SiStripQualityHotStripIdentifier::stripQualityToken_
edm::ESGetToken< SiStripQuality, SiStripQualityRcd > stripQualityToken_
Definition: SiStripQualityHotStripIdentifier.h:64
SiStripQualityHotStripIdentifier::resetHistos
void resetHistos()
Definition: SiStripQualityHotStripIdentifier.cc:106
ESWatcher.h
SiStripQuality.h
SiStripQualityRcd.h
EventSetup.h
Exception.h
SiStripQualityHotStripIdentifier::MaxClusterWidth_
unsigned short MaxClusterWidth_
Definition: SiStripQualityHotStripIdentifier.h:59
ParameterSet.h
edm::Event
Definition: Event.h:73
SiStripQualityHotStripIdentifier::Cluster_src_
edm::InputTag Cluster_src_
Definition: SiStripQualityHotStripIdentifier.h:54
edm::InputTag
Definition: InputTag.h:15
SiStripQualityHotStripIdentifier::SiStripQualityHotStripIdentifier
SiStripQualityHotStripIdentifier(const edm::ParameterSet &)
Definition: SiStripQualityHotStripIdentifier.cc:19
SiStripQualityHotStripIdentifier::algoBeginJob
void algoBeginJob(const edm::EventSetup &) override
Definition: SiStripQualityHotStripIdentifier.h:31
SiStripQuality
Definition: SiStripQuality.h:32