CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
dqmdumpme Namespace Reference

Functions

def binsearch
 
def linsearch
 

Variables

tuple args = parser.parse_args()
 
list basedir = f['DQMData']
 
tuple f = uproot.open(args.filename)
 
tuple first = int(indices["FirstIndex"][idx])
 
list indices = f['Indices']
 
tuple k = linsearch(names, me, first, last+1)
 
tuple last = int(indices["LastIndex"][idx])
 
list lumi = indices["Lumi"]
 
list lumidir = subsysdir[lumi]
 
list meobj = trees[type]
 
list names = trees[type]
 
tuple parser
 
list run = indices["Run"]
 
list rundir = basedir[run]
 
list subsysdir = rundir[subsys]
 
tuple things = f.keys()
 
list treenames
 
list trees = [{"FullName": f[name]["FullName"].array(), "Value": f[name]["Value"].lazyarray()} for name in treenames]
 
list type = indices["Type"]
 

Function Documentation

def dqmdumpme.binsearch (   a,
  key,
  lower,
  upper 
)

Definition at line 39 of file dqmdumpme.py.

39 
40  def binsearch(a, key, lower, upper):
41  n = upper - lower
42  if n <= 1: return lower
43  mid = int(n / 2) + lower
44  if a[mid] < key: return binsearch(a, key, mid, upper)
else: return binsearch(a, key, lower, mid)
def binsearch
Definition: dqmdumpme.py:39
def dqmdumpme.linsearch (   a,
  key,
  lower,
  upper 
)

Definition at line 45 of file dqmdumpme.py.

References sistrip::SpyUtilities.range().

45 
46  def linsearch(a, key, lower, upper):
47  for k in range(lower, upper):
48  if a[k] == key: return k
49  return 0
const uint16_t range(const Frame &aFrame)
def linsearch
Definition: dqmdumpme.py:45

Variable Documentation

tuple dqmdumpme.args = parser.parse_args()

Definition at line 16 of file dqmdumpme.py.

list dqmdumpme.basedir = f['DQMData']

Definition at line 67 of file dqmdumpme.py.

tuple dqmdumpme.f = uproot.open(args.filename)

Definition at line 18 of file dqmdumpme.py.

tuple dqmdumpme.first = int(indices["FirstIndex"][idx])

Definition at line 55 of file dqmdumpme.py.

list dqmdumpme.indices = f['Indices']

Definition at line 50 of file dqmdumpme.py.

Referenced by CTPPSProtonReconstructionEfficiencyEstimatorData.analyze(), EventTimeDistribution.analyze(), MuonToTrackingParticleAssociatorByHitsImpl.associateMuons(), ProcessCallGraph.dependencies(), SiStripGainsCalibTreeWorker.dqmAnalyze(), SiStripGainsPCLWorker.dqmAnalyze(), CombinedSVComputer.fillCommonVariables(), L1RCTReceiverCard.fillInput(), edm::eventsetup::EventSetupProvider.finishConfiguration(), SurveyResidual.inverseCovariance(), L1RCTORCAMap.makeBarrelData(), ecaldqm::MESetMulti.MESetMulti(), HiFJGridEmptyAreaCalculator.numJetGridCells(), TtHadSimpleBestJetComb.operator()(), TtSemiSimpleBestJetComb.operator()(), pat::TriggerObjectStandAlone.packFilterLabels(), pat::TriggerObjectStandAlone.packPathNames(), AssociationMapOneToOne2Association< CKey, CVal >.produce(), MCTrackMatcher.produce(), GenTrackMatcher.produce(), HLTPFDiJetCorrCheckerWithDiTau.produce(), reco::modulesNew::Matcher< C1, C2, S, D >.produce(), reco::modulesNew::MCTruthCompositeMatcher.produce(), DeDxHitInfoProducer.produce(), PackedCandidateGenAssociationProducer.produce(), CTPPSProtonProducer.produce(), pat::PATTriggerEventProducer.produce(), reco::PhysObjectMatcher< C1, C2, S, D, Q >.produce(), BoostedDoubleSVProducer.produce(), TemplatedSecondaryVertexProducer< IPTI, VTX >.produce(), reco::GhostTrackVertexFinder.recursiveMerge(), TIDLayer.ringIndicesByCrossingProximity(), SubJetAlgorithm.run(), CATopJetAlgorithm.run(), edm::DataFrameContainer.sort(), TaggingVariablePlotter::VariableConfig.VariableConfig(), cms::CompoundJetProducer.writeCompoundJets(), VirtualJetProducer.writeCompoundJets(), LaserSorter.writeEvent(), and VirtualJetProducer.writeJetsWithConstituents().

tuple dqmdumpme.k = linsearch(names, me, first, last+1)

Definition at line 60 of file dqmdumpme.py.

tuple dqmdumpme.last = int(indices["LastIndex"][idx])

Definition at line 56 of file dqmdumpme.py.

Referenced by CSCDigiToRaw.add(), ReferenceTrajectory.addMaterialEffectsBrl(), StripCPEgeometric::WrappedCluster.addSuppressedEdgeStrip(), CSCChamberMasker.ageDigis(), VpspScanAlgorithm.analyse(), CSCDigiDump.analyze(), CSCStripDigiValidation.analyze(), CSCComparatorDigiValidation.analyze(), CSCDigiToPattern.analyze(), CSCViewDigi.analyze(), CSCDigiAnalyzer.analyze(), AlignmentProducerBase.applyDB(), TrackerHitAssociator.associateSimpleRecHitCluster(), BeamProfileVtxGenerator.BeamProfileVtxGenerator(), PickEvents.beginJob(), edm::EventProcessor.beginJob(), magneticfield::bRod.bRod(), magneticfield::bSector.bSector(), FWPFTrackRPZProxyBuilder.build(), magneticfield::MagGeoBuilder.build(), MagGeoBuilderFromDDD.build(), TIBRing.checkRadius(), TrackTransformer.checkRecHitsOrdering(), TrackExtenderWithMTDT< TrackCollection >.checkRecHitsOrdering(), ctfseeding::HitExtractorSTRP.cleanedOfClusters(), edmplugin::standard.config(), edm::IndexIntoFile.containsDuplicateEvents(), CSCChamberMasker.copyDigis(), MuonSeedCreator.createSeed(), RPCReadOutMapping.dccNumberRange(), DEutils< T >.de_find(), GenericTruncatedAverageDeDxEstimator.dedx(), StripCPEgeometric::WrappedCluster.deformed(), AlignmentMonitorBase.directory(), EmissionVetoHook1.doVetoMPIStep(), DTDCSByLumiTask.dqmEndLuminosityBlock(), StripCPEgeometric::WrappedCluster.dropSmallerEdgeStrip(), cmsutil::SimpleAllocHashMultiMap< K, V, Hasher, Equals, Alloc >.dump(), PrintoutHelper.dumpCandidate(), edm::service::ELoutput.emitToken(), GenXSecAnalyzer.endJob(), MillePedeMonitor.equidistLogBins(), CosmicGenFilterHelix.equidistLogBins(), magneticfield::eSector.eSector(), StripCPEgeometric::WrappedCluster.eta(), trklet::TrackletEngine.execute(), trklet::TripletEngine.execute(), trklet::TrackletEngineDisplaced.execute(), trklet::TrackletProcessor.execute(), edm::RootOutputTree.fastCloneTTree(), edm::FileRandomKEThetaGunProducer.FileRandomKEThetaGunProducer(), mkfit::SteeringParams.fill_plan(), CaloHitAnalyzer.fillHits(), HistogramManager.fillInternal(), CSCEfficiency.fillLCT_info(), NtupleManager.FillMeasurements(), GlobalDigisProducer.fillMuon(), GlobalDigisAnalyzer.fillMuon(), CSCEfficiency.fillStrips_info(), ThroughputServiceClient.fillSummaryPlots(), CSCEfficiency.fillWG_info(), edm::SortedCollection< T, SORT >.find(), cond::persistency::IOVEditor.flush(), cmsutil::SimpleAllocHashMultiMap< K, V, Hasher, Equals, Alloc >.freeRows(), gen::Pythia6JetGun.generateEvent(), JME.getDefinitionLine(), HcalDDDRecConstants.getDepth(), StripCompactDigiSimLinks.getLinks(), ForwardName.getName(), DTDeadFlagHandler.getNewObjects(), DTPerformanceHandler.getNewObjects(), DTReadOutMappingHandler.getNewObjects(), DTRangeT0Handler.getNewObjects(), DTT0Handler.getNewObjects(), DTStatusFlagHandler.getNewObjects(), DTTPGParametersHandler.getNewObjects(), DTLVStatusHandler.getNewObjects(), DTHVStatusHandler.getNewObjects(), DTUserKeyedConfigHandler.getNewObjects(), DTKeyedConfigHandler.getNewObjects(), MixCollection< T >::MixItr.getNewPileups(), CSCOfflineMonitor.getSignal(), CSCValidation.getSignal(), CSCValidation.getthisSignal(), CSCValidation.getWidth(), CachingSeedCleanerBySharedInput.good(), NuclearTester.HitPositions(), ctfseeding::HitExtractorPIX.hits(), fit::RootMinuitCommands< Function >.init(), MatacqProducer::PosEstimator.init(), MixCollection< T >.init(), cond::persistency::IOVProxy.iovSequenceInfo(), CkfTrajectoryBuilder.limitedCandidates(), SimpleNavigationSchool.linkOuterGroup(), CTPPSRPAlignmentCorrectionsMethods.loadFromXML(), MuonRPCDetLayerGeometryBuilder.makeBarrelLayers(), MuonRPCDetLayerGeometryBuilder.makeBarrelRods(), TSToSCAssociatorByEnergyScoreImpl.makeConnections(), MultiClusterAssociatorByEnergyScoreImpl.makeConnections(), LCToSCAssociatorByEnergyScoreImpl.makeConnections(), LCToCPAssociatorByEnergyScoreImpl.makeConnections(), TSToSimTSAssociatorByEnergyScoreImpl.makeConnections(), ecaldqm::MESetMulti.MESetMulti(), ShallowClustersProducer::NearDigis.NearDigis(), spr.newECALIdEW(), spr.newECALIdNS(), spr.newHCALIdEW(), spr.newHCALIdNS(), L1TGlobalPrescalesVetosOnlineProd.newObject(), CmsShowNavigator.nextEvent(), CylinderBuilderFromDet.operator()(), FastTimerService::ResourcesPerPath.operator+=(), MuonG4Numbering.PhysicalVolumeToBaseNumber(), pos::PixelCalibConfiguration.PixelCalibConfiguration(), FastTimerService.postEvent(), FastTimerService.postGlobalEndLumi(), FastTimerService.postGlobalEndRun(), SiStripConfigDb.printFedConnections(), SiStripConfigDb.printFedDescriptions(), MkFitEventOfHitsProducer.produce(), ClusterTPAssociationProducer.produce(), MuonsFromRefitTracksProducer.produce(), npstat::ArrayND< Numeric, StackLen, StackDim >.projectInnerLoop(), npstat::ArrayND< Numeric, StackLen, StackDim >.projectInnerLoop2(), popcon::L1RPCHwConfigSourceHandler.readHwConfig1(), FedRawDataInputSource.readNextChunkIntoBuffer(), FedRawDataInputSource.readWorker(), EcalTBHodoscopeRecInfoAlgo.reconstruct(), SiStripDetVOffBuilder.reduce(), mkfit::ConfigJsonPatcher.replace(), FastTimerService::ResourcesPerPath.reset(), L1MuDTERS.run(), L1MuBMERS.run(), ContentsXRange.runTest(), ContentsYRange.runTest(), DeadChannel.runTest(), NoisyChannel.runTest(), MuonDTSeedFromRecHits.seed(), TrackInformation.setIDonCaloSurface(), HcalFEDList.setListOfFEDs(), FWPFBlockProxyBuilder.setupTrackElement(), StripCPEgeometric::WrappedCluster.sign(), StripCPEgeometric::WrappedCluster.smallerEdgeStrip(), JanAlignmentAlgorithm.solve(), ClusterTPAssociation.sortAndUnique(), optutl::CommandLineParser.split(), MagGeoBuilderFromDDD.summary(), StripSubClusterShapeFilterBase.testLastHit(), HGVHistoProducerAlgo.tracksters_to_SimTracksters(), FastFedCablingHistosUsingDb.update(), and cmsutil::SimpleAllocHashMultiMap< K, V, Hasher, Equals, Alloc >.~SimpleAllocHashMultiMap().

list dqmdumpme.lumi = indices["Lumi"]

Definition at line 53 of file dqmdumpme.py.

Referenced by DQMOneEDAnalyzer< edm::LuminosityBlockCache< alcabeammonitor::NoCache > >.accumulate(), evf::FastMonitoringService.accumulateFileSize(), edm::IndexIntoFile.addEntry(), dqmservices::DQMFileIterator.advanceToLumi(), L1TdeStage2uGT.analyze(), L1TStage2uGT.analyze(), PrimaryVertexResolution.analyze(), V0Monitor.analyze(), TrackCount.analyze(), TrackingMonitor.analyze(), edm::RepeatingCachedRootSource.beginJob(), DQMEDAnalyzer.beginLuminosityBlock(), DQMOneLumiEDAnalyzer<>.beginLuminosityBlock(), dqm::implementation::DQMStore.cleanupLumi(), dqmservices::DQMFileIterator.collect(), edm.decode(), DQMHarvestingMetadata.dqmEndLuminosityBlock(), edm::NavigateEventsLooper.duringLoop(), L1TRate_Offline.endLuminosityBlock(), L1TRate.endLuminosityBlock(), DQMEDAnalyzer.endLuminosityBlock(), DQMOneLumiEDAnalyzer<>.endLuminosityBlockProduce(), DQMEDHarvester.endLuminosityBlockProduce(), EnergyResolutionVsLumi.EnergyResolutionVsLumi(), dqm::implementation::DQMStore.enterLumi(), edm::IndexIntoFile::IndexIntoFileItrEntryOrder.entry(), CorrPCCProducer.evaluateCorrectionResiduals(), cond::payloadInspector::RunHistoryPlot< PayloadType, std::pair< double, double > >.fill(), edm::RootFile.fillIndexIntoFile(), FastTimerServiceClient.fillPlotsVsLumi(), edm::IndexIntoFile.findPosition(), Generator.Generator(), evf::FastMonitoringService.getAbortFlagForLumi(), Harness.getBeginLumiValue(), HFRecalibration.getCorr(), Harness.getEndLumiValue(), evf::FastMonitoringService.getEventsProcessedForLumi(), getintegratedlumiuptorun(), cond.getLastLumiFromOMS(), fwlite::Event.getLuminosityBlock(), edm::IndexIntoFile::IndexIntoFileItrImpl.getLumisInRun(), edm::PoolSource.getNextItemType(), GetLumi.getRawValue(), dqm::RamdiskMonitor.globalBeginLuminosityBlock(), SiPixelStatusProducer.globalEndLuminosityBlockProduce(), EvolutionECAL.InducedAbsorptionHadronic(), edm::IndexIntoFile::IndexIntoFileItrImpl.initializeLumi(), dqm::implementation::DQMStore.initLumi(), L3NominalEfficiencyConfigurator.L3NominalEfficiencyConfigurator(), dqm::implementation::DQMStore.leaveLumi(), dqmservices::DQMFileIterator::LumiEntry.load_json(), edm::IndexIntoFile::IndexIntoFileItrEntryOrder.lumiEntryValid(), fwlite::LumiHistoryGetter.LumiHistoryGetter(), lumiperIOV(), LumiScalers.LumiScalers(), dqmservices::DQMFileIterator.open(), SummaryOutputProducer::Event.operator<(), PixelUpdateLines(), evf::FastMonitoringService.postGlobalEndLumi(), evf::FastMonitoringService.preGlobalEndLumi(), edm::MergeableRunProductMetadata.preWriteRun(), NtpProducer< C >.produce(), L1TowerCalibrator.produce(), L1TPFProducer.produce(), edm::RootFile.readLuminosityBlockAuxiliary_(), edm::RootEmbeddedFileSequence.readOneRandomWithID(), edm::RootEmbeddedFileSequence.readOneSequentialWithID(), popcon::EcalPedestalsHandler.readPedestalTimestamp(), popcon::EcalPedestalsHandler.readPedestalTree(), JsonOutputProducer::JsonEvent.serialise(), edm::StreamerOutputModuleCommon.serializeEvent(), edm::IndexIntoFile::IndexIntoFileItrNoSort.skipLumiInRun(), edm::IndexIntoFile::IndexIntoFileItrSorted.skipLumiInRun(), edm::IndexIntoFile::IndexIntoFileItrEntryOrder.skipLumiInRun(), jsoncollector::DataPoint.snapGlobal(), jsoncollector::DataPoint.snapStreamAtomic(), evf::FastMonitoringService.stoppedLookingForFile(), edm::test::TestProcessor.testEndLuminosityBlockImpl(), BSPrintUtils.unpack(), BeamSpotPI.unpack(), SiPixelFEDChannelUtils.unpack(), SiPixelPI.unpack(), edm::FileBlock.updateTTreePointers(), and edm::RootFile.wasFirstEventJustRead().

list dqmdumpme.lumidir = subsysdir[lumi]

Definition at line 78 of file dqmdumpme.py.

list dqmdumpme.meobj = trees[type]

Definition at line 62 of file dqmdumpme.py.

list dqmdumpme.names = trees[type]

Definition at line 58 of file dqmdumpme.py.

tuple dqmdumpme.parser
Initial value:
1 = argparse.ArgumentParser(description="Display in text format a single ME out of a DQM (legacy or DQMIO) file. " +
2  "If there is more than on copy, of one ME, all are shown.")

Definition at line 10 of file dqmdumpme.py.

list dqmdumpme.run = indices["Run"]

Definition at line 52 of file dqmdumpme.py.

list dqmdumpme.rundir = basedir[run]

Definition at line 70 of file dqmdumpme.py.

list dqmdumpme.subsysdir = rundir[subsys]

Definition at line 74 of file dqmdumpme.py.

tuple dqmdumpme.things = f.keys()

Definition at line 19 of file dqmdumpme.py.

Referenced by tfwliteselectortest::ThingsWorker.process(), and tfwliteselectortest::ThingsTSelector.process().

list dqmdumpme.treenames
Initial value:
1 = [ # order matters!
2  "Ints",
3  "Floats",
4  "Strings",
5  "TH1Fs",
6  "TH1Ss",
7  "TH1Ds",
8  "TH2Fs",
9  "TH2Ss",
10  "TH2Ds",
11  "TH3Fs",
12  "TProfiles",
13  "TProfile2Ds"
14  ]

Definition at line 23 of file dqmdumpme.py.

list dqmdumpme.trees = [{"FullName": f[name]["FullName"].array(), "Value": f[name]["Value"].lazyarray()} for name in treenames]

Definition at line 37 of file dqmdumpme.py.

Referenced by LagrangeParentParticleFitter.fit(), KinematicParticleFitter.fit(), and LagrangeChildUpdator.update().

list dqmdumpme.type = indices["Type"]

Definition at line 54 of file dqmdumpme.py.