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
23 
26  UseInputDB_(iConfig.getUntrackedParameter<bool>("UseInputDB", false)),
27  conf_(iConfig),
28  tracker_(nullptr),
29  tTopo(nullptr),
30  filename(iConfig.getUntrackedParameter<std::string>("rootFilename", "CondDB_TKCC_20X_v3_hlt_50822.root")),
31  dirpath(iConfig.getUntrackedParameter<std::string>("rootDirPath", "")),
32  TotNumberOfEvents(0),
33  MeanNumberOfCluster(0),
34  calibrationthreshold(iConfig.getUntrackedParameter<uint32_t>("CalibrationThreshold", 10000)),
35  tTopoToken_(esConsumes<edm::Transition::BeginRun>()),
36  tkGeomToken_(esConsumes<edm::Transition::BeginRun>()),
37  stripQualityToken_(UseInputDB_
38  ? decltype(stripQualityToken_)(esConsumes<edm::Transition::BeginRun>(
39  edm::ESInputTag{"", iConfig.getUntrackedParameter<std::string>("dataLabel", "")}))
40  : decltype(stripQualityToken_){}) {
41  dqmStore_ = edm::Service<DQMStore>().operator->();
42 
43  if (!filename.empty()) {
44  edm::LogInfo("SiStripQualityHotStripIdentifierRoot") << " before opening file " << filename.c_str();
45  dqmStore_->open(filename, false);
46  edm::LogInfo("SiStripQualityHotStripIdentifierRoot") << " after opening file ";
47  }
48 }
49 
51 
52 std::unique_ptr<SiStripBadStrip> SiStripQualityHotStripIdentifierRoot::getNewObject() {
53  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
54  << "SiStripQualityHotStripIdentifierRoot::getNewObject called" << std::endl;
55 
56  auto obj = std::make_unique<SiStripBadStrip>();
57 
59  std::string AlgoName = parameters.getParameter<std::string>("AlgoName");
60 
61  bookHistos();
62 
64  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
65  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] Total number of events is " << TotNumberOfEvents
66  << " which is bigger than " << calibrationthreshold << ". Calibration is preparing to be launched."
67  << std::endl;
68  if (MeanNumberOfCluster > 0.01) {
69  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
70  << "Mean Number of Cluster is " << MeanNumberOfCluster << ". Calibration is launched." << std::endl;
71 
72  if (AlgoName == "SiStripHotStripAlgorithmFromClusterOccupancy") {
73  edm::LogInfo("SiStripQualityHotStripIdentifierRoot") << " [SiStripQualityHotStripIdentifierRoot::getNewObject] "
74  "call to SiStripHotStripAlgorithmFromClusterOccupancy"
75  << std::endl;
76 
78  theIdentifier->setProbabilityThreshold(parameters.getUntrackedParameter<double>("ProbabilityThreshold", 1.E-7));
79  theIdentifier->setMinNumEntries(parameters.getUntrackedParameter<uint32_t>("MinNumEntries", 100));
80  theIdentifier->setMinNumEntriesPerStrip(parameters.getUntrackedParameter<uint32_t>("MinNumEntriesPerStrip", 5));
81  theIdentifier->setOccupancyThreshold(parameters.getUntrackedParameter<double>("OccupancyThreshold", 1.E-5));
84  conf_.getUntrackedParameter<std::string>("OccupancyRootFile", "Occupancy.root"),
85  conf_.getUntrackedParameter<bool>("WriteOccupancyRootFile", false));
87 
88  SiStripQuality* qobj = new SiStripQuality();
90  qobj,
92  SiStripQuality_); //here I insert SiStripQuality as input and get qobj as output
93 
94  //----------
95 
96  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
97  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] copy SiStripObject in SiStripBadStrip"
98  << std::endl;
99 
100  std::stringstream ss;
101 
104  for (; rIter != rIterEnd; ++rIter) {
105  SiStripBadStrip::Range range(qobj->getDataVectorBegin() + rIter->ibegin,
106  qobj->getDataVectorBegin() + rIter->iend);
107  if (!obj->put(rIter->detid, range))
108  edm::LogError("SiStripQualityHotStripIdentifierRoot")
109  << "[SiStripQualityHotStripIdentifierRoot::getNewObject] detid already exists" << std::endl;
110  }
111  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
112  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] " << ss.str() << std::endl;
113  } else if (AlgoName == "SiStripBadAPVAlgorithmFromClusterOccupancy") {
114  edm::LogInfo("SiStripQualityHotStripIdentifierRoot") << " [SiStripQualityHotStripIdentifierRoot::getNewObject] "
115  "call to SiStripBadAPVAlgorithmFromClusterOccupancy"
116  << std::endl;
117 
119  theIdentifier2->setLowOccupancyThreshold(parameters.getUntrackedParameter<double>("LowOccupancyThreshold", 5));
121  parameters.getUntrackedParameter<double>("HighOccupancyThreshold", 10));
122  theIdentifier2->setAbsoluteLowThreshold(parameters.getUntrackedParameter<double>("AbsoluteLowThreshold", 0));
123  theIdentifier2->setNumberIterations(parameters.getUntrackedParameter<uint32_t>("NumberIterations", 2));
125  parameters.getUntrackedParameter<double>("OccupancyThreshold", 1.E-5));
129  conf_.getUntrackedParameter<std::string>("OccupancyRootFile", "Occupancy.root"),
130  conf_.getUntrackedParameter<bool>("WriteOccupancyRootFile", false));
132 
133  SiStripQuality* qobj = new SiStripQuality();
135 
136  //----------
137 
138  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
139  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] copy SiStripObject in SiStripBadStrip"
140  << std::endl;
141 
142  std::stringstream ss;
143 
146  for (; rIter != rIterEnd; ++rIter) {
147  SiStripBadStrip::Range range(qobj->getDataVectorBegin() + rIter->ibegin,
148  qobj->getDataVectorBegin() + rIter->iend);
149  if (!obj->put(rIter->detid, range))
150  edm::LogError("SiStripQualityHotStripIdentifierRoot")
151  << "[SiStripQualityHotStripIdentifierRoot::getNewObject] detid already exists" << std::endl;
152  }
153  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
154  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] " << ss.str() << std::endl;
155 
156  } else if (AlgoName == "SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy") {
157  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
158  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] call to "
159  "SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy"
160  << std::endl;
161 
164  parameters.getUntrackedParameter<double>("ProbabilityThreshold", 1.E-7));
165  theIdentifier3->setMinNumEntries(parameters.getUntrackedParameter<uint32_t>("MinNumEntries", 100));
167  parameters.getUntrackedParameter<uint32_t>("MinNumEntriesPerStrip", 5));
170  conf_.getUntrackedParameter<std::string>("OccupancyRootFile", "Occupancy.root"),
171  conf_.getUntrackedParameter<bool>("WriteOccupancyRootFile", false),
172  conf_.getUntrackedParameter<std::string>("DQMHistoOutputFile", "DQMHistos.root"),
173  conf_.getUntrackedParameter<bool>("WriteDQMHistoOutputFile", false));
175  theIdentifier3->setLowOccupancyThreshold(parameters.getUntrackedParameter<double>("LowOccupancyThreshold", 5));
177  parameters.getUntrackedParameter<double>("HighOccupancyThreshold", 10));
178  theIdentifier3->setAbsoluteLowThreshold(parameters.getUntrackedParameter<double>("AbsoluteLowThreshold", 0));
179  theIdentifier3->setNumberIterations(parameters.getUntrackedParameter<uint32_t>("NumberIterations", 2));
181  parameters.getUntrackedParameter<double>("OccupancyThreshold", 1.E-5));
183 
184  SiStripQuality* qobj = new SiStripQuality();
186  qobj,
188  SiStripQuality_); //here I insert SiStripQuality as input and get qobj as output
189 
190  //----------
191 
192  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
193  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] copy SiStripObject in SiStripBadStrip"
194  << std::endl;
195 
196  std::stringstream ss;
197 
200  for (; rIter != rIterEnd; ++rIter) {
201  SiStripBadStrip::Range range(qobj->getDataVectorBegin() + rIter->ibegin,
202  qobj->getDataVectorBegin() + rIter->iend);
203  if (!obj->put(rIter->detid, range))
204  edm::LogError("SiStripQualityHotStripIdentifierRoot")
205  << "[SiStripQualityHotStripIdentifierRoot::getNewObject] detid already exists" << std::endl;
206  }
207  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
208  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] " << ss.str() << std::endl;
209  } else {
210  edm::LogError("SiStripQualityHotStripIdentifierRoot") << " [SiStripQualityHotStripIdentifierRoot::getNewObject]"
211  " call for a unknow HotStrip identification algoritm"
212  << std::endl;
213 
214  std::vector<uint32_t> a;
215  SiStripBadStrip::Range range(a.begin(), a.end());
216  if (!obj->put(0xFFFFFFFF, range))
217  edm::LogError("SiStripQualityHotStripIdentifierRoot")
218  << "[SiStripQualityHotStripIdentifierRoot::getNewObject] detid already exists" << std::endl;
219  }
220  }
221 
222  else {
223  edm::LogWarning("SiStripQualityHotStripIdentifierRoot")
224  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] :: Empty Events :: "
225  << "Mean Number of Cluster is " << MeanNumberOfCluster << " Calibration NOT launched" << std::endl;
226  setDoStore(false); // Don't put anything in the sqlite-file!
227  }
228  } else {
229  edm::LogWarning("SiStripQualityHotStripIdentifierRoot")
230  << " [SiStripQualityHotStripIdentifierRoot::getNewObject] :: Not Enough Events :: "
231  << "Total number of events is " << TotNumberOfEvents << " Calibration NOT launched" << std::endl;
232  setDoStore(false); // Don't put anything in the sqlite-file!
233  }
234 
235  return obj;
236 }
237 
239  tTopo = &iSetup.getData(tTopoToken_);
240  tracker_ = &iSetup.getData(tkGeomToken_);
241  if (UseInputDB_ && stripQualityWatcher_.check(iSetup)) {
243  }
244 }
245 
247  //Clear map
248  ClusterPositionHistoMap.clear();
249 }
250 
252  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
253  << " [SiStripQualityHotStripIdentifierRoot::bookHistos] " << dirpath << std::endl;
254  std::vector<MonitorElement*> MEs = dqmStore_->getAllContents(dirpath);
255  //"DQMData/Run 50908/SiStrip/MechanicalView");
256  // "/DQMData/Run 50908/SiStrip/Run summary/MechanicalView/TID/side_2/wheel_3/ring_2/mono_modules/module_402676874");
257  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
258  << " [SiStripQualityHotStripIdentifierRoot::bookHistos] vector size " << MEs.size() << std::endl;
259 
260  std::vector<MonitorElement*>::const_iterator iter = MEs.begin();
261  std::vector<MonitorElement*>::const_iterator iterEnd = MEs.end();
262 
264  bool gotNentries = true;
265  if (parameters.getUntrackedParameter<uint32_t>("NumberOfEvents", 0) == 0 &&
266  parameters.getUntrackedParameter<double>("OccupancyThreshold", 0) != 0)
267  gotNentries = false;
268  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
269  << "[SiStripQualityHotStripIdentifierRoot::bookHistos] gotNentries flag " << gotNentries << " number of "
270  << parameters.getUntrackedParameter<uint32_t>("NumberOfEvents", 0) << " occup "
271  << parameters.getUntrackedParameter<double>("OccupancyThreshold", 0) << " OccupancyHisto"
272  << parameters.getUntrackedParameter<std::string>("OccupancyHisto") << std::endl;
273 
274  // Check Number of Events
275  for (; iter != iterEnd; ++iter) {
276  std::string me_name = (*iter)->getName();
277 
278  if (!gotNentries && strstr(me_name.c_str(), "TotalNumberOfCluster__T") != nullptr &&
279  strstr(me_name.c_str(), "Profile") == nullptr) {
280  TotNumberOfEvents = ((TH1F*)(*iter)->getTH1F())->GetEntries();
281  MeanNumberOfCluster = ((TH1F*)(*iter)->getTH1F())->GetMean();
282  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
283  << "Total Number of Events: " << TotNumberOfEvents << std::endl;
284 
285  gotNentries = true;
286  edm::LogInfo("SiStripQualityHotStripIdentifierRoot")
287  << "[SiStripQualityHotStripIdentifierRoot::bookHistos] gotNentries flag " << gotNentries << std::endl;
288  break;
289  }
290  }
291  if (!gotNentries) {
292  edm::LogWarning("SiStripQualityHotStripIdentifierRoot")
293  << " [SiStripQualityHotStripIdentifierRoot::bookHistos] :: Histogram with to check # of evemnts missing"
294  << std::endl;
295  }
296  for (; iter != iterEnd; ++iter) {
297  std::string me_name = (*iter)->getName();
298 
299  if (strstr(me_name.c_str(), (parameters.getUntrackedParameter<std::string>("OccupancyHisto")).c_str()) == nullptr)
300  continue;
301 
302  unsigned int detid = 0;
303  char title[128];
304  sprintf(title, "%s", me_name.c_str());
305  char* saveptr;
306  char* ptr = strtok_r(title, "__", &saveptr);
307  int c = 0;
308  while (ptr != nullptr) {
309  if (c == 2) {
310  detid = atol(ptr);
311  break;
312  }
313  ptr = strtok_r(nullptr, "_", &saveptr);
314  c++;
315  }
316  LogDebug("SiStripQualityHotStripIdentifierRoot")
317  << " [SiStripQualityHotStripIdentifierRoot::bookHistos] detid " << detid << std::endl;
318 
319  ClusterPositionHistoMap[detid] = std::make_shared<TH1F>(*(*iter)->getTH1F());
320  }
321 }
edm::ESWatcher::check
bool check(const edm::EventSetup &iSetup)
Definition: ESWatcher.h:52
FastTimerService_cff.range
range
Definition: FastTimerService_cff.py:34
SiStripQualityHotStripIdentifierRoot::tTopo
const TrackerTopology * tTopo
Definition: SiStripQualityHotStripIdentifierRoot.h:65
BeamSpotPI::parameters
parameters
Definition: BeamSpotPayloadInspectorHelper.h:30
SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs
void extractBadAPVs(SiStripQuality *, HistoMap &, const SiStripQuality *)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.cc:30
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
electrons_cff.bool
bool
Definition: electrons_cff.py:366
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips
void extractBadAPVSandStrips(SiStripQuality *, HistoMap &, const SiStripQuality *)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.cc:35
SiStripHotStripAlgorithmFromClusterOccupancy::setOccupancyThreshold
void setOccupancyThreshold(long double occupancy)
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.h:62
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:29
SiStripQualityHotStripIdentifierRoot::stripQualityToken_
edm::ESGetToken< SiStripQuality, SiStripQualityRcd > stripQualityToken_
Definition: SiStripQualityHotStripIdentifierRoot.h:79
SiStripHotStripAlgorithmFromClusterOccupancy::setMinNumEntriesPerStrip
void setMinNumEntriesPerStrip(unsigned short m)
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.h:61
SiStripHotStripAlgorithmFromClusterOccupancy::setProbabilityThreshold
void setProbabilityThreshold(long double prob)
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.h:59
ESInputTag
SiStripQualityHotStripIdentifierRoot::dqmStore_
DQMStore * dqmStore_
Definition: SiStripQualityHotStripIdentifierRoot.h:68
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:75
edm
HLT enums.
Definition: AlignableModifier.h:19
SiStripBadAPVAlgorithmFromClusterOccupancy::setNumberOfEvents
void setNumberOfEvents(double Nevents)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:53
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setAbsoluteLowThreshold
void setAbsoluteLowThreshold(long double absolute_low)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:57
SiStripBadAPVAlgorithmFromClusterOccupancy::setLowOccupancyThreshold
void setLowOccupancyThreshold(long double low_occupancy)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:48
SiStripQualityHotStripIdentifierRoot::SiStripQualityHotStripIdentifierRoot
SiStripQualityHotStripIdentifierRoot(const edm::ParameterSet &)
Definition: SiStripQualityHotStripIdentifierRoot.cc:24
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setHighOccupancyThreshold
void setHighOccupancyThreshold(long double high_occupancy)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:56
SiStripBadAPVAlgorithmFromClusterOccupancy::setNumberIterations
void setNumberIterations(int number_iterations)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:51
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setMinNumOfEvents
void setMinNumOfEvents()
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.cc:832
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
SiStripBadAPVAlgorithmFromClusterOccupancy::setTrackerGeometry
void setTrackerGeometry(const TrackerGeometry *tkgeom)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:59
dqm::implementation::IGetter::getAllContents
virtual std::vector< dqm::harvesting::MonitorElement * > getAllContents(std::string const &path) const
Definition: DQMStore.cc:609
SiStripBadStrip::getDataVectorBegin
ContainerIterator getDataVectorBegin() const
Definition: SiStripBadStrip.h:73
HLTSiStripMonitoring_cff.AlgoName
AlgoName
Definition: HLTSiStripMonitoring_cff.py:232
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
SiStripQualityHotStripIdentifierRoot::conf_
const edm::ParameterSet conf_
Definition: SiStripQualityHotStripIdentifierRoot.h:62
SiStripHotStripAlgorithmFromClusterOccupancy.h
SiStripQualityHotStripIdentifierRoot::theIdentifier3
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy * theIdentifier3
Definition: SiStripQualityHotStripIdentifierRoot.h:85
SiStripBadAPVAlgorithmFromClusterOccupancy::setMinNumOfEvents
void setMinNumOfEvents()
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.cc:493
SiStripBadStrip
Definition: SiStripBadStrip.h:30
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setAbsoluteOccupancyThreshold
void setAbsoluteOccupancyThreshold(long double absolute_occupancy)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:59
SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips
void extractBadStrips(SiStripQuality *, HistoMap &, const SiStripQuality *)
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.cc:24
SiStripQualityHotStripIdentifierRoot::stripQualityWatcher_
edm::ESWatcher< SiStripQualityRcd > stripQualityWatcher_
Definition: SiStripQualityHotStripIdentifierRoot.h:80
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setLowOccupancyThreshold
void setLowOccupancyThreshold(long double low_occupancy)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:55
SiStripQualityHotStripIdentifierRoot::tracker_
const TrackerGeometry * tracker_
Definition: SiStripQualityHotStripIdentifierRoot.h:64
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:60
TrackFwd.h
ConditionDBWriter
Definition: ConditionDBWriter.h:149
SiStripQualityHotStripIdentifierRoot::theIdentifier2
SiStripBadAPVAlgorithmFromClusterOccupancy * theIdentifier2
Definition: SiStripQualityHotStripIdentifierRoot.h:84
SiStripHotStripAlgorithmFromClusterOccupancy::setMinNumEntries
void setMinNumEntries(unsigned short m)
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.h:60
SiStripQualityHotStripIdentifierRoot::dirpath
std::string dirpath
Definition: SiStripQualityHotStripIdentifierRoot.h:71
SiStripBadAPVAlgorithmFromClusterOccupancy
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:40
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
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setTrackerGeometry
void setTrackerGeometry(const TrackerGeometry *tkgeom)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:71
SiStripHotStripAlgorithmFromClusterOccupancy::setOutputFileName
void setOutputFileName(std::string OutputFileName, bool WriteOutputFile)
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.h:67
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
SiStripQualityHotStripIdentifierRoot::tTopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
Definition: SiStripQualityHotStripIdentifierRoot.h:77
edm::ParameterSet
Definition: ParameterSet.h:47
edm::Transition
Transition
Definition: Transition.h:12
a
double a
Definition: hdecay.h:119
SiStripBadAPVAlgorithmFromClusterOccupancy::setHighOccupancyThreshold
void setHighOccupancyThreshold(long double high_occupancy)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:49
SiStripQualityHotStripIdentifierRoot::bookHistos
void bookHistos()
Definition: SiStripQualityHotStripIdentifierRoot.cc:251
SiStripHotStripAlgorithmFromClusterOccupancy::setTrackerGeometry
void setTrackerGeometry(const TrackerGeometry *tkgeom)
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.h:71
SiStripQualityHotStripIdentifierRoot::getNewObject
std::unique_ptr< SiStripBadStrip > getNewObject() override
Definition: SiStripQualityHotStripIdentifierRoot.cc:52
SiStripBadAPVAlgorithmFromClusterOccupancy::setAbsoluteLowThreshold
void setAbsoluteLowThreshold(long double absolute_low)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:50
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setProbabilityThreshold
void setProbabilityThreshold(long double prob)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:52
SiStripQualityHotStripIdentifierRoot::algoEndJob
void algoEndJob() override
Definition: SiStripQualityHotStripIdentifierRoot.cc:246
edm::Service
Definition: Service.h:30
SiStripQualityHotStripIdentifierRoot::TotNumberOfEvents
double TotNumberOfEvents
Definition: SiStripQualityHotStripIdentifierRoot.h:73
SiStripBadAPVAlgorithmFromClusterOccupancy::setOutputFileName
void setOutputFileName(std::string OutputFileName, bool WriteOutputFile)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:55
ProjectedSiStripRecHit2D.h
edm::EventSetup
Definition: EventSetup.h:58
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
SiStripQualityHotStripIdentifierRoot::theIdentifier
SiStripHotStripAlgorithmFromClusterOccupancy * theIdentifier
Definition: SiStripQualityHotStripIdentifierRoot.h:83
EcalMEFormatter_cfi.MEs
MEs
Definition: EcalMEFormatter_cfi.py:25
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:127
SiStripQualityHotStripIdentifierRoot::~SiStripQualityHotStripIdentifierRoot
~SiStripQualityHotStripIdentifierRoot() override
Definition: SiStripQualityHotStripIdentifierRoot.cc:50
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setMinNumEntries
void setMinNumEntries(unsigned short m)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:53
std
Definition: JetResolutionObject.h:76
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setNumberIterations
void setNumberIterations(int number_iterations)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:58
SiStripQualityHotStripIdentifierRoot::UseInputDB_
bool UseInputDB_
Definition: SiStripQualityHotStripIdentifierRoot.h:61
SiStripQuality.h
SiStripHotStripAlgorithmFromClusterOccupancy
Definition: SiStripHotStripAlgorithmFromClusterOccupancy.h:51
SiStripQualityHotStripIdentifierRoot::SiStripQuality_
const SiStripQuality * SiStripQuality_
Definition: SiStripQualityHotStripIdentifierRoot.h:66
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
SiStripBadAPVAlgorithmFromClusterOccupancy::setAbsoluteOccupancyThreshold
void setAbsoluteOccupancyThreshold(long double occupancy)
Definition: SiStripBadAPVAlgorithmFromClusterOccupancy.h:52
SiStripBadStrip::RegistryIterator
Registry::const_iterator RegistryIterator
Definition: SiStripBadStrip.h:55
SiStripQualityHotStripIdentifierRoot::MeanNumberOfCluster
double MeanNumberOfCluster
Definition: SiStripQualityHotStripIdentifierRoot.h:74
SiStripBadAPVAlgorithmFromClusterOccupancy.h
SiStripMatchedRecHit2D.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
DeDxTools::esConsumes
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
edm::Log
Definition: MessageLogger.h:70
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setMinNumEntriesPerStrip
void setMinNumEntriesPerStrip(unsigned short m)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:54
SiStripRecHit2D.h
SiStripBadStrip::getRegistryVectorEnd
RegistryIterator getRegistryVectorEnd() const
Definition: SiStripBadStrip.h:76
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:42
SiStripQualityHotStripIdentifierRoot::ClusterPositionHistoMap
SiStrip::QualityHistosMap ClusterPositionHistoMap
Definition: SiStripQualityHotStripIdentifierRoot.h:82
SiStripQualityHotStripIdentifierRoot.h
SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setOutputFileName
void setOutputFileName(std::string OutputFileName, bool WriteOutputFile, std::string DQMOutfileName, bool WriteDQMHistograms)
Definition: SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy.h:62
SiStripQuality
Definition: SiStripQuality.h:32