CMS 3D CMS Logo

Classes | Functions | Variables
PixelMapPlotter Namespace Reference

Classes

class  Barrel
 
class  Forward
 
class  HistogramManager
 GLOBAL VARS. More...
 

Functions

def GetAffectedRocs (rocString)
 
def GetOnlineBarrelCharacteristics (detElements, roc, reason="unknown")
 
def GetOnlineForwardCharacteristics (detElements, roc, reason="unknown")
 
def TranslatePartString (thePartStr)
 
def TranslateReasonStringBPix (theReasonStr)
 
def TranslateReasonStringFPix (theReasonStr)
 

Variables

 args
 
 barrelObj
 
 barrelObjs
 
 colorCoded
 
 detElements
 
 forwardObj
 
 forwardObjs
 
 histMan
 
 hRes
 
 i
 
 inputFileName
 
 inputs
 
 maxOnlineDisk
 
 maxOnlineModule
 
 maxRocIdx
 
 onlineMaxBlade
 
 onlineMaxLadder
 
 opts
 
 pixelAlive
 
 reason
 
 roc
 
 rocs
 
 rocsInCol
 GLOBAL VARS. More...
 
 rocsInRow
 
 rocXLen
 
 useFileSuffix
 
 useNumberAsPartName
 
 vRes
 

Function Documentation

◆ GetAffectedRocs()

def PixelMapPlotter.GetAffectedRocs (   rocString)

Definition at line 440 of file PixelMapPlotter.py.

References createfilelist.int, FastTimerService_cff.range, and str.

440 def GetAffectedRocs(rocString):
441 
442  rocString = str(rocString)
443  iComma=rocString.find(",")
444  listOfRocs = []
445 
446  if iComma!=-1:
447  listOfRocs.extend(GetAffectedRocs(rocString[0:iComma]))
448  listOfRocs.extend(GetAffectedRocs(rocString[iComma+1:len(rocString)]))
449  else:
450  iHyphen=rocString.find("-")
451  if iHyphen!=-1:
452  start=int(rocString[0:iHyphen])
453  end=int(rocString[iHyphen+1:len(rocString)])+1
454  listOfRocs.extend(range(start,end))
455  else:
456  return [int(rocString)]
457 
458  return listOfRocs
459 
460 
461 
def GetAffectedRocs(rocString)
#define str(s)

◆ GetOnlineBarrelCharacteristics()

def PixelMapPlotter.GetOnlineBarrelCharacteristics (   detElements,
  roc,
  reason = "unknown" 
)

Definition at line 416 of file PixelMapPlotter.py.

References createfilelist.int, and TranslatePartString().

416 def GetOnlineBarrelCharacteristics(detElements, roc, reason="unknown"):
417  onlinePart = int(detElements[1][1:]) if useNumberAsPartName else TranslatePartString(detElements[1][1:])
418  onlineSector = int(detElements[2][3:])
419  onlineLayer = int(detElements[3][3:])
420 
421  if detElements[4][-1] == "H" or detElements[4][-1] == "F":
422  onlineLadder = int(detElements[4][3:-1])
423  else:
424  onlineLadder = int(detElements[4][3:])
425 
426  onlineModule = int(detElements[5][3:])
427 
428  return Barrel(*[onlinePart, onlineSector, onlineLayer, onlineLadder, onlineModule, roc, reason])
429 
def GetOnlineBarrelCharacteristics(detElements, roc, reason="unknown")
def TranslatePartString(thePartStr)

◆ GetOnlineForwardCharacteristics()

def PixelMapPlotter.GetOnlineForwardCharacteristics (   detElements,
  roc,
  reason = "unknown" 
)

Definition at line 430 of file PixelMapPlotter.py.

References createfilelist.int, and TranslatePartString().

430 def GetOnlineForwardCharacteristics(detElements, roc, reason="unknown"):
431  onlinePart = int(detElements[1][1:]) if useNumberAsPartName else TranslatePartString(detElements[1][1:])
432  onlineDisk = int(detElements[2][1:])
433  onlineBlade = int(detElements[3][3:])
434  onlinePanel = int(detElements[4][3:])
435  onlineRing = int(detElements[5][3:])
436 
437  return Forward(*[onlinePart, onlineDisk, onlineBlade, onlinePanel, onlineRing, roc, reason])
438 
439 
def GetOnlineForwardCharacteristics(detElements, roc, reason="unknown")
def TranslatePartString(thePartStr)

◆ TranslatePartString()

def PixelMapPlotter.TranslatePartString (   thePartStr)

Definition at line 367 of file PixelMapPlotter.py.

References print().

Referenced by GetOnlineBarrelCharacteristics(), and GetOnlineForwardCharacteristics().

367 def TranslatePartString(thePartStr):
368  if thePartStr == "mO":
369  return 1
370  elif thePartStr == "mI":
371  return 2
372  elif thePartStr == "pO":
373  return 3
374  elif thePartStr == "pI":
375  return 4
376  else:
377  print("Unrecognized part <%s>, the script is likely to crash..." % (thePartStr))
378 
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
def TranslatePartString(thePartStr)

◆ TranslateReasonStringBPix()

def PixelMapPlotter.TranslateReasonStringBPix (   theReasonStr)

Definition at line 379 of file PixelMapPlotter.py.

References print().

Referenced by PixelMapPlotter.HistogramManager.fillHistograms().

379 def TranslateReasonStringBPix(theReasonStr):
380  if theReasonStr == "unknown":
381  return 1
382  elif theReasonStr == "notprogrammable":
383  return 1
384  elif theReasonStr == "vcthr":
385  return 2
386  elif theReasonStr == "pixelalive":
387  return 2
388  elif theReasonStr == "iana":
389  return 2
390  elif theReasonStr == "calib":
391  return 2
392  elif theReasonStr== "fedphases":
393  return 4
394  elif theReasonStr == "tbmdelay":
395  return 1
396  elif theReasonStr == "power":
397  return 5
398  else:
399  return 1
400  print("Unrecognized part <%s>, the script is likely to crash..." % (theReasonStr))
401 
def TranslateReasonStringBPix(theReasonStr)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47

◆ TranslateReasonStringFPix()

def PixelMapPlotter.TranslateReasonStringFPix (   theReasonStr)

Definition at line 402 of file PixelMapPlotter.py.

References print().

Referenced by PixelMapPlotter.HistogramManager.fillHistograms().

402 def TranslateReasonStringFPix(theReasonStr):
403  if theReasonStr == "flaky":
404  return 1
405  elif theReasonStr == "power": #check github for the real reason
406  return 5
407  elif theReasonStr == "tbmdelay": #
408  return 1
409  elif theReasonStr == "unknown":
410  return 2
411  else:
412  return 2
413  print("Unrecognized part <%s>, the script is likely to crash..." % (theReasonStr))
414 
415 
def TranslateReasonStringFPix(theReasonStr)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47

Variable Documentation

◆ args

PixelMapPlotter.args

Definition at line 473 of file PixelMapPlotter.py.

◆ barrelObj

PixelMapPlotter.barrelObj

Definition at line 515 of file PixelMapPlotter.py.

◆ barrelObjs

PixelMapPlotter.barrelObjs

Definition at line 465 of file PixelMapPlotter.py.

◆ colorCoded

PixelMapPlotter.colorCoded

Definition at line 33 of file PixelMapPlotter.py.

◆ detElements

PixelMapPlotter.detElements

Definition at line 494 of file PixelMapPlotter.py.

◆ forwardObj

PixelMapPlotter.forwardObj

Definition at line 521 of file PixelMapPlotter.py.

◆ forwardObjs

PixelMapPlotter.forwardObjs

Definition at line 466 of file PixelMapPlotter.py.

◆ histMan

PixelMapPlotter.histMan

Definition at line 464 of file PixelMapPlotter.py.

◆ hRes

PixelMapPlotter.hRes

Definition at line 31 of file PixelMapPlotter.py.

Referenced by DTRecHitQuality.compute(), and DTSegment2DQuality.dqmAnalyze().

◆ i

PixelMapPlotter.i

Definition at line 484 of file PixelMapPlotter.py.

◆ inputFileName

PixelMapPlotter.inputFileName

Definition at line 30 of file PixelMapPlotter.py.

◆ inputs

PixelMapPlotter.inputs

Definition at line 490 of file PixelMapPlotter.py.

Referenced by trklet::PurgeDuplicate.addInput(), l1t::MicroGMTIsolationUnit.calculate5by1Sums(), pat::CandidateSummaryTable.CandidateSummaryTable(), DeepTauId.checkInputs(), MkFitOutputConverter.computeDNNs(), DeepTauId.createEgammaBlockInputs(), DeepTauId.createHadronsBlockInputs(), DeepTauId.createMuonBlockInputs(), DeepTauId.createTauBlockInputs(), CandidateBoostedDoubleSecondaryVertexComputer.discriminator(), MuonTagger.discriminator(), CandidateChargeBTagComputer.discriminator(), CombinedMVAV2JetTagComputer.discriminator(), ElectronTagger.discriminator(), CharmTagger.discriminator(), HeavyIonCSVTagger.discriminator(), SiStripLorentzAngleCalibration.endOfJob(), SiPixelLorentzAngleCalibration.endOfJob(), lowptgsfeleseed::HeavyObjectCache.eval(), LowPtGsfElectronIDProducer.eval(), ElectronDNNEstimator.evaluate(), PhotonDNNEstimator.evaluate(), TMVAEvaluator.evaluate(), egammaTools::EgammaDNNHelper.evaluate(), reco::DeepSCGraphEvaluation.evaluate(), TMVAEvaluator.evaluateGBRForest(), TMVAEvaluator.evaluateTMVA(), AlCaHcalNoiseProducer.fillDescriptions(), CastorCtdcPacker.findSamples(), CastorPacker.findSamples(), HcalPacker.findSamples(), edm::messagelogger::ELseverityLevel.getInputStr(), egammaTools::EgammaDNNHelper.getScaledInputs(), reco::DeepSCGraphEvaluation.getScaledInputs(), edm::HiMixingModule.HiMixingModule(), DTOccupancyTestML.interpolateLayers(), L1MuGMTLUT.L1MuGMTLUT(), main(), HLTConfigProvider.matched(), trackerDTC::DTC.merge(), CastorCtdcPacker.pack(), CastorPacker.pack(), HcalPacker.pack(), PFClusterCollectionMerger.PFClusterCollectionMerger(), Phase1L1TJetProducer.prepareInputsIntoRegions(), HGCalTowerMapsWrapper.process(), FixedGridRhoProducerFastjet.produce(), MLPFProducer.produce(), trackerTFP::GeometricProcessor.produce(), FixedGridRhoProducerFastjetFromRecHit.produce(), ParticleTowerProducer< T >.produce(), RechitClusterProducerT< Trait >.produce(), BaseMVAValueMapProducer< pat::Muon >.produce(), jsoncollector::FastMonitor.registerStreamMonitorableUIntVec(), jsoncollector::FastMonitor.registerStreamMonitorableUIntVecAtomic(), HLTConfigProvider.restoreVersion(), tensorflow.run(), DeepTauId.saveInputs(), l1t::MicroGMTIsolationUnit.setTowerSums(), trackerTFP::ZHoughTransform.slb(), trackerTFP::MiniHoughTransform.slb(), trackerDTC::DTC.split(), lhef::LH5Reader::StringSource.StringSource(), lhef::LHEReader::StringSource.StringSource(), HGCalTriggerClusterIdentificationBDT.value(), and L1TCorrelatorLayer1PatternFileWriter.write().

◆ maxOnlineDisk

PixelMapPlotter.maxOnlineDisk

Definition at line 27 of file PixelMapPlotter.py.

◆ maxOnlineModule

PixelMapPlotter.maxOnlineModule

Definition at line 26 of file PixelMapPlotter.py.

◆ maxRocIdx

PixelMapPlotter.maxRocIdx

Definition at line 21 of file PixelMapPlotter.py.

◆ onlineMaxBlade

PixelMapPlotter.onlineMaxBlade

Definition at line 24 of file PixelMapPlotter.py.

◆ onlineMaxLadder

PixelMapPlotter.onlineMaxLadder

Definition at line 23 of file PixelMapPlotter.py.

◆ opts

PixelMapPlotter.opts

Definition at line 473 of file PixelMapPlotter.py.

◆ pixelAlive

PixelMapPlotter.pixelAlive

Definition at line 34 of file PixelMapPlotter.py.

◆ reason

PixelMapPlotter.reason

◆ roc

PixelMapPlotter.roc

Definition at line 498 of file PixelMapPlotter.py.

Referenced by SiPixelStatusProducer.accumulate(), SiPixelFedCablingTree.addItem(), sipixelobjects::PixelFEDCabling.addItem(), sipixelobjects::PixelFEDLink.addItem(), SiPixelPhase1GeometryDebug.analyze(), CTPPSPixelDQMSource.analyze(), SiPixelQualityHistory.analyze(), SiPixelQualityHistory.beginRun(), SiPixelFedCablingMap.cablingTree(), ErrorChecker.checkROC(), SiPixelFEDChannelContainerFromQualityConverter.createFromSiPixelQuality(), FastSiPixelFEDChannelContainerFromQuality.createFromSiPixelQuality(), SiPixelFedCablingTree.det2fedMap(), SiPixelFedCablingTree.det2PathMap(), SiPixelStatusHarvester.dqmEndRun(), ErrorChecker.errorDetIdSimple(), SiPixelDetectorStatus.fillDIGI(), SiPixelFedCablingMap.findItem(), SiPixelFedCablingTree.findItem(), SiPixelFedCablingTree.findItemInFed(), SiPixelFrameReverter.findLinkInFed(), SiPixelFrameReverter.findPixelInRoc(), SiPixelFrameReverter.findRocInDet(), SiPixelFrameReverter.findRocInLink(), PixelSLinkDataInputSource.getEventNumberFromFillWords(), SiPixelDetectorStatus.getFEDerror25Rocs(), WriteCTPPSPixGainCalibrations.getHistos(), SiPixelROCsStatusAndMappingWrapper.getModToUnpRegionalAsync(), SiPixelBadModuleByHandBuilder.getNewObject(), HGCalTriggerGeometryV9Imp2.getOrderedTriggerCellsFromModule(), HGCalTriggerGeometryV9Imp3.getOrderedTriggerCellsFromModule(), HGCSiliconDetIdToROC.getROCNumber(), HGCalTriggerGeometryV9Imp2.getTriggerCellsFromModule(), HGCalTriggerGeometryV9Imp3.getTriggerCellsFromModule(), HGCSiliconDetIdToROC.getTriggerId(), pos::PixelMaxVsf.getVsf(), HGCSiliconDetIdToROC.HGCSiliconDetIdToROC(), SiPixelTopoFinder.init(), CTPPSPixelDataFormatter.interpretRawData(), PixelDataFormatter.interpretRawData(), pixelTopology::Phase1.localY(), SiPixelDigiMorphing.morph(), pos::PixelCalibConfiguration.numROCsCalibratedOnChannel(), SiPixelTopoFinder.onlineRocColRow(), PixelToLNKAssociateFromAscii.operator()(), SiPixelFedCablingMap::Key.operator<(), SiPixelFedCablingTree.pathToDetUnit(), SiPixelFedCablingTree.pathToDetUnitHasDetUnit(), pos::PixelDetectorConfig.PixelDetectorConfig(), pos::PixelMaxVsf.PixelMaxVsf(), pos::PixelModuleName.PixelModuleName(), SiPixelFedCablingMapBuilder.produce(), SiPixelDigiMorphing.produce(), SiPixelFedFillerWordEventNumber.PwordSlink64(), SiPixelDetectorStatus.readFromFile(), pos::PixelNameTranslation.ROCNameFromFEDChannelROC(), pos::PixelNameTranslation.ROCNameFromFEDChannelROCExists(), pos::PixelCalibConfiguration.ROCNumberOnChannelAmongThoseCalibrated(), pos::PixelCalibConfiguration.scanningROCForState(), pos::PixelCalibConfiguration.scanValue(), pos::PixelMaxVsf.setVsf(), SiPixelFedCablingMap.SiPixelFedCablingMap(), SiPixelROCsStatusAndMappingWrapper.SiPixelROCsStatusAndMappingWrapper(), SiPixelFrameReverter.toCabling(), SiPixelFrameConverter.toCabling(), SiPixelFrameConverter.toDetector(), SiPixelFrameConverter.toRoc(), pixelTopology::Phase1.toRocY(), PixelDataFormatter.unpackFEDErrors(), and MeasurementTrackerEventProducer.updatePixels().

◆ rocs

PixelMapPlotter.rocs

◆ rocsInCol

PixelMapPlotter.rocsInCol

GLOBAL VARS.

Definition at line 17 of file PixelMapPlotter.py.

◆ rocsInRow

PixelMapPlotter.rocsInRow

Definition at line 18 of file PixelMapPlotter.py.

◆ rocXLen

PixelMapPlotter.rocXLen

Definition at line 19 of file PixelMapPlotter.py.

◆ useFileSuffix

PixelMapPlotter.useFileSuffix

Definition at line 32 of file PixelMapPlotter.py.

◆ useNumberAsPartName

PixelMapPlotter.useNumberAsPartName

Definition at line 29 of file PixelMapPlotter.py.

◆ vRes

PixelMapPlotter.vRes

Definition at line 31 of file PixelMapPlotter.py.

Referenced by tmtt::SimpleLR4.fit().