CMS 3D CMS Logo

SiStripQualityHotStripIdentifierRoot.h
Go to the documentation of this file.
1 #ifndef SiStripQualityHotStripIdentifierRoot_H
2 #define SiStripQualityHotStripIdentifierRoot_H
3 
8 
13 
16 
21 
22 #include <vector>
23 #include <memory>
24 #include <iostream>
25 #include <cstdio>
26 #include <cstring>
27 #include <sstream>
28 #include <fstream>
29 #include <string>
30 #include "TFile.h"
31 
35 class TrackerTopology;
36 
38 public:
41 
44 
45 private:
46  //Will be called at the beginning of each run in the job
47  void algoBeginRun(const edm::Run&, const edm::EventSetup&) override;
48  //Will be called at the beginning of each luminosity block in the run
50  //Will be called at the end of the job
51  void algoEndJob() override;
52 
53  //Will be called at every event
54  void algoAnalyze(const edm::Event&, const edm::EventSetup&) override{};
55 
56  std::unique_ptr<SiStripBadStrip> getNewObject() override;
57 
58  void bookHistos();
59 
60 private:
63 
67 
69 
70  TFile* file0;
76 
81 
86 };
87 #endif
SiStripQualityHistos.h
SiStripQualityHotStripIdentifierRoot::tTopo
const TrackerTopology * tTopo
Definition: SiStripQualityHotStripIdentifierRoot.h:65
MessageLogger.h
SiStripQualityHotStripIdentifierRoot::stripQualityToken_
edm::ESGetToken< SiStripQuality, SiStripQualityRcd > stripQualityToken_
Definition: SiStripQualityHotStripIdentifierRoot.h:79
TrackerGeometry.h
edm::ESWatcher< SiStripQualityRcd >
SiStripQualityHotStripIdentifierRoot::dqmStore_
DQMStore * dqmStore_
Definition: SiStripQualityHotStripIdentifierRoot.h:68
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
SiStripQualityHotStripIdentifierRoot::calibrationthreshold
uint32_t calibrationthreshold
Definition: SiStripQualityHotStripIdentifierRoot.h:75
edm::Run
Definition: Run.h:45
TrackerTopology
Definition: TrackerTopology.h:16
SiStripQualityHotStripIdentifierRoot::SiStripQualityHotStripIdentifierRoot
SiStripQualityHotStripIdentifierRoot(const edm::ParameterSet &)
Definition: SiStripQualityHotStripIdentifierRoot.cc:24
SiStripQualityHotStripIdentifierRoot::MinClusterWidth_
unsigned short MinClusterWidth_
Definition: SiStripQualityHotStripIdentifierRoot.h:72
DQMStore.h
SiStripQualityHotStripIdentifierRoot
Definition: SiStripQualityHotStripIdentifierRoot.h:37
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
SiStripBadStrip.h
SiStripQualityHotStripIdentifierRoot::file0
TFile * file0
Definition: SiStripQualityHotStripIdentifierRoot.h:70
SiStripQualityHotStripIdentifierRoot::conf_
const edm::ParameterSet conf_
Definition: SiStripQualityHotStripIdentifierRoot.h:62
SiStripQualityHotStripIdentifierRoot::theIdentifier3
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy * theIdentifier3
Definition: SiStripQualityHotStripIdentifierRoot.h:85
FileInPath.h
SiStripQualityHotStripIdentifierRoot::stripQualityWatcher_
edm::ESWatcher< SiStripQualityRcd > stripQualityWatcher_
Definition: SiStripQualityHotStripIdentifierRoot.h:80
SiStripQualityHotStripIdentifierRoot::tracker_
const TrackerGeometry * tracker_
Definition: SiStripQualityHotStripIdentifierRoot.h:64
SiStripQualityHotStripIdentifierRoot::MaxClusterWidth_
unsigned short MaxClusterWidth_
Definition: SiStripQualityHotStripIdentifierRoot.h:72
ConditionDBWriter
Definition: ConditionDBWriter.h:149
dqm::legacy::DQMStore
Definition: DQMStore.h:727
SiStripQualityHotStripIdentifierRoot::theIdentifier2
SiStripBadAPVAlgorithmFromClusterOccupancy * theIdentifier2
Definition: SiStripQualityHotStripIdentifierRoot.h:84
SiStripQualityHotStripIdentifierRoot::dirpath
std::string dirpath
Definition: SiStripQualityHotStripIdentifierRoot.h:71
SiStripBadAPVAlgorithmFromClusterOccupancy
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:40
SiStripQualityHotStripIdentifierRoot::algoBeginLuminosityBlock
void algoBeginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
Definition: SiStripQualityHotStripIdentifierRoot.h:49
SiStripQualityHotStripIdentifierRoot::algoBeginRun
void algoBeginRun(const edm::Run &, const edm::EventSetup &) override
Definition: SiStripQualityHotStripIdentifierRoot.cc:238
SiStripQualityHotStripIdentifierRoot::tkGeomToken_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tkGeomToken_
Definition: SiStripQualityHotStripIdentifierRoot.h:78
SiStrip::QualityHistosMap
__gnu_cxx::hash_map< unsigned int, std::shared_ptr< TH1F > > QualityHistosMap
Definition: SiStripQualityHistos.h:8
SiStripDetInfoFileReader.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackerDigiGeometryRecord.h
SiStripQualityHotStripIdentifierRoot::tTopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
Definition: SiStripQualityHotStripIdentifierRoot.h:77
edm::ParameterSet
Definition: ParameterSet.h:47
SiStripQualityHotStripIdentifierRoot::bookHistos
void bookHistos()
Definition: SiStripQualityHotStripIdentifierRoot.cc:251
SiStripQualityHotStripIdentifierRoot::filename
std::string filename
Definition: SiStripQualityHotStripIdentifierRoot.h:71
SiStripQualityHotStripIdentifierRoot::getNewObject
std::unique_ptr< SiStripBadStrip > getNewObject() override
Definition: SiStripQualityHotStripIdentifierRoot.cc:52
SiStripQualityHotStripIdentifierRoot::algoEndJob
void algoEndJob() override
Definition: SiStripQualityHotStripIdentifierRoot.cc:246
SiStripQualityHotStripIdentifierRoot::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: SiStripQualityHotStripIdentifierRoot.h:39
SiStripQualityHotStripIdentifierRoot::TotNumberOfEvents
double TotNumberOfEvents
Definition: SiStripQualityHotStripIdentifierRoot.h:73
SiStripQualityHotStripIdentifierRoot::algoAnalyze
void algoAnalyze(const edm::Event &, const edm::EventSetup &) override
Definition: SiStripQualityHotStripIdentifierRoot.h:54
edm::EventSetup
Definition: EventSetup.h:58
SiStripQualityHotStripIdentifierRoot::theIdentifier
SiStripHotStripAlgorithmFromClusterOccupancy * theIdentifier
Definition: SiStripQualityHotStripIdentifierRoot.h:83
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd >
ConditionDBWriter.h
SiStripQualityHotStripIdentifierRoot::~SiStripQualityHotStripIdentifierRoot
~SiStripQualityHotStripIdentifierRoot() override
Definition: SiStripQualityHotStripIdentifierRoot.cc:50
ESWatcher.h
SiStripQualityHotStripIdentifierRoot::UseInputDB_
bool UseInputDB_
Definition: SiStripQualityHotStripIdentifierRoot.h:61
SiStripQualityHotStripIdentifierRoot::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: SiStripQualityHotStripIdentifierRoot.h:40
SiStripQuality.h
SiStripQualityRcd.h
SiStripHotStripAlgorithmFromClusterOccupancy
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.h:51
SiStripQualityHotStripIdentifierRoot::SiStripQuality_
const SiStripQuality * SiStripQuality_
Definition: SiStripQualityHotStripIdentifierRoot.h:66
Exception.h
SiStripQualityHotStripIdentifierRoot::MeanNumberOfCluster
double MeanNumberOfCluster
Definition: SiStripQualityHotStripIdentifierRoot.h:74
ParameterSet.h
edm::Event
Definition: Event.h:73
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:42
SiStripQualityHotStripIdentifierRoot::ClusterPositionHistoMap
SiStrip::QualityHistosMap ClusterPositionHistoMap
Definition: SiStripQualityHotStripIdentifierRoot.h:82
TrackerGeometry
Definition: TrackerGeometry.h:14
SiStripQuality
Definition: SiStripQuality.h:32