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 786 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 
)

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, class-composition::H, combine::histos, mps_fire::i, listHistos::legend, hgcalPlots::stat, X, and BeamSpotPI::Y.

◆ estimatorType()

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

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 
)

Definition at line 612 of file SiStripPayloadInspectorHelper.h.

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

References SiStripBadStrip::decode(), edm::FileInPath::fullPath(), SiStripQuality::getBadComponentList(), SiStripBadStrip::getDataVectorBegin(), SiStripBadStrip::getRegistryVectorBegin(), SiStripBadStrip::getRegistryVectorEnd(), mps_fire::i, FastTimerService_cff::range, SiStripBadStrip::data::range, DQM::reader, 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 
)

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 
)

Definition at line 560 of file SiStripPayloadInspectorHelper.h.

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

References edm::FileInPath::fullPath(), me0TriggerPseudoDigis_cff::nStrips, DQM::reader, 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 
)

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)

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 
)

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)

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 compare::hist.

◆ printBCDebug()

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

Definition at line 734 of file SiStripPayloadInspectorHelper.h.

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

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

◆ printSummary()

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

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, 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)

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] 
)

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)

Definition at line 789 of file SiStripPayloadInspectorHelper.h.

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

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
class-composition.H
H
Definition: class-composition.py:31
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
SiStripPI::TEC2s
Definition: SiStripPayloadInspectorHelper.h:225
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
SiStripPI::DEFAULT
Definition: SiStripPayloadInspectorHelper.h:786
gather_cfg.cout
cout
Definition: gather_cfg.py:144
SiStripPI::BLUERED
Definition: SiStripPayloadInspectorHelper.h:786
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:786
SiStripPI::TIB3r
Definition: SiStripPayloadInspectorHelper.h:212
SiStripPI::TOB5r
Definition: SiStripPayloadInspectorHelper.h:220
SiStripPI::TIB4r
Definition: SiStripPayloadInspectorHelper.h:213
SiStripDetInfoFileReader
Definition: SiStripDetInfoFileReader.h:30
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
SiStripPI::LOGREDBLUE
Definition: SiStripPayloadInspectorHelper.h:786
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:786
SiStripPI::TEC8r
Definition: SiStripPayloadInspectorHelper.h:236
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
DetId
Definition: DetId.h:17
edm::FileInPath
Definition: FileInPath.h:64
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:119
SiStripBadStrip::getRegistryVectorBegin
RegistryIterator getRegistryVectorBegin() const
Definition: SiStripBadStrip.h:75
SiStripPI::TOB3r
Definition: SiStripPayloadInspectorHelper.h:218
SiStripPI::TEC5s
Definition: SiStripPayloadInspectorHelper.h:231
hgcalPlots.stat
stat
Definition: hgcalPlots.py:1119
SiStripPI::TOB1r
Definition: SiStripPayloadInspectorHelper.h:214
compare.hist
hist
Definition: compare.py:376
DQM.reader
reader
Definition: DQM.py:105
contentValuesCheck.values
values
Definition: contentValuesCheck.py:38
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
SiStripPI::GRAY
Definition: SiStripPayloadInspectorHelper.h:786
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
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripPI::APV_BASED
Definition: SiStripPayloadInspectorHelper.h:27
SiStripPI::TEC5r
Definition: SiStripPayloadInspectorHelper.h:230
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
SiStripPI::FIRE
Definition: SiStripPayloadInspectorHelper.h:786
SiStripPI::TIB1s
Definition: SiStripPayloadInspectorHelper.h:209
SiStripPI::TEC3s
Definition: SiStripPayloadInspectorHelper.h:227
SiStripPI::ANTIGRAY
Definition: SiStripPayloadInspectorHelper.h:786
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:88272
SiStripPI::HALFGRAY
Definition: SiStripPayloadInspectorHelper.h:786
SiStripPI::TEC1s
Definition: SiStripPayloadInspectorHelper.h:223
DivergingColor.blue
list blue
Definition: DivergingColor.py:173
value
Definition: value.py:1
SiStripPI::ANTIFIRE
Definition: SiStripPayloadInspectorHelper.h:786
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:786
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
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
StripSubdetector::TOB
static constexpr auto TOB
Definition: StripSubdetector.h:18
BeamSpotPI::Y
Definition: BeamSpotPayloadInspectorHelper.h:31
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:786
mps_fire.result
result
Definition: mps_fire.py:311
genParticles_cff.map
map
Definition: genParticles_cff.py:11
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
edm::FileInPath::fullPath
std::string fullPath() const
Definition: FileInPath.cc:163
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