CMS 3D CMS Logo

SiStripQualityHotStripIdentifierRoot.cc
Go to the documentation of this file.
2 
4 
11 
12 #include <fstream>
13 #include <iostream>
14 #include <memory>
15 #include <sstream>
16 
17 #include "TH1F.h"
18 
19 //Insert here the include to the algos
24 
27  m_cacheID_(0),
28  dataLabel_(iConfig.getUntrackedParameter<std::string>("dataLabel", "")),
29  UseInputDB_(iConfig.getUntrackedParameter<bool>("UseInputDB", false)),
30  conf_(iConfig),
31  tracker_(nullptr),
32  tTopo(nullptr),
33  filename(iConfig.getUntrackedParameter<std::string>("rootFilename", "CondDB_TKCC_20X_v3_hlt_50822.root")),
34  dirpath(iConfig.getUntrackedParameter<std::string>("rootDirPath", "")),
35  TotNumberOfEvents(0),
36  MeanNumberOfCluster(0),
37  calibrationthreshold(iConfig.getUntrackedParameter<uint32_t>("CalibrationThreshold", 10000)) {
38  dqmStore_ = edm::Service<DQMStore>().operator->();
39 
40  if (!filename.empty()) {
41  edm::LogInfo("SiStripQualityHotStripIdentifierRoot") << " before opening file " << filename.c_str();
42  dqmStore_->open(filename, false);
43  edm::LogInfo("SiStripQualityHotStripIdentifierRoot") << " after opening file ";
44  }
45 }
46 
48 
49 std::unique_ptr<SiStripBadStrip> SiStripQualityHotStripIdentifierRoot::getNewObject() {
50  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
51  << "SiStripQualityHotStripIdentifierRoot::getNewObject called" << std::endl;
52 
53  auto obj = std::make_unique<SiStripBadStrip>();
54 
56  std::string AlgoName = parameters.getParameter<std::string>("AlgoName");
57 
58  bookHistos();
59 
61  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
62  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] Total number of events is " << TotNumberOfEvents
63  << " which is bigger than " << calibrationthreshold << ". Calibration is preparing to be launched."
64  << std::endl;
65  if (MeanNumberOfCluster > 0.01) {
66  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
67  << "Mean Number of Cluster is " << MeanNumberOfCluster << ". Calibration is launched." << std::endl;
68 
69  if (AlgoName == "SiStripHotStripAlgorithmFromClusterOccupancy") {
70  edm::LogInfo("SiStripQualityHotStripIdentifierRoot") << " [SiStripQualityHotStripIdentifierRoot::getNewObject] "
71  "call to SiStripHotStripAlgorithmFromClusterOccupancy"
72  << std::endl;
73 
75  theIdentifier->setProbabilityThreshold(parameters.getUntrackedParameter<double>("ProbabilityThreshold", 1.E-7));
76  theIdentifier->setMinNumEntries(parameters.getUntrackedParameter<uint32_t>("MinNumEntries", 100));
77  theIdentifier->setMinNumEntriesPerStrip(parameters.getUntrackedParameter<uint32_t>("MinNumEntriesPerStrip", 5));
78  theIdentifier->setOccupancyThreshold(parameters.getUntrackedParameter<double>("OccupancyThreshold", 1.E-5));
81  conf_.getUntrackedParameter<std::string>("OccupancyRootFile", "Occupancy.root"),
82  conf_.getUntrackedParameter<bool>("WriteOccupancyRootFile", false));
84 
85  SiStripQuality* qobj = new SiStripQuality();
87  qobj,
89  SiStripQuality_); //here I insert SiStripQuality as input and get qobj as output
90 
91  //----------
92 
93  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
94  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] copy SiStripObject in SiStripBadStrip"
95  << std::endl;
96 
97  std::stringstream ss;
98 
101  for (; rIter != rIterEnd; ++rIter) {
102  SiStripBadStrip::Range range(qobj->getDataVectorBegin() + rIter->ibegin,
103  qobj->getDataVectorBegin() + rIter->iend);
104  if (!obj->put(rIter->detid, range))
105  edm::LogError("SiStripQualityHotStripIdentifierRoot")
106  << "[SiStripQualityHotStripIdentifierRoot::getNewObject] detid already exists" << std::endl;
107  }
108  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
109  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] " << ss.str() << std::endl;
110  } else if (AlgoName == "SiStripBadAPVAlgorithmFromClusterOccupancy") {
111  edm::LogInfo("SiStripQualityHotStripIdentifierRoot") << " [SiStripQualityHotStripIdentifierRoot::getNewObject] "
112  "call to SiStripBadAPVAlgorithmFromClusterOccupancy"
113  << std::endl;
114 
116  theIdentifier2->setLowOccupancyThreshold(parameters.getUntrackedParameter<double>("LowOccupancyThreshold", 5));
118  parameters.getUntrackedParameter<double>("HighOccupancyThreshold", 10));
119  theIdentifier2->setAbsoluteLowThreshold(parameters.getUntrackedParameter<double>("AbsoluteLowThreshold", 0));
120  theIdentifier2->setNumberIterations(parameters.getUntrackedParameter<uint32_t>("NumberIterations", 2));
122  parameters.getUntrackedParameter<double>("OccupancyThreshold", 1.E-5));
126  conf_.getUntrackedParameter<std::string>("OccupancyRootFile", "Occupancy.root"),
127  conf_.getUntrackedParameter<bool>("WriteOccupancyRootFile", false));
129 
130  SiStripQuality* qobj = new SiStripQuality();
132 
133  //----------
134 
135  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
136  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] copy SiStripObject in SiStripBadStrip"
137  << std::endl;
138 
139  std::stringstream ss;
140 
143  for (; rIter != rIterEnd; ++rIter) {
144  SiStripBadStrip::Range range(qobj->getDataVectorBegin() + rIter->ibegin,
145  qobj->getDataVectorBegin() + rIter->iend);
146  if (!obj->put(rIter->detid, range))
147  edm::LogError("SiStripQualityHotStripIdentifierRoot")
148  << "[SiStripQualityHotStripIdentifierRoot::getNewObject] detid already exists" << std::endl;
149  }
150  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
151  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] " << ss.str() << std::endl;
152 
153  } else if (AlgoName == "SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy") {
154  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
155  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] call to "
156  "SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy"
157  << std::endl;
158 
161  parameters.getUntrackedParameter<double>("ProbabilityThreshold", 1.E-7));
162  theIdentifier3->setMinNumEntries(parameters.getUntrackedParameter<uint32_t>("MinNumEntries", 100));
164  parameters.getUntrackedParameter<uint32_t>("MinNumEntriesPerStrip", 5));
167  conf_.getUntrackedParameter<std::string>("OccupancyRootFile", "Occupancy.root"),
168  conf_.getUntrackedParameter<bool>("WriteOccupancyRootFile", false),
169  conf_.getUntrackedParameter<std::string>("DQMHistoOutputFile", "DQMHistos.root"),
170  conf_.getUntrackedParameter<bool>("WriteDQMHistoOutputFile", false));
172  theIdentifier3->setLowOccupancyThreshold(parameters.getUntrackedParameter<double>("LowOccupancyThreshold", 5));
174  parameters.getUntrackedParameter<double>("HighOccupancyThreshold", 10));
175  theIdentifier3->setAbsoluteLowThreshold(parameters.getUntrackedParameter<double>("AbsoluteLowThreshold", 0));
176  theIdentifier3->setNumberIterations(parameters.getUntrackedParameter<uint32_t>("NumberIterations", 2));
178  parameters.getUntrackedParameter<double>("OccupancyThreshold", 1.E-5));
180 
181  SiStripQuality* qobj = new SiStripQuality();
183  qobj,
185  SiStripQuality_); //here I insert SiStripQuality as input and get qobj as output
186 
187  //----------
188 
189  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
190  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] copy SiStripObject in SiStripBadStrip"
191  << std::endl;
192 
193  std::stringstream ss;
194 
197  for (; rIter != rIterEnd; ++rIter) {
198  SiStripBadStrip::Range range(qobj->getDataVectorBegin() + rIter->ibegin,
199  qobj->getDataVectorBegin() + rIter->iend);
200  if (!obj->put(rIter->detid, range))
201  edm::LogError("SiStripQualityHotStripIdentifierRoot")
202  << "[SiStripQualityHotStripIdentifierRoot::getNewObject] detid already exists" << std::endl;
203  }
204  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
205  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] " << ss.str() << std::endl;
206  } else {
207  edm::LogError("SiStripQualityHotStripIdentifierRoot") << " [SiStripQualityHotStripIdentifierRoot::getNewObject]"
208  " call for a unknow HotStrip identification algoritm"
209  << std::endl;
210 
211  std::vector<uint32_t> a;
212  SiStripBadStrip::Range range(a.begin(), a.end());
213  if (!obj->put(0xFFFFFFFF, range))
214  edm::LogError("SiStripQualityHotStripIdentifierRoot")
215  << "[SiStripQualityHotStripIdentifierRoot::getNewObject] detid already exists" << std::endl;
216  }
217  }
218 
219  else {
220  edm::LogWarning("SiStripQualityHotStripIdentifierRoot")
221  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] :: Empty Events :: "
222  << "Mean Number of Cluster is " << MeanNumberOfCluster << " Calibration NOT launched" << std::endl;
223  setDoStore(false); // Don't put anything in the sqlite-file!
224  }
225  } else {
226  edm::LogWarning("SiStripQualityHotStripIdentifierRoot")
227  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] :: Not Enough Events :: "
228  << "Total number of events is " << TotNumberOfEvents << " Calibration NOT launched" << std::endl;
229  setDoStore(false); // Don't put anything in the sqlite-file!
230  }
231 
232  return obj;
233 }
234 
236  //Retrieve tracker topology from geometry
237  edm::ESHandle<TrackerTopology> tTopoHandle;
238  iSetup.get<TrackerTopologyRcd>().get(tTopoHandle);
239  tTopo = tTopoHandle.product();
240 
242  tracker_ = &(*theTrackerGeom);
243 
244  if (UseInputDB_) {
245  unsigned long long cacheID = iSetup.get<SiStripQualityRcd>().cacheIdentifier();
246 
247  if (m_cacheID_ == cacheID)
248  return;
249 
250  m_cacheID_ = cacheID;
251 
253  }
254 }
255 
257  //Clear map
258  ClusterPositionHistoMap.clear();
259 }
260 
262  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
263  << " [SiStripQualityHotStripIdentifierRoot::bookHistos] " << dirpath << std::endl;
264  std::vector<MonitorElement*> MEs = dqmStore_->getAllContents(dirpath);
265  //"DQMData/Run 50908/SiStrip/MechanicalView");
266  // "/DQMData/Run 50908/SiStrip/Run summary/MechanicalView/TID/side_2/wheel_3/ring_2/mono_modules/module_402676874");
267  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
268  << " [SiStripQualityHotStripIdentifierRoot::bookHistos] vector size " << MEs.size() << std::endl;
269 
270  std::vector<MonitorElement*>::const_iterator iter = MEs.begin();
271  std::vector<MonitorElement*>::const_iterator iterEnd = MEs.end();
272 
274  bool gotNentries = true;
275  if (parameters.getUntrackedParameter<uint32_t>("NumberOfEvents", 0) == 0 &&
276  parameters.getUntrackedParameter<double>("OccupancyThreshold", 0) != 0)
277  gotNentries = false;
278  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
279  << "[SiStripQualityHotStripIdentifierRoot::bookHistos] gotNentries flag " << gotNentries << " number of "
280  << parameters.getUntrackedParameter<uint32_t>("NumberOfEvents", 0) << " occup "
281  << parameters.getUntrackedParameter<double>("OccupancyThreshold", 0) << " OccupancyHisto"
282  << parameters.getUntrackedParameter<std::string>("OccupancyHisto") << std::endl;
283 
284  // Check Number of Events
285  for (; iter != iterEnd; ++iter) {
286  std::string me_name = (*iter)->getName();
287 
288  if (!gotNentries && strstr(me_name.c_str(), "TotalNumberOfCluster__T") != nullptr &&
289  strstr(me_name.c_str(), "Profile") == nullptr) {
290  TotNumberOfEvents = ((TH1F*)(*iter)->getTH1F())->GetEntries();
291  MeanNumberOfCluster = ((TH1F*)(*iter)->getTH1F())->GetMean();
292  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
293  << "Total Number of Events: " << TotNumberOfEvents << std::endl;
294 
295  gotNentries = true;
296  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
297  << "[SiStripQualityHotStripIdentifierRoot::bookHistos] gotNentries flag " << gotNentries << std::endl;
298  break;
299  }
300  }
301  if (!gotNentries) {
302  edm::LogWarning("SiStripQualityHotStripIdentifierRoot")
303  << " [SiStripQualityHotStripIdentifierRoot::bookHistos] :: Histogram with to check # of evemnts missing"
304  << std::endl;
305  }
306  for (; iter != iterEnd; ++iter) {
307  std::string me_name = (*iter)->getName();
308 
309  if (strstr(me_name.c_str(), (parameters.getUntrackedParameter<std::string>("OccupancyHisto")).c_str()) == nullptr)
310  continue;
311 
312  unsigned int detid = 0;
313  char title[128];
314  sprintf(title, "%s", me_name.c_str());
315  char* saveptr;
316  char* ptr = strtok_r(title, "__", &saveptr);
317  int c = 0;
318  while (ptr != nullptr) {
319  if (c == 2) {
320  detid = atol(ptr);
321  break;
322  }
323  ptr = strtok_r(nullptr, "_", &saveptr);
324  c++;
325  }
326  LogDebug("SiStripQualityHotStripIdentifierRoot")
327  << " [SiStripQualityHotStripIdentifierRoot::bookHistos] detid " << detid << std::endl;
328 
329  ClusterPositionHistoMap[detid] = std::make_shared<TH1F>(*(*iter)->getTH1F());
330  }
331 }
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
FastTimerService_cff.range
range
Definition: FastTimerService_cff.py:34
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips
void extractBadAPVSandStrips(SiStripQuality *, HistoMap &, edm::ESHandle< SiStripQuality > &)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.cc:35
SiStripQualityHotStripIdentifierRoot::tTopo
const TrackerTopology * tTopo
Definition: SiStripQualityHotStripIdentifierRoot.h:68
electrons_cff.bool
bool
Definition: electrons_cff.py:372
SiStripHotStripAlgorithmFromClusterOccupancy::setOccupancyThreshold
void setOccupancyThreshold(long double occupancy)
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.h:63
ConditionDBWriter< SiStripBadStrip >::setDoStore
void setDoStore(const bool doStore)
When set to false the payload will not be written to the db.
Definition: ConditionDBWriter.h:385
funct::false
false
Definition: Factorize.h:34
SiStripHotStripAlgorithmFromClusterOccupancy::setMinNumEntriesPerStrip
void setMinNumEntriesPerStrip(unsigned short m)
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.h:62
SiStripHotStripAlgorithmFromClusterOccupancy::setProbabilityThreshold
void setProbabilityThreshold(long double prob)
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.h:60
SiStripQualityHotStripIdentifierRoot::dqmStore_
DQMStore * dqmStore_
Definition: SiStripQualityHotStripIdentifierRoot.h:70
AlCaHarvesting_cff.SiStripQuality
SiStripQuality
Definition: AlCaHarvesting_cff.py:223
sistrip::tracker_
static const char tracker_[]
Definition: ConstantsForGranularity.h:23
SiStripHotStripAlgorithmFromClusterOccupancy::setNumberOfEvents
void setNumberOfEvents(double Nevents)
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.cc:323
edm::Run
Definition: Run.h:45
SiStripQualityHotStripIdentifierRoot::calibrationthreshold
uint32_t calibrationthreshold
Definition: SiStripQualityHotStripIdentifierRoot.h:77
SiStripBadAPVAlgorithmFromClusterOccupancy::setNumberOfEvents
void setNumberOfEvents(double Nevents)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:54
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setAbsoluteLowThreshold
void setAbsoluteLowThreshold(long double absolute_low)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:58
edm::LogInfo
Definition: MessageLogger.h:254
SiStripBadAPVAlgorithmFromClusterOccupancy::setLowOccupancyThreshold
void setLowOccupancyThreshold(long double low_occupancy)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:49
SiStripQualityHotStripIdentifierRoot::SiStripQualityHotStripIdentifierRoot
SiStripQualityHotStripIdentifierRoot(const edm::ParameterSet &)
Definition: SiStripQualityHotStripIdentifierRoot.cc:25
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setHighOccupancyThreshold
void setHighOccupancyThreshold(long double high_occupancy)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:57
SiStripBadAPVAlgorithmFromClusterOccupancy::setNumberIterations
void setNumberIterations(int number_iterations)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:52
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setMinNumOfEvents
void setMinNumOfEvents()
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.cc:833
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
SiStripBadAPVAlgorithmFromClusterOccupancy::setTrackerGeometry
void setTrackerGeometry(const TrackerGeometry *tkgeom)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:60
dqm::implementation::IGetter::getAllContents
virtual std::vector< dqm::harvesting::MonitorElement * > getAllContents(std::string const &path) const
Definition: DQMStore.cc:609
SiStripQualityHotStripIdentifierRoot::SiStripQuality_
edm::ESHandle< SiStripQuality > SiStripQuality_
Definition: SiStripQualityHotStripIdentifierRoot.h:62
SiStripBadStrip::getDataVectorBegin
ContainerIterator getDataVectorBegin() const
Definition: SiStripBadStrip.h:73
HLTSiStripMonitoring_cff.AlgoName
AlgoName
Definition: HLTSiStripMonitoring_cff.py:232
SiStripQualityHotStripIdentifierRoot::conf_
const edm::ParameterSet conf_
Definition: SiStripQualityHotStripIdentifierRoot.h:64
SiStripHotStripAlgorithmFromClusterOccupancy.h
SiStripQualityHotStripIdentifierRoot::theIdentifier3
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy * theIdentifier3
Definition: SiStripQualityHotStripIdentifierRoot.h:82
SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs
void extractBadAPVs(SiStripQuality *, HistoMap &, edm::ESHandle< SiStripQuality > &)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.cc:30
SiStripBadAPVAlgorithmFromClusterOccupancy::setMinNumOfEvents
void setMinNumOfEvents()
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.cc:493
SiStripBadStrip
Definition: SiStripBadStrip.h:30
parameters
parameters
Definition: BeamSpot_PayloadInspector.cc:14
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setAbsoluteOccupancyThreshold
void setAbsoluteOccupancyThreshold(long double absolute_occupancy)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:60
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setLowOccupancyThreshold
void setLowOccupancyThreshold(long double low_occupancy)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:56
SiStripQualityHotStripIdentifierRoot::tracker_
const TrackerGeometry * tracker_
Definition: SiStripQualityHotStripIdentifierRoot.h:67
SiStripQualityHotStripIdentifierRoot::dataLabel_
std::string dataLabel_
Definition: SiStripQualityHotStripIdentifierRoot.h:61
TrackingRecHit.h
SiStripBadStrip::Range
std::pair< ContainerIterator, ContainerIterator > Range
Definition: SiStripBadStrip.h:53
SiStripBadStrip::getRegistryVectorBegin
RegistryIterator getRegistryVectorBegin() const
Definition: SiStripBadStrip.h:75
Track.h
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setNumberOfEvents
void setNumberOfEvents(double Nevents)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:61
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
TrackFwd.h
ConditionDBWriter
Definition: ConditionDBWriter.h:149
SiStripQualityHotStripIdentifierRoot::theIdentifier2
SiStripBadAPVAlgorithmFromClusterOccupancy * theIdentifier2
Definition: SiStripQualityHotStripIdentifierRoot.h:81
SiStripHotStripAlgorithmFromClusterOccupancy::setMinNumEntries
void setMinNumEntries(unsigned short m)
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.h:61
SiStripQualityHotStripIdentifierRoot::dirpath
std::string dirpath
Definition: SiStripQualityHotStripIdentifierRoot.h:73
SiStripQualityRcd
Definition: SiStripDependentRecords.h:56
TrackerDigiGeometryRecord
Definition: TrackerDigiGeometryRecord.h:15
SiStripBadAPVAlgorithmFromClusterOccupancy
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:41
SiStripQualityHotStripIdentifierRoot::algoBeginRun
void algoBeginRun(const edm::Run &, const edm::EventSetup &) override
Definition: SiStripQualityHotStripIdentifierRoot.cc:235
edm::ESHandle< TrackerTopology >
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setTrackerGeometry
void setTrackerGeometry(const TrackerGeometry *tkgeom)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:72
SiStripHotStripAlgorithmFromClusterOccupancy::setOutputFileName
void setOutputFileName(std::string OutputFileName, bool WriteOutputFile)
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.h:68
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
SiStripQualityHotStripIdentifierRoot::m_cacheID_
unsigned long long m_cacheID_
Definition: SiStripQualityHotStripIdentifierRoot.h:60
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::LogWarning
Definition: MessageLogger.h:141
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:670
edm::ParameterSet
Definition: ParameterSet.h:36
edm::LogError
Definition: MessageLogger.h:183
a
double a
Definition: hdecay.h:119
SiStripBadAPVAlgorithmFromClusterOccupancy::setHighOccupancyThreshold
void setHighOccupancyThreshold(long double high_occupancy)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:50
SiStripQualityHotStripIdentifierRoot::bookHistos
void bookHistos()
Definition: SiStripQualityHotStripIdentifierRoot.cc:261
SiStripHotStripAlgorithmFromClusterOccupancy::setTrackerGeometry
void setTrackerGeometry(const TrackerGeometry *tkgeom)
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.h:72
SiStripQualityHotStripIdentifierRoot::filename
std::string filename
Definition: SiStripQualityHotStripIdentifierRoot.h:73
SiStripQualityHotStripIdentifierRoot::getNewObject
std::unique_ptr< SiStripBadStrip > getNewObject() override
Definition: SiStripQualityHotStripIdentifierRoot.cc:49
SiStripBadAPVAlgorithmFromClusterOccupancy::setAbsoluteLowThreshold
void setAbsoluteLowThreshold(long double absolute_low)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:51
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setProbabilityThreshold
void setProbabilityThreshold(long double prob)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:53
SiStripQualityHotStripIdentifierRoot::algoEndJob
void algoEndJob() override
Definition: SiStripQualityHotStripIdentifierRoot.cc:256
edm::Service
Definition: Service.h:30
SiStripQualityHotStripIdentifierRoot::TotNumberOfEvents
double TotNumberOfEvents
Definition: SiStripQualityHotStripIdentifierRoot.h:75
SiStripBadAPVAlgorithmFromClusterOccupancy::setOutputFileName
void setOutputFileName(std::string OutputFileName, bool WriteOutputFile)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:56
ProjectedSiStripRecHit2D.h
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
get
#define get
SiStripQualityHotStripIdentifierRoot::theIdentifier
SiStripHotStripAlgorithmFromClusterOccupancy * theIdentifier
Definition: SiStripQualityHotStripIdentifierRoot.h:80
EcalMEFormatter_cfi.MEs
MEs
Definition: EcalMEFormatter_cfi.py:25
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
SiStripQualityHotStripIdentifierRoot::~SiStripQualityHotStripIdentifierRoot
~SiStripQualityHotStripIdentifierRoot() override
Definition: SiStripQualityHotStripIdentifierRoot.cc:47
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setMinNumEntries
void setMinNumEntries(unsigned short m)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:54
std
Definition: JetResolutionObject.h:76
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setNumberIterations
void setNumberIterations(int number_iterations)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:59
SiStripQualityHotStripIdentifierRoot::UseInputDB_
bool UseInputDB_
Definition: SiStripQualityHotStripIdentifierRoot.h:63
SiStripQualityHotStripIdentifierRoot::theTrackerGeom
edm::ESHandle< TrackerGeometry > theTrackerGeom
Definition: SiStripQualityHotStripIdentifierRoot.h:66
SiStripQuality.h
SiStripQualityRcd.h
SiStripHotStripAlgorithmFromClusterOccupancy
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.h:52
dqm::implementation::DQMStore::open
DQM_DEPRECATED bool open(std::string const &filename, bool overwrite=false, std::string const &path="", std::string const &prepend="", OpenRunDirs stripdirs=KeepRunDirs, bool fileMustExist=true)
Definition: DQMStore.cc:766
SiStripBadAPVAlgorithmFromClusterOccupancy::setAbsoluteOccupancyThreshold
void setAbsoluteOccupancyThreshold(long double occupancy)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:53
SiStripBadStrip::RegistryIterator
Registry::const_iterator RegistryIterator
Definition: SiStripBadStrip.h:55
SiStripQualityHotStripIdentifierRoot::MeanNumberOfCluster
double MeanNumberOfCluster
Definition: SiStripQualityHotStripIdentifierRoot.h:76
SiStripBadAPVAlgorithmFromClusterOccupancy.h
TrackerTopologyRcd
Definition: TrackerTopologyRcd.h:10
SiStripMatchedRecHit2D.h
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setMinNumEntriesPerStrip
void setMinNumEntriesPerStrip(unsigned short m)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:55
SiStripRecHit2D.h
SiStripBadStrip::getRegistryVectorEnd
RegistryIterator getRegistryVectorEnd() const
Definition: SiStripBadStrip.h:76
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:43
SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips
void extractBadStrips(SiStripQuality *, HistoMap &, edm::ESHandle< SiStripQuality > &)
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.cc:24
SiStripQualityHotStripIdentifierRoot::ClusterPositionHistoMap
SiStrip::QualityHistosMap ClusterPositionHistoMap
Definition: SiStripQualityHotStripIdentifierRoot.h:79
SiStripQualityHotStripIdentifierRoot.h
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setOutputFileName
void setOutputFileName(std::string OutputFileName, bool WriteOutputFile, std::string DQMOutfileName, bool WriteDQMHistograms)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:63
SiStripQuality
Definition: SiStripQuality.h:32