CMS 3D CMS Logo

Classes | Enumerations | Functions
SiStripPI Namespace Reference

Classes

class  Entry
 
class  Monitor1D
 
class  Monitor2D
 

Enumerations

enum  estimator { min, max, mean, rms }
 
enum  OpMode { STRIP_BASED, APV_BASED, MODULE_BASED }
 
enum  palette {
  HALFGRAY, GRAY, BLUES, REDS,
  ANTIGRAY, FIRE, ANTIFIRE, LOGREDBLUE,
  BLUERED, LOGBLUERED, DEFAULT
}
 
enum  TrackerRegion {
  TIB1r = 1010, TIB1s = 1011, TIB2r = 1020, TIB2s = 1021,
  TIB3r = 1030, TIB4r = 1040, TOB1r = 2010, TOB1s = 2011,
  TOB2r = 2020, TOB2s = 2021, TOB3r = 2030, TOB4r = 2040,
  TOB5r = 2050, TOB6r = 2060, TEC1r = 3010, TEC1s = 3011,
  TEC2r = 3020, TEC2s = 3021, TEC3r = 3030, TEC3s = 3031,
  TEC4r = 3040, TEC4s = 3041, TEC5r = 3050, TEC5s = 3051,
  TEC6r = 3060, TEC6s = 3061, TEC7r = 3070, TEC7s = 3071,
  TEC8r = 3080, TEC8s = 3081, TEC9r = 3090, TEC9s = 3091,
  TID1r = 4010, TID1s = 4011, TID2r = 4020, TID2s = 4021,
  TID3r = 4030, TID3s = 4031, END_OF_REGIONS
}
 

Functions

void drawStatBox (std::map< std::string, std::shared_ptr< TH1F >> histos, std::map< std::string, int > colormap, std::vector< std::string > legend, double X=0.15, double Y=0.93, double W=0.15, double H=0.10)
 
std::string estimatorType (SiStripPI::estimator e)
 
void fillBCArrays (const SiStripQuality *siStripQuality_, int NTkBadComponent[4], int NBadComponent[4][19][4], const TrackerTopology m_trackerTopo)
 
void fillNoiseDetSummary (SiStripDetSummary &summaryNoise, std::shared_ptr< SiStripNoises > payload, SiStripPI::estimator est)
 
void fillTotalComponents (int NTkComponents[4], int NComponents[4][19][4], const TrackerTopology m_trackerTopo)
 
std::pair< float, float > getExtrema (TH1 *h1, TH1 *h2)
 
std::string getStringFromSubdet (StripSubdetector::SubDetector sub)
 
std::pair< float, float > getTheRange (std::map< uint32_t, float > values, const float nsigma)
 
void makeNicePlotStyle (TH1 *hist)
 
void printBCDebug (int NTkBadComponent[4], int NBadComponent[4][19][4])
 
void printSummary (const std::map< unsigned int, SiStripDetSummary::Values > &map)
 
std::pair< int, const char * > regionType (int index)
 
void setBadComponents (int i, int component, const SiStripQuality::BadComponent &BC, int NBadComponent[4][19][4])
 
void setPaletteStyle (SiStripPI::palette palette)
 

Enumeration Type Documentation

◆ estimator

Enumerator
min 
max 
mean 
rms 

Definition at line 169 of file SiStripPayloadInspectorHelper.h.

169 { min, max, mean, rms };

◆ OpMode

Enumerator
STRIP_BASED 
APV_BASED 
MODULE_BASED 

Definition at line 27 of file SiStripPayloadInspectorHelper.h.

◆ palette

Enumerator
HALFGRAY 
GRAY 
BLUES 
REDS 
ANTIGRAY 
FIRE 
ANTIFIRE 
LOGREDBLUE 
BLUERED 
LOGBLUERED 
DEFAULT 

Definition at line 782 of file SiStripPayloadInspectorHelper.h.

◆ TrackerRegion

Enumerator
TIB1r 
TIB1s 
TIB2r 
TIB2s 
TIB3r 
TIB4r 
TOB1r 
TOB1s 
TOB2r 
TOB2s 
TOB3r 
TOB4r 
TOB5r 
TOB6r 
TEC1r 
TEC1s 
TEC2r 
TEC2s 
TEC3r 
TEC3s 
TEC4r 
TEC4s 
TEC5r 
TEC5s 
TEC6r 
TEC6s 
TEC7r 
TEC7s 
TEC8r 
TEC8s 
TEC9r 
TEC9s 
TID1r 
TID1s 
TID2r 
TID2s 
TID3r 
TID3s 
END_OF_REGIONS 

Definition at line 207 of file SiStripPayloadInspectorHelper.h.

207  {
208  TIB1r = 1010,
209  TIB1s = 1011,
210  TIB2r = 1020,
211  TIB2s = 1021,
212  TIB3r = 1030,
213  TIB4r = 1040,
214  TOB1r = 2010,
215  TOB1s = 2011,
216  TOB2r = 2020,
217  TOB2s = 2021,
218  TOB3r = 2030,
219  TOB4r = 2040,
220  TOB5r = 2050,
221  TOB6r = 2060,
222  TEC1r = 3010,
223  TEC1s = 3011,
224  TEC2r = 3020,
225  TEC2s = 3021,
226  TEC3r = 3030,
227  TEC3s = 3031,
228  TEC4r = 3040,
229  TEC4s = 3041,
230  TEC5r = 3050,
231  TEC5s = 3051,
232  TEC6r = 3060,
233  TEC6s = 3061,
234  TEC7r = 3070,
235  TEC7s = 3071,
236  TEC8r = 3080,
237  TEC8s = 3081,
238  TEC9r = 3090,
239  TEC9s = 3091,
240  TID1r = 4010,
241  TID1s = 4011,
242  TID2r = 4020,
243  TID2s = 4021,
244  TID3r = 4030,
245  TID3s = 4031,
247  };

Function Documentation

◆ drawStatBox()

void SiStripPI::drawStatBox ( std::map< std::string, std::shared_ptr< TH1F >>  histos,
std::map< std::string, int >  colormap,
std::vector< std::string >  legend,
double  X = 0.15,
double  Y = 0.93,
double  W = 0.15,
double  H = 0.10 
)
inline

Definition at line 365 of file SiStripPayloadInspectorHelper.h.

373  {
374  char buffer[255];
375 
376  int i = 0;
377  for (const auto& element : legend) {
378  TPaveText* stat = new TPaveText(X, Y - (i * H), X + W, Y - (i + 1) * H, "NDC");
379  i++;
380  auto Histo = histos[element];
381  sprintf(buffer, "Entries : %i\n", (int)Histo->GetEntries());
382  stat->AddText(buffer);
383 
384  sprintf(buffer, "Mean : %6.2f\n", Histo->GetMean());
385  stat->AddText(buffer);
386 
387  sprintf(buffer, "RMS : %6.2f\n", Histo->GetRMS());
388  stat->AddText(buffer);
389 
390  stat->SetFillColor(0);
391  stat->SetLineColor(colormap[element]);
392  stat->SetTextColor(colormap[element]);
393  stat->SetTextSize(0.03);
394  stat->SetBorderSize(0);
395  stat->SetMargin(0.05);
396  stat->SetTextAlign(12);
397  stat->Draw();
398  }
399  }

References edmScanValgrind::buffer, data-class-funcs::H, combine::histos, mps_fire::i, listHistos::legend, edm_modernize_messagelogger::stat, X, and BeamSpotPI::Y.

◆ estimatorType()

std::string SiStripPI::estimatorType ( SiStripPI::estimator  e)
inline

Definition at line 172 of file SiStripPayloadInspectorHelper.h.

174  {
175  switch (e) {
176  case SiStripPI::min:
177  return "minimum";
178  case SiStripPI::max:
179  return "maximum";
180  case SiStripPI::mean:
181  return "mean";
182  case SiStripPI::rms:
183  return "RMS";
184  default:
185  return "should never be here";
186  }
187  }

References MillePedeFileConverter_cfg::e, max, mean, min, and rms.

◆ fillBCArrays()

void SiStripPI::fillBCArrays ( const SiStripQuality siStripQuality_,
int  NTkBadComponent[4],
int  NBadComponent[4][19][4],
const TrackerTopology  m_trackerTopo 
)
inline

Definition at line 610 of file SiStripPayloadInspectorHelper.h.

615  {
616  std::vector<SiStripQuality::BadComponent> BC = siStripQuality_->getBadComponentList();
617 
618  for (size_t i = 0; i < BC.size(); ++i) {
619  //&&&&&&&&&&&&&
620  //Full Tk
621  //&&&&&&&&&&&&&
622 
623  if (BC.at(i).BadModule)
624  NTkBadComponent[0]++;
625  if (BC.at(i).BadFibers)
626  NTkBadComponent[1] +=
627  ((BC.at(i).BadFibers >> 2) & 0x1) + ((BC.at(i).BadFibers >> 1) & 0x1) + ((BC.at(i).BadFibers) & 0x1);
628  if (BC.at(i).BadApvs)
629  NTkBadComponent[2] += ((BC.at(i).BadApvs >> 5) & 0x1) + ((BC.at(i).BadApvs >> 4) & 0x1) +
630  ((BC.at(i).BadApvs >> 3) & 0x1) + ((BC.at(i).BadApvs >> 2) & 0x1) +
631  ((BC.at(i).BadApvs >> 1) & 0x1) + ((BC.at(i).BadApvs) & 0x1);
632 
633  //&&&&&&&&&&&&&&&&&
634  //Single SubSyste
635  //&&&&&&&&&&&&&&&&&
636  int component;
637  DetId detectorId = DetId(BC.at(i).detid);
638  int subDet = detectorId.subdetId();
639  if (subDet == StripSubdetector::TIB) {
640  //&&&&&&&&&&&&&&&&&
641  //TIB
642  //&&&&&&&&&&&&&&&&&
643 
644  component = m_trackerTopo.tibLayer(BC.at(i).detid);
645  SiStripPI::setBadComponents(0, component, BC.at(i), NBadComponent);
646 
647  } else if (subDet == StripSubdetector::TID) {
648  //&&&&&&&&&&&&&&&&&
649  //TID
650  //&&&&&&&&&&&&&&&&&
651 
652  component = m_trackerTopo.tidSide(BC.at(i).detid) == 2 ? m_trackerTopo.tidWheel(BC.at(i).detid)
653  : m_trackerTopo.tidWheel(BC.at(i).detid) + 3;
654  SiStripPI::setBadComponents(1, component, BC.at(i), NBadComponent);
655 
656  } else if (subDet == StripSubdetector::TOB) {
657  //&&&&&&&&&&&&&&&&&
658  //TOB
659  //&&&&&&&&&&&&&&&&&
660 
661  component = m_trackerTopo.tobLayer(BC.at(i).detid);
662  SiStripPI::setBadComponents(2, component, BC.at(i), NBadComponent);
663 
664  } else if (subDet == StripSubdetector::TEC) {
665  //&&&&&&&&&&&&&&&&&
666  //TEC
667  //&&&&&&&&&&&&&&&&&
668 
669  component = m_trackerTopo.tecSide(BC.at(i).detid) == 2 ? m_trackerTopo.tecWheel(BC.at(i).detid)
670  : m_trackerTopo.tecWheel(BC.at(i).detid) + 9;
671  SiStripPI::setBadComponents(3, component, BC.at(i), NBadComponent);
672  }
673  }
674 
675  //&&&&&&&&&&&&&&&&&&
676  // Single Strip Info
677  //&&&&&&&&&&&&&&&&&&
678 
679  const auto detInfo =
681 
682  float percentage = 0;
683 
684  SiStripQuality::RegistryIterator rbegin = siStripQuality_->getRegistryVectorBegin();
685  SiStripQuality::RegistryIterator rend = siStripQuality_->getRegistryVectorEnd();
686 
687  for (SiStripBadStrip::RegistryIterator rp = rbegin; rp != rend; ++rp) {
688  uint32_t detid = rp->detid;
689 
690  int subdet = -999;
691  int component = -999;
692  DetId detectorId = DetId(detid);
693  int subDet = detectorId.subdetId();
694  if (subDet == StripSubdetector::TIB) {
695  subdet = 0;
696  component = m_trackerTopo.tibLayer(detid);
697  } else if (subDet == StripSubdetector::TID) {
698  subdet = 1;
699  component =
700  m_trackerTopo.tidSide(detid) == 2 ? m_trackerTopo.tidWheel(detid) : m_trackerTopo.tidWheel(detid) + 3;
701  } else if (subDet == StripSubdetector::TOB) {
702  subdet = 2;
703  component = m_trackerTopo.tobLayer(detid);
704  } else if (subDet == StripSubdetector::TEC) {
705  subdet = 3;
706  component =
707  m_trackerTopo.tecSide(detid) == 2 ? m_trackerTopo.tecWheel(detid) : m_trackerTopo.tecWheel(detid) + 9;
708  }
709 
710  SiStripQuality::Range sqrange = SiStripQuality::Range(siStripQuality_->getDataVectorBegin() + rp->ibegin,
711  siStripQuality_->getDataVectorBegin() + rp->iend);
712 
713  percentage = 0;
714  for (int it = 0; it < sqrange.second - sqrange.first; it++) {
715  unsigned int range = siStripQuality_->decode(*(sqrange.first + it)).range;
716  NTkBadComponent[3] += range;
717  NBadComponent[subdet][0][3] += range;
718  NBadComponent[subdet][component][3] += range;
719  percentage += range;
720  }
721  if (percentage != 0)
722  percentage /= 128. * detInfo.getNumberOfApvsAndStripLength(detid).first;
723  if (percentage > 1)
724  edm::LogError("SiStripBadStrip_PayloadInspector")
725  << "PROBLEM detid " << detid << " value " << percentage << std::endl;
726  }
727  }

References SiStripBadStrip::decode(), contentValuesFiles::fullPath, SiStripQuality::getBadComponentList(), SiStripBadStrip::getDataVectorBegin(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), mps_fire::i, SiStripDetInfoFileReader::kDefaultFile, FastTimerService_cff::range, SiStripBadStrip::data::range, SiStripDetInfoFileReader::read(), setBadComponents(), DetId::subdetId(), StripSubdetector::TEC, TrackerTopology::tecSide(), TrackerTopology::tecWheel(), StripSubdetector::TIB, TrackerTopology::tibLayer(), StripSubdetector::TID, TrackerTopology::tidSide(), TrackerTopology::tidWheel(), StripSubdetector::TOB, TrackerTopology::tobLayer(), and testProducerWithPsetDescEmpty_cfi::x1.

◆ fillNoiseDetSummary()

void SiStripPI::fillNoiseDetSummary ( SiStripDetSummary summaryNoise,
std::shared_ptr< SiStripNoises payload,
SiStripPI::estimator  est 
)
inline

Definition at line 500 of file SiStripPayloadInspectorHelper.h.

504  {
505  SiStripNoises::RegistryIterator rit = payload->getRegistryVectorBegin(), erit = payload->getRegistryVectorEnd();
506  uint16_t Nstrips;
507  std::vector<float> vstripnoise;
508  double mean, rms, min, max;
509  for (; rit != erit; ++rit) {
510  Nstrips = (rit->iend - rit->ibegin) * 8 / 9; //number of strips = number of chars * char size / strip noise size
511  vstripnoise.resize(Nstrips);
512  payload->allNoises(
513  vstripnoise,
514  make_pair(payload->getDataVectorBegin() + rit->ibegin, payload->getDataVectorBegin() + rit->iend));
515 
516  mean = 0;
517  rms = 0;
518  min = 10000;
519  max = 0;
520 
521  DetId detId(rit->detid);
522 
523  for (size_t i = 0; i < Nstrips; ++i) {
524  mean += vstripnoise[i];
525  rms += vstripnoise[i] * vstripnoise[i];
526  if (vstripnoise[i] < min)
527  min = vstripnoise[i];
528  if (vstripnoise[i] > max)
529  max = vstripnoise[i];
530  }
531 
532  mean /= Nstrips;
533  if ((rms / Nstrips - mean * mean) > 0.) {
534  rms = sqrt(rms / Nstrips - mean * mean);
535  } else {
536  rms = 0.;
537  }
538 
539  switch (est) {
540  case SiStripPI::min:
541  summaryNoise.add(detId, min);
542  break;
543  case SiStripPI::max:
544  summaryNoise.add(detId, max);
545  break;
546  case SiStripPI::mean:
547  summaryNoise.add(detId, mean);
548  break;
549  case SiStripPI::rms:
550  summaryNoise.add(detId, rms);
551  break;
552  default:
553  edm::LogWarning("LogicError") << "Unknown estimator: " << est;
554  break;
555  }
556  }
557  }

References SiStripDetSummary::add(), mps_fire::i, max, mean, min, jets_cff::payload, rms, and mathSSE::sqrt().

◆ fillTotalComponents()

void SiStripPI::fillTotalComponents ( int  NTkComponents[4],
int  NComponents[4][19][4],
const TrackerTopology  m_trackerTopo 
)
inline

Definition at line 560 of file SiStripPayloadInspectorHelper.h.

562  {
563  const auto detInfo =
565  for (const auto& det : detInfo.getAllData()) {
566  int nAPVs = detInfo.getNumberOfApvsAndStripLength(det.first).first;
567  // one fiber connects to 2 APVs
568  int nFibers = nAPVs / 2;
569  int nStrips = (128 * detInfo.getNumberOfApvsAndStripLength(det.first).first);
570  NTkComponents[0]++;
571  NTkComponents[1] += nFibers;
572  NTkComponents[2] += nAPVs;
573  NTkComponents[3] += nStrips;
574 
575  DetId detectorId = DetId(det.first);
576  int subDet = detectorId.subdetId();
577 
578  int subDetIndex = -1;
579  int component = -1;
580  if (subDet == StripSubdetector::TIB) {
581  subDetIndex = 0;
582  component = m_trackerTopo.tibLayer(det.first);
583  } else if (subDet == StripSubdetector::TID) {
584  subDetIndex = 1;
585  component = m_trackerTopo.tidSide(det.first) == 2 ? m_trackerTopo.tidWheel(det.first)
586  : m_trackerTopo.tidWheel(det.first) + 3;
587  } else if (subDet == StripSubdetector::TOB) {
588  subDetIndex = 2;
589  component = m_trackerTopo.tobLayer(det.first);
590  } else if (subDet == StripSubdetector::TEC) {
591  subDetIndex = 3;
592  component = m_trackerTopo.tecSide(det.first) == 2 ? m_trackerTopo.tecWheel(det.first)
593  : m_trackerTopo.tecWheel(det.first) + 9;
594  }
595 
596  NComponents[subDetIndex][0][0]++;
597  NComponents[subDetIndex][0][1] += nFibers;
598  NComponents[subDetIndex][0][2] += nAPVs;
599  NComponents[subDetIndex][0][3] += nStrips;
600 
601  NComponents[subDetIndex][component][0]++;
602  NComponents[subDetIndex][component][1] += nFibers;
603  NComponents[subDetIndex][component][2] += nAPVs;
604  NComponents[subDetIndex][component][3] += nStrips;
605  }
606  }

References contentValuesFiles::fullPath, SiStripDetInfoFileReader::kDefaultFile, me0TriggerPseudoDigis_cff::nStrips, SiStripDetInfoFileReader::read(), DetId::subdetId(), StripSubdetector::TEC, TrackerTopology::tecSide(), TrackerTopology::tecWheel(), StripSubdetector::TIB, TrackerTopology::tibLayer(), StripSubdetector::TID, TrackerTopology::tidSide(), TrackerTopology::tidWheel(), StripSubdetector::TOB, and TrackerTopology::tobLayer().

◆ getExtrema()

std::pair<float, float> SiStripPI::getExtrema ( TH1 *  h1,
TH1 *  h2 
)
inline

Definition at line 402 of file SiStripPayloadInspectorHelper.h.

404  {
405  float theMax(-9999.);
406  float theMin(9999.);
407  theMax = h1->GetMaximum() > h2->GetMaximum() ? h1->GetMaximum() : h2->GetMaximum();
408  theMin = h1->GetMinimum() < h2->GetMaximum() ? h1->GetMinimum() : h2->GetMinimum();
409 
410  float add_min = theMin > 0. ? -0.05 : 0.05;
411  float add_max = theMax > 0. ? 0.05 : -0.05;
412 
413  auto result = std::make_pair(theMin * (1 + add_min), theMax * (1 + add_max));
414  return result;
415  }

References mps_fire::result.

◆ getStringFromSubdet()

std::string SiStripPI::getStringFromSubdet ( StripSubdetector::SubDetector  sub)
inline

Definition at line 190 of file SiStripPayloadInspectorHelper.h.

192  {
193  switch (sub) {
195  return "TIB";
197  return "TOB";
199  return "TID";
201  return "TEC";
202  default:
203  return "should never be here";
204  }
205  }

References StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, and StripSubdetector::TOB.

◆ getTheRange()

std::pair<float, float> SiStripPI::getTheRange ( std::map< uint32_t, float >  values,
const float  nsigma 
)
inline

Definition at line 340 of file SiStripPayloadInspectorHelper.h.

342  {
343  float sum = std::accumulate(
344  std::begin(values), std::end(values), 0.0, [](float value, const std::map<uint32_t, float>::value_type& p) {
345  return value + p.second;
346  });
347 
348  float m = sum / values.size();
349 
350  float accum = 0.0;
351  std::for_each(std::begin(values), std::end(values), [&](const std::map<uint32_t, float>::value_type& p) {
352  accum += (p.second - m) * (p.second - m);
353  });
354 
355  float stdev = sqrt(accum / (values.size() - 1));
356 
357  if (stdev != 0.) {
358  return std::make_pair(m - nsigma * stdev, m + nsigma * stdev);
359  } else {
360  return std::make_pair(m > 0. ? 0.95 * m : 1.05 * m, m > 0 ? 1.05 * m : 0.95 * m);
361  }
362  }

References mps_fire::end, visualization-live-secondInstance_cfg::m, AlCaHLTBitMon_ParallelJobs::p, mathSSE::sqrt(), plotscripts::stdev(), and contentValuesCheck::values.

Referenced by SiStripMiscalibrate::getTruncatedRange().

◆ makeNicePlotStyle()

void SiStripPI::makeNicePlotStyle ( TH1 *  hist)
inline

Definition at line 418 of file SiStripPayloadInspectorHelper.h.

420  {
421  hist->SetStats(kFALSE);
422  hist->SetLineWidth(2);
423  hist->GetXaxis()->CenterTitle(true);
424  hist->GetYaxis()->CenterTitle(true);
425  hist->GetXaxis()->SetTitleFont(42);
426  hist->GetYaxis()->SetTitleFont(42);
427  hist->GetXaxis()->SetTitleSize(0.05);
428  hist->GetYaxis()->SetTitleSize(0.05);
429  hist->GetXaxis()->SetTitleOffset(0.9);
430  hist->GetYaxis()->SetTitleOffset(1.3);
431  hist->GetXaxis()->SetLabelFont(42);
432  hist->GetYaxis()->SetLabelFont(42);
433  hist->GetYaxis()->SetLabelSize(.05);
434  hist->GetXaxis()->SetLabelSize(.05);
435  }

References gpuVertexFinder::hist.

◆ printBCDebug()

void SiStripPI::printBCDebug ( int  NTkBadComponent[4],
int  NBadComponent[4][19][4] 
)
inline

Definition at line 730 of file SiStripPayloadInspectorHelper.h.

732  {
733  //&&&&&&&&&&&&&&&&&&
734  // printout
735  //&&&&&&&&&&&&&&&&&&
736 
737  std::stringstream ss;
738  ss.str("");
739  ss << "\n-----------------\nGlobal Info\n-----------------";
740  ss << "\nBadComponent \t Modules \tFibers "
741  "\tApvs\tStrips\n----------------------------------------------------------------";
742  ss << "\nTracker:\t\t" << NTkBadComponent[0] << "\t" << NTkBadComponent[1] << "\t" << NTkBadComponent[2] << "\t"
743  << NTkBadComponent[3];
744  ss << "\n";
745  ss << "\nTIB:\t\t\t" << NBadComponent[0][0][0] << "\t" << NBadComponent[0][0][1] << "\t" << NBadComponent[0][0][2]
746  << "\t" << NBadComponent[0][0][3];
747  ss << "\nTID:\t\t\t" << NBadComponent[1][0][0] << "\t" << NBadComponent[1][0][1] << "\t" << NBadComponent[1][0][2]
748  << "\t" << NBadComponent[1][0][3];
749  ss << "\nTOB:\t\t\t" << NBadComponent[2][0][0] << "\t" << NBadComponent[2][0][1] << "\t" << NBadComponent[2][0][2]
750  << "\t" << NBadComponent[2][0][3];
751  ss << "\nTEC:\t\t\t" << NBadComponent[3][0][0] << "\t" << NBadComponent[3][0][1] << "\t" << NBadComponent[3][0][2]
752  << "\t" << NBadComponent[3][0][3];
753  ss << "\n";
754 
755  for (int i = 1; i < 5; ++i)
756  ss << "\nTIB Layer " << i << " :\t\t" << NBadComponent[0][i][0] << "\t" << NBadComponent[0][i][1] << "\t"
757  << NBadComponent[0][i][2] << "\t" << NBadComponent[0][i][3];
758  ss << "\n";
759  for (int i = 1; i < 4; ++i)
760  ss << "\nTID+ Disk " << i << " :\t\t" << NBadComponent[1][i][0] << "\t" << NBadComponent[1][i][1] << "\t"
761  << NBadComponent[1][i][2] << "\t" << NBadComponent[1][i][3];
762  for (int i = 4; i < 7; ++i)
763  ss << "\nTID- Disk " << i - 3 << " :\t\t" << NBadComponent[1][i][0] << "\t" << NBadComponent[1][i][1] << "\t"
764  << NBadComponent[1][i][2] << "\t" << NBadComponent[1][i][3];
765  ss << "\n";
766  for (int i = 1; i < 7; ++i)
767  ss << "\nTOB Layer " << i << " :\t\t" << NBadComponent[2][i][0] << "\t" << NBadComponent[2][i][1] << "\t"
768  << NBadComponent[2][i][2] << "\t" << NBadComponent[2][i][3];
769  ss << "\n";
770  for (int i = 1; i < 10; ++i)
771  ss << "\nTEC+ Disk " << i << " :\t\t" << NBadComponent[3][i][0] << "\t" << NBadComponent[3][i][1] << "\t"
772  << NBadComponent[3][i][2] << "\t" << NBadComponent[3][i][3];
773  for (int i = 10; i < 19; ++i)
774  ss << "\nTEC- Disk " << i - 9 << " :\t\t" << NBadComponent[3][i][0] << "\t" << NBadComponent[3][i][1] << "\t"
775  << NBadComponent[3][i][2] << "\t" << NBadComponent[3][i][3];
776  ss << "\n";
777 
778  //edm::LogInfo("SiStripBadStrip_PayloadInspector") << ss.str() << std::endl;
779  std::cout << ss.str() << std::endl;
780  }

References gather_cfg::cout, mps_fire::i, and contentValuesCheck::ss.

◆ printSummary()

void SiStripPI::printSummary ( const std::map< unsigned int, SiStripDetSummary::Values > &  map)
inline

Definition at line 438 of file SiStripPayloadInspectorHelper.h.

440  {
441  for (const auto& element : map) {
442  int count = element.second.count;
443  double mean = count > 0 ? (element.second.mean) / count : 0.;
444  double rms = count > 0 ? (element.second.rms) / count - mean * mean : 0.;
445  if (rms <= 0)
446  rms = 0;
447  else
448  rms = sqrt(rms);
449 
451 
452  switch ((element.first) / 1000) {
453  case 1:
454  detector = "TIB ";
455  break;
456  case 2:
457  detector = "TOB ";
458  break;
459  case 3:
460  detector = "TEC ";
461  break;
462  case 4:
463  detector = "TID ";
464  break;
465  }
466 
467  int layer = (element.first) / 10 - (element.first) / 1000 * 100;
468  int stereo = (element.first) - (layer * 10) - (element.first) / 1000 * 1000;
469 
470  std::cout << "key of the map:" << element.first << " ( region: " << regionType(element.first).second << " ) "
471  << detector << " layer: " << layer << " stereo:" << stereo << "| count:" << count << " mean: " << mean
472  << " rms: " << rms << std::endl;
473  }
474  }

References submitPVResolutionJobs::count, gather_cfg::cout, hgcalTestNeighbor_cfi::detector, phase1PixelTopology::layer, genParticles_cff::map, mean, regionType(), rms, mathSSE::sqrt(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by FastTimerService::postEndJob(), and FastTimerService::postGlobalEndRun().

◆ regionType()

std::pair<int, const char*> SiStripPI::regionType ( int  index)
inline

Definition at line 250 of file SiStripPayloadInspectorHelper.h.

252  {
253  auto region = static_cast<std::underlying_type_t<SiStripPI::TrackerRegion>>(index);
254 
255  switch (region) {
256  case SiStripPI::TIB1r:
257  return std::make_pair(1, "TIB L1 r-#varphi");
258  case SiStripPI::TIB1s:
259  return std::make_pair(2, "TIB L1 stereo");
260  case SiStripPI::TIB2r:
261  return std::make_pair(3, "TIB L2 r-#varphi");
262  case SiStripPI::TIB2s:
263  return std::make_pair(4, "TIB L2 stereo");
264  case SiStripPI::TIB3r:
265  return std::make_pair(5, "TIB L3");
266  case SiStripPI::TIB4r:
267  return std::make_pair(6, "TIB L4");
268  case SiStripPI::TOB1r:
269  return std::make_pair(7, "TOB L1 r-#varphi");
270  case SiStripPI::TOB1s:
271  return std::make_pair(8, "TOB L1 stereo");
272  case SiStripPI::TOB2r:
273  return std::make_pair(9, "TOB L2 r-#varphi");
274  case SiStripPI::TOB2s:
275  return std::make_pair(10, "TOB L2 stereo");
276  case SiStripPI::TOB3r:
277  return std::make_pair(11, "TOB L3 r-#varphi");
278  case SiStripPI::TOB4r:
279  return std::make_pair(12, "TOB L4");
280  case SiStripPI::TOB5r:
281  return std::make_pair(13, "TOB L5");
282  case SiStripPI::TOB6r:
283  return std::make_pair(14, "TOB L6");
284  case SiStripPI::TEC1r:
285  return std::make_pair(15, "TEC D1 r-#varphi");
286  case SiStripPI::TEC1s:
287  return std::make_pair(16, "TEC D1 stereo");
288  case SiStripPI::TEC2r:
289  return std::make_pair(17, "TEC D2 r-#varphi");
290  case SiStripPI::TEC2s:
291  return std::make_pair(18, "TEC D2 stereo");
292  case SiStripPI::TEC3r:
293  return std::make_pair(19, "TEC D3 r-#varphi");
294  case SiStripPI::TEC3s:
295  return std::make_pair(20, "TEC D3 stereo");
296  case SiStripPI::TEC4r:
297  return std::make_pair(21, "TEC D4 r-#varphi");
298  case SiStripPI::TEC4s:
299  return std::make_pair(22, "TEC D4 stereo");
300  case SiStripPI::TEC5r:
301  return std::make_pair(23, "TEC D5 r-#varphi");
302  case SiStripPI::TEC5s:
303  return std::make_pair(24, "TEC D5 stereo");
304  case SiStripPI::TEC6r:
305  return std::make_pair(25, "TEC D6 r-#varphi");
306  case SiStripPI::TEC6s:
307  return std::make_pair(26, "TEC D6 stereo");
308  case SiStripPI::TEC7r:
309  return std::make_pair(27, "TEC D7 r-#varphi");
310  case SiStripPI::TEC7s:
311  return std::make_pair(28, "TEC D7 stereo");
312  case SiStripPI::TEC8r:
313  return std::make_pair(29, "TEC D8 r-#varphi");
314  case SiStripPI::TEC8s:
315  return std::make_pair(30, "TEC D8 stereo");
316  case SiStripPI::TEC9r:
317  return std::make_pair(31, "TEC D9 r-#varphi");
318  case SiStripPI::TEC9s:
319  return std::make_pair(32, "TEC D9 stereo");
320  case SiStripPI::TID1r:
321  return std::make_pair(33, "TID D1 r-#varphi");
322  case SiStripPI::TID1s:
323  return std::make_pair(34, "TID D1 stereo");
324  case SiStripPI::TID2r:
325  return std::make_pair(35, "TID D2 r-#varphi");
326  case SiStripPI::TID2s:
327  return std::make_pair(36, "TID D2 stereo");
328  case SiStripPI::TID3r:
329  return std::make_pair(37, "TID D3 r-#varphi");
330  case SiStripPI::TID3s:
331  return std::make_pair(38, "TID D3 stereo");
333  return std::make_pair(-1, "undefined");
334  default:
335  return std::make_pair(999, "should never be here");
336  }
337  }

References END_OF_REGIONS, HLT_FULL_cff::region, TEC1r, TEC1s, TEC2r, TEC2s, TEC3r, TEC3s, TEC4r, TEC4s, TEC5r, TEC5s, TEC6r, TEC6s, TEC7r, TEC7s, TEC8r, TEC8s, TEC9r, TEC9s, TIB1r, TIB1s, TIB2r, TIB2s, TIB3r, TIB4r, TID1r, TID1s, TID2r, TID2s, TID3r, TID3s, TOB1r, TOB1s, TOB2r, TOB2s, TOB3r, TOB4r, TOB5r, and TOB6r.

Referenced by printSummary().

◆ setBadComponents()

void SiStripPI::setBadComponents ( int  i,
int  component,
const SiStripQuality::BadComponent BC,
int  NBadComponent[4][19][4] 
)
inline

Definition at line 479 of file SiStripPayloadInspectorHelper.h.

481  {
482  if (BC.BadApvs) {
483  NBadComponent[i][0][2] += std::bitset<16>(BC.BadApvs & 0x3f).count();
484  NBadComponent[i][component][2] += std::bitset<16>(BC.BadApvs & 0x3f).count();
485  }
486 
487  if (BC.BadFibers) {
488  NBadComponent[i][0][1] += std::bitset<4>(BC.BadFibers & 0x7).count();
489  NBadComponent[i][component][1] += std::bitset<4>(BC.BadFibers & 0x7).count();
490  }
491 
492  if (BC.BadModule) {
493  NBadComponent[i][0][0]++;
494  NBadComponent[i][component][0]++;
495  }
496  }

References SiStripQuality::BadComponent::BadApvs, SiStripQuality::BadComponent::BadFibers, SiStripQuality::BadComponent::BadModule, and mps_fire::i.

Referenced by fillBCArrays().

◆ setPaletteStyle()

void SiStripPI::setPaletteStyle ( SiStripPI::palette  palette)
inline

Definition at line 785 of file SiStripPayloadInspectorHelper.h.

787  {
788  TStyle* palettestyle = new TStyle("palettestyle", "Style for P-TDR");
789 
790  const int NRGBs = 5;
791  const int NCont = 255;
792 
793  switch (palette) {
794  case HALFGRAY: {
795  double stops[NRGBs] = {0.00, 0.34, 0.61, 0.84, 1.00};
796  double red[NRGBs] = {1.00, 0.91, 0.80, 0.67, 1.00};
797  double green[NRGBs] = {1.00, 0.91, 0.80, 0.67, 1.00};
798  double blue[NRGBs] = {1.00, 0.91, 0.80, 0.67, 1.00};
799  TColor::CreateGradientColorTable(NRGBs, stops, red, green, blue, NCont);
800  } break;
801 
802  case GRAY: {
803  double stops[NRGBs] = {0.00, 0.01, 0.05, 0.09, 0.1};
804  double red[NRGBs] = {1.00, 0.84, 0.61, 0.34, 0.00};
805  double green[NRGBs] = {1.00, 0.84, 0.61, 0.34, 0.00};
806  double blue[NRGBs] = {1.00, 0.84, 0.61, 0.34, 0.00};
807  TColor::CreateGradientColorTable(NRGBs, stops, red, green, blue, NCont);
808  } break;
809 
810  case BLUES: {
811  double stops[NRGBs] = {0.00, 0.34, 0.61, 0.84, 1.00};
812  double red[NRGBs] = {1.00, 0.84, 0.61, 0.34, 0.00};
813  double green[NRGBs] = {1.00, 0.84, 0.61, 0.34, 0.00};
814  double blue[NRGBs] = {1.00, 1.00, 1.00, 1.00, 1.00};
815  TColor::CreateGradientColorTable(NRGBs, stops, red, green, blue, NCont);
816 
817  } break;
818 
819  case REDS: {
820  double stops[NRGBs] = {0.00, 0.34, 0.61, 0.84, 1.00};
821  double red[NRGBs] = {1.00, 1.00, 1.00, 1.00, 1.00};
822  double green[NRGBs] = {1.00, 0.84, 0.61, 0.34, 0.00};
823  double blue[NRGBs] = {1.00, 0.84, 0.61, 0.34, 0.00};
824  TColor::CreateGradientColorTable(NRGBs, stops, red, green, blue, NCont);
825  } break;
826 
827  case ANTIGRAY: {
828  double stops[NRGBs] = {0.00, 0.34, 0.61, 0.84, 1.00};
829  double red[NRGBs] = {0.00, 0.34, 0.61, 0.84, 1.00};
830  double green[NRGBs] = {0.00, 0.34, 0.61, 0.84, 1.00};
831  double blue[NRGBs] = {0.00, 0.34, 0.61, 0.84, 1.00};
832  TColor::CreateGradientColorTable(NRGBs, stops, red, green, blue, NCont);
833  } break;
834 
835  case FIRE: {
836  const int NCOLs = 4;
837  double stops[NCOLs] = {0.00, 0.20, 0.80, 1.00};
838  double red[NCOLs] = {1.00, 1.00, 1.00, 0.50};
839  double green[NCOLs] = {1.00, 1.00, 0.00, 0.00};
840  double blue[NCOLs] = {0.20, 0.00, 0.00, 0.00};
841  TColor::CreateGradientColorTable(NCOLs, stops, red, green, blue, NCont);
842  } break;
843 
844  case ANTIFIRE: {
845  const int NCOLs = 4;
846  double stops[NCOLs] = {0.00, 0.20, 0.80, 1.00};
847  double red[NCOLs] = {0.50, 1.00, 1.00, 1.00};
848  double green[NCOLs] = {0.00, 0.00, 1.00, 1.00};
849  double blue[NCOLs] = {0.00, 0.00, 0.00, 0.20};
850  TColor::CreateGradientColorTable(NCOLs, stops, red, green, blue, NCont);
851  } break;
852 
853  case LOGREDBLUE: {
854  double stops[NRGBs] = {0.0001, 0.0010, 0.0100, 0.1000, 1.0000};
855  double red[NRGBs] = {1.00, 0.75, 0.50, 0.25, 0.00};
856  double green[NRGBs] = {0.00, 0.00, 0.00, 0.00, 0.00};
857  double blue[NRGBs] = {0.00, 0.25, 0.50, 0.75, 1.00};
858  TColor::CreateGradientColorTable(NRGBs, stops, red, green, blue, NCont);
859  } break;
860 
861  case LOGBLUERED: {
862  double stops[NRGBs] = {0.0001, 0.0010, 0.0100, 0.1000, 1.0000};
863  double red[NRGBs] = {0.00, 0.25, 0.50, 0.75, 1.00};
864  double green[NRGBs] = {0.00, 0.00, 0.00, 0.00, 0.00};
865  double blue[NRGBs] = {1.00, 0.75, 0.50, 0.25, 0.00};
866  TColor::CreateGradientColorTable(NRGBs, stops, red, green, blue, NCont);
867  } break;
868 
869  case BLUERED: {
870  double stops[NRGBs] = {0.00, 0.34, 0.61, 0.84, 1.00};
871  double red[NRGBs] = {0.00, 0.25, 0.50, 0.75, 1.00};
872  double green[NRGBs] = {0.00, 0.00, 0.00, 0.00, 0.00};
873  double blue[NRGBs] = {1.00, 0.75, 0.50, 0.25, 0.00};
874  TColor::CreateGradientColorTable(NRGBs, stops, red, green, blue, NCont);
875  } break;
876 
877  case DEFAULT: {
878  double stops[NRGBs] = {0.00, 0.34, 0.61, 0.84, 1.00};
879  double red[NRGBs] = {0.00, 0.00, 0.87, 1.00, 0.51};
880  double green[NRGBs] = {0.00, 0.81, 1.00, 0.20, 0.00};
881  double blue[NRGBs] = {0.51, 1.00, 0.12, 0.00, 0.00};
882  TColor::CreateGradientColorTable(NRGBs, stops, red, green, blue, NCont);
883  } break;
884  default:
885  std::cout << "should nevere be here" << std::endl;
886  break;
887  }
888 
889  palettestyle->SetNumberContours(NCont);
890  }

References ANTIFIRE, ANTIGRAY, DivergingColor::blue, BLUERED, BLUES, gather_cfg::cout, DEFAULT, FIRE, GRAY, HALFGRAY, LOGBLUERED, LOGREDBLUE, DivergingColor::red, and REDS.

SiStripPI::TEC4s
Definition: SiStripPayloadInspectorHelper.h:229
FastTimerService_cff.range
range
Definition: FastTimerService_cff.py:34
mps_fire.i
i
Definition: mps_fire.py:428
SiStripPI::TOB1s
Definition: SiStripPayloadInspectorHelper.h:215
SiStripPI::mean
Definition: SiStripPayloadInspectorHelper.h:169
SiStripPI::TIB1r
Definition: SiStripPayloadInspectorHelper.h:208
SiStripPI::TIB2r
Definition: SiStripPayloadInspectorHelper.h:210
SiStripPI::TOB6r
Definition: SiStripPayloadInspectorHelper.h:221
X
#define X(str)
Definition: MuonsGrabber.cc:38
min
T min(T a, T b)
Definition: MathUtil.h:58
SiStripPI::TEC3r
Definition: SiStripPayloadInspectorHelper.h:226
contentValuesFiles.fullPath
fullPath
Definition: contentValuesFiles.py:64
SiStripPI::TEC2s
Definition: SiStripPayloadInspectorHelper.h:225
SiStripPI::DEFAULT
Definition: SiStripPayloadInspectorHelper.h:782
gather_cfg.cout
cout
Definition: gather_cfg.py:144
SiStripPI::BLUERED
Definition: SiStripPayloadInspectorHelper.h:782
SiStripPI::TEC9r
Definition: SiStripPayloadInspectorHelper.h:238
SiStripBadStrip::decode
data decode(const unsigned int &value) const
Definition: SiStripBadStrip.h:78
SiStripPI::TOB2s
Definition: SiStripPayloadInspectorHelper.h:217
SiStripPI::END_OF_REGIONS
Definition: SiStripPayloadInspectorHelper.h:246
SiStripPI::BLUES
Definition: SiStripPayloadInspectorHelper.h:782
SiStripPI::TIB3r
Definition: SiStripPayloadInspectorHelper.h:212
SiStripPI::TOB5r
Definition: SiStripPayloadInspectorHelper.h:220
SiStripPI::TIB4r
Definition: SiStripPayloadInspectorHelper.h:213
SiStripBadStrip::getDataVectorBegin
ContainerIterator getDataVectorBegin() const
Definition: SiStripBadStrip.h:73
SiStripPI::rms
Definition: SiStripPayloadInspectorHelper.h:169
SiStripPI::TEC7s
Definition: SiStripPayloadInspectorHelper.h:235
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
DivergingColor.red
list red
Definition: DivergingColor.py:172
SiStripDetInfoFileReader::read
SiStripDetInfo read(std::string filePath)
Definition: SiStripDetInfoFileReader.cc:11
SiStripPI::LOGREDBLUE
Definition: SiStripPayloadInspectorHelper.h:782
TrackerTopology::tidWheel
unsigned int tidWheel(const DetId &id) const
Definition: TrackerTopology.h:201
SiStripPI::TEC9s
Definition: SiStripPayloadInspectorHelper.h:239
edmScanValgrind.buffer
buffer
Definition: edmScanValgrind.py:171
SiStripPI::REDS
Definition: SiStripPayloadInspectorHelper.h:782
SiStripPI::TEC8r
Definition: SiStripPayloadInspectorHelper.h:236
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
DetId
Definition: DetId.h:17
edm::FileInPath
Definition: FileInPath.h:61
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
SiStripBadStrip::Range
std::pair< ContainerIterator, ContainerIterator > Range
Definition: SiStripBadStrip.h:53
SiStripQuality::getBadComponentList
const std::vector< BadComponent > & getBadComponentList() const
Definition: SiStripQuality.h:114
SiStripBadStrip::getRegistryVectorBegin
RegistryIterator getRegistryVectorBegin() const
Definition: SiStripBadStrip.h:75
SiStripPI::TOB3r
Definition: SiStripPayloadInspectorHelper.h:218
SiStripPI::TEC5s
Definition: SiStripPayloadInspectorHelper.h:231
SiStripPI::TOB1r
Definition: SiStripPayloadInspectorHelper.h:214
contentValuesCheck.values
values
Definition: contentValuesCheck.py:38
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:79
SiStripPI::GRAY
Definition: SiStripPayloadInspectorHelper.h:782
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
mps_fire.end
end
Definition: mps_fire.py:242
SiStripPI::TID2s
Definition: SiStripPayloadInspectorHelper.h:243
SiStripPI::TID2r
Definition: SiStripPayloadInspectorHelper.h:242
SiStripPI::MODULE_BASED
Definition: SiStripPayloadInspectorHelper.h:27
submitPVResolutionJobs.count
count
Definition: submitPVResolutionJobs.py:352
StripSubdetector::TIB
static constexpr auto TIB
Definition: StripSubdetector.h:16
jets_cff.payload
payload
Definition: jets_cff.py:32
SiStripPI::TOB2r
Definition: SiStripPayloadInspectorHelper.h:216
SiStripQuality::BadComponent::BadFibers
unsigned short BadFibers
Definition: SiStripQuality.h:37
SiStripDetSummary::add
void add(DetId detid, float value)
Used to compute the mean value of the value variable divided by subdetector, layer and mono/stereo.
Definition: SiStripDetSummary.cc:6
DetId::subdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition: DetId.h:48
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
SiStripPI::APV_BASED
Definition: SiStripPayloadInspectorHelper.h:27
SiStripPI::TEC5r
Definition: SiStripPayloadInspectorHelper.h:230
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
SiStripPI::FIRE
Definition: SiStripPayloadInspectorHelper.h:782
gpuVertexFinder::hist
__shared__ Hist hist
Definition: gpuClusterTracksDBSCAN.h:48
SiStripPI::TIB1s
Definition: SiStripPayloadInspectorHelper.h:209
SiStripPI::TEC3s
Definition: SiStripPayloadInspectorHelper.h:227
SiStripPI::ANTIGRAY
Definition: SiStripPayloadInspectorHelper.h:782
SiStripPI::TEC8s
Definition: SiStripPayloadInspectorHelper.h:237
listHistos.legend
legend
Definition: listHistos.py:41
SiStripQuality::BadComponent::BadModule
bool BadModule
Definition: SiStripQuality.h:38
TrackerTopology::tidSide
unsigned int tidSide(const DetId &id) const
Definition: TrackerTopology.h:190
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88286
SiStripPI::HALFGRAY
Definition: SiStripPayloadInspectorHelper.h:782
SiStripPI::TEC1s
Definition: SiStripPayloadInspectorHelper.h:223
DivergingColor.blue
list blue
Definition: DivergingColor.py:173
value
Definition: value.py:1
SiStripPI::ANTIFIRE
Definition: SiStripPayloadInspectorHelper.h:782
SiStripPI::setBadComponents
void setBadComponents(int i, int component, const SiStripQuality::BadComponent &BC, int NBadComponent[4][19][4])
Definition: SiStripPayloadInspectorHelper.h:479
SiStripQuality::BadComponent::BadApvs
unsigned short BadApvs
Definition: SiStripQuality.h:36
reco::JetExtendedAssociation::value_type
Container::value_type value_type
Definition: JetExtendedAssociation.h:30
SiStripPI::palette
palette
Definition: SiStripPayloadInspectorHelper.h:782
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripPI::TID1s
Definition: SiStripPayloadInspectorHelper.h:241
SiStripPI::TID1r
Definition: SiStripPayloadInspectorHelper.h:240
SiStripPI::TEC1r
Definition: SiStripPayloadInspectorHelper.h:222
plotscripts.stdev
def stdev(xlist)
Definition: plotscripts.py:69
me0TriggerPseudoDigis_cff.nStrips
nStrips
1.2 is to make the matching window safely the two nearest strips 0.35 is the size of an ME0 chamber i...
Definition: me0TriggerPseudoDigis_cff.py:26
combine.histos
histos
Definition: combine.py:4
SiStripPI::TEC4r
Definition: SiStripPayloadInspectorHelper.h:228
SiStripPI::TIB2s
Definition: SiStripPayloadInspectorHelper.h:211
SiStripPI::TOB4r
Definition: SiStripPayloadInspectorHelper.h:219
TrackerTopology::tobLayer
unsigned int tobLayer(const DetId &id) const
Definition: TrackerTopology.h:147
StripSubdetector::TEC
static constexpr auto TEC
Definition: StripSubdetector.h:19
SiStripPI::min
Definition: SiStripPayloadInspectorHelper.h:169
SiStripPI::TID3r
Definition: SiStripPayloadInspectorHelper.h:244
SiStripDetInfoFileReader::kDefaultFile
constexpr static char const *const kDefaultFile
Definition: SiStripDetInfoFileReader.h:10
StripSubdetector::TOB
static constexpr auto TOB
Definition: StripSubdetector.h:18
data-class-funcs.H
H
Definition: data-class-funcs.py:33
BeamSpotPI::Y
Definition: BeamSpotPayloadInspectorHelper.h:32
SiStripBadStrip::RegistryIterator
Registry::const_iterator RegistryIterator
Definition: SiStripBadStrip.h:55
SiStripNoises::RegistryIterator
Registry::const_iterator RegistryIterator
Definition: SiStripNoises.h:49
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
SiStripPI::TEC6s
Definition: SiStripPayloadInspectorHelper.h:233
hgcalTestNeighbor_cfi.detector
detector
Definition: hgcalTestNeighbor_cfi.py:6
SiStripPI::STRIP_BASED
Definition: SiStripPayloadInspectorHelper.h:27
SiStripBadStrip::data::range
unsigned short range
Definition: SiStripBadStrip.h:34
SiStripPI::LOGBLUERED
Definition: SiStripPayloadInspectorHelper.h:782
mps_fire.result
result
Definition: mps_fire.py:311
genParticles_cff.map
map
Definition: genParticles_cff.py:11
edm_modernize_messagelogger.stat
stat
Definition: edm_modernize_messagelogger.py:27
SiStripPI::TEC6r
Definition: SiStripPayloadInspectorHelper.h:232
TrackerTopology::tecWheel
unsigned int tecWheel(const DetId &id) const
Definition: TrackerTopology.h:198
SiStripPI::TID3s
Definition: SiStripPayloadInspectorHelper.h:245
SiStripPI::regionType
std::pair< int, const char * > regionType(int index)
Definition: SiStripPayloadInspectorHelper.h:250
SiStripBadStrip::getRegistryVectorEnd
RegistryIterator getRegistryVectorEnd() const
Definition: SiStripBadStrip.h:76
StripSubdetector::TID
static constexpr auto TID
Definition: StripSubdetector.h:17
SiStripPI::TEC7r
Definition: SiStripPayloadInspectorHelper.h:234
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
TrackerTopology::tibLayer
unsigned int tibLayer(const DetId &id) const
Definition: TrackerTopology.h:150
SiStripPI::TEC2r
Definition: SiStripPayloadInspectorHelper.h:224
TrackerTopology::tecSide
unsigned int tecSide(const DetId &id) const
Definition: TrackerTopology.h:184