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 
20 
21 #include <vector>
22 #include <memory>
23 #include <iostream>
24 #include <cstdio>
25 #include <cstring>
26 #include <sstream>
27 #include <fstream>
28 #include <string>
29 #include "TFile.h"
30 
34 class TrackerTopology;
35 
37 public:
40 
43 
44 private:
45  //Will be called at the beginning of each run in the job
46  void algoBeginRun(const edm::Run&, const edm::EventSetup&) override;
47  //Will be called at the beginning of each luminosity block in the run
49  //Will be called at the end of the job
50  void algoEndJob() override;
51 
52  //Will be called at every event
53  void algoAnalyze(const edm::Event&, const edm::EventSetup&) override{};
54 
55  std::unique_ptr<SiStripBadStrip> getNewObject() override;
56 
57  void bookHistos();
58 
59 private:
60  unsigned long long m_cacheID_;
65 
69 
71 
72  TFile* file0;
78 
83 };
84 #endif
SiStripQualityHistos.h
SiStripQualityHotStripIdentifierRoot::tTopo
const TrackerTopology * tTopo
Definition: SiStripQualityHotStripIdentifierRoot.h:68
MessageLogger.h
TrackerGeometry.h
ESHandle.h
SiStripQualityHotStripIdentifierRoot::dqmStore_
DQMStore * dqmStore_
Definition: SiStripQualityHotStripIdentifierRoot.h:70
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
SiStripQualityHotStripIdentifierRoot::calibrationthreshold
uint32_t calibrationthreshold
Definition: SiStripQualityHotStripIdentifierRoot.h:77
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:74
DQMStore.h
SiStripQualityHotStripIdentifierRoot
Definition: SiStripQualityHotStripIdentifierRoot.h:36
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
SiStripBadStrip.h
SiStripQualityHotStripIdentifierRoot::file0
TFile * file0
Definition: SiStripQualityHotStripIdentifierRoot.h:72
SiStripQualityHotStripIdentifierRoot::SiStripQuality_
edm::ESHandle< SiStripQuality > SiStripQuality_
Definition: SiStripQualityHotStripIdentifierRoot.h:62
SiStripQualityHotStripIdentifierRoot::conf_
const edm::ParameterSet conf_
Definition: SiStripQualityHotStripIdentifierRoot.h:64
SiStripQualityHotStripIdentifierRoot::theIdentifier3
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy * theIdentifier3
Definition: SiStripQualityHotStripIdentifierRoot.h:82
FileInPath.h
SiStripQualityHotStripIdentifierRoot::tracker_
const TrackerGeometry * tracker_
Definition: SiStripQualityHotStripIdentifierRoot.h:67
SiStripQualityHotStripIdentifierRoot::dataLabel_
std::string dataLabel_
Definition: SiStripQualityHotStripIdentifierRoot.h:61
SiStripQualityHotStripIdentifierRoot::MaxClusterWidth_
unsigned short MaxClusterWidth_
Definition: SiStripQualityHotStripIdentifierRoot.h:74
ConditionDBWriter
Definition: ConditionDBWriter.h:149
dqm::legacy::DQMStore
Definition: DQMStore.h:727
SiStripQualityHotStripIdentifierRoot::theIdentifier2
SiStripBadAPVAlgorithmFromClusterOccupancy * theIdentifier2
Definition: SiStripQualityHotStripIdentifierRoot.h:81
SiStripQualityHotStripIdentifierRoot::dirpath
std::string dirpath
Definition: SiStripQualityHotStripIdentifierRoot.h:73
SiStripBadAPVAlgorithmFromClusterOccupancy
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:41
SiStripQualityHotStripIdentifierRoot::algoBeginLuminosityBlock
void algoBeginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
Definition: SiStripQualityHotStripIdentifierRoot.h:48
SiStripQualityHotStripIdentifierRoot::algoBeginRun
void algoBeginRun(const edm::Run &, const edm::EventSetup &) override
Definition: SiStripQualityHotStripIdentifierRoot.cc:235
edm::ESHandle< SiStripQuality >
SiStrip::QualityHistosMap
__gnu_cxx::hash_map< unsigned int, std::shared_ptr< TH1F > > QualityHistosMap
Definition: SiStripQualityHistos.h:8
SiStripDetInfoFileReader.h
SiStripQualityHotStripIdentifierRoot::m_cacheID_
unsigned long long m_cacheID_
Definition: SiStripQualityHotStripIdentifierRoot.h:60
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackerDigiGeometryRecord.h
edm::ParameterSet
Definition: ParameterSet.h:47
SiStripQualityHotStripIdentifierRoot::bookHistos
void bookHistos()
Definition: SiStripQualityHotStripIdentifierRoot.cc:261
SiStripQualityHotStripIdentifierRoot::filename
std::string filename
Definition: SiStripQualityHotStripIdentifierRoot.h:73
SiStripQualityHotStripIdentifierRoot::getNewObject
std::unique_ptr< SiStripBadStrip > getNewObject() override
Definition: SiStripQualityHotStripIdentifierRoot.cc:49
SiStripQualityHotStripIdentifierRoot::algoEndJob
void algoEndJob() override
Definition: SiStripQualityHotStripIdentifierRoot.cc:256
SiStripQualityHotStripIdentifierRoot::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: SiStripQualityHotStripIdentifierRoot.h:38
SiStripQualityHotStripIdentifierRoot::TotNumberOfEvents
double TotNumberOfEvents
Definition: SiStripQualityHotStripIdentifierRoot.h:75
SiStripQualityHotStripIdentifierRoot::algoAnalyze
void algoAnalyze(const edm::Event &, const edm::EventSetup &) override
Definition: SiStripQualityHotStripIdentifierRoot.h:53
edm::EventSetup
Definition: EventSetup.h:57
SiStripQualityHotStripIdentifierRoot::theIdentifier
SiStripHotStripAlgorithmFromClusterOccupancy * theIdentifier
Definition: SiStripQualityHotStripIdentifierRoot.h:80
ConditionDBWriter.h
SiStripQualityHotStripIdentifierRoot::~SiStripQualityHotStripIdentifierRoot
~SiStripQualityHotStripIdentifierRoot() override
Definition: SiStripQualityHotStripIdentifierRoot.cc:47
SiStripQualityHotStripIdentifierRoot::UseInputDB_
bool UseInputDB_
Definition: SiStripQualityHotStripIdentifierRoot.h:63
SiStripQualityHotStripIdentifierRoot::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: SiStripQualityHotStripIdentifierRoot.h:39
SiStripQualityHotStripIdentifierRoot::theTrackerGeom
edm::ESHandle< TrackerGeometry > theTrackerGeom
Definition: SiStripQualityHotStripIdentifierRoot.h:66
SiStripQuality.h
SiStripHotStripAlgorithmFromClusterOccupancy
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.h:51
Exception.h
SiStripQualityHotStripIdentifierRoot::MeanNumberOfCluster
double MeanNumberOfCluster
Definition: SiStripQualityHotStripIdentifierRoot.h:76
ParameterSet.h
edm::Event
Definition: Event.h:73
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:43
SiStripQualityHotStripIdentifierRoot::ClusterPositionHistoMap
SiStrip::QualityHistosMap ClusterPositionHistoMap
Definition: SiStripQualityHotStripIdentifierRoot.h:79
TrackerGeometry
Definition: TrackerGeometry.h:14