CMS 3D CMS Logo

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