CMS 3D CMS Logo

Functions | Variables
checklumidiff Namespace Reference

Functions

def findlpcdir (lpcdir, fillmin)
 
def parseplotcache (filelist, fillmin, fillmax)
 

Variables

 dellumi
 
 delta
 
 fillmin
 
 l
 
 line
 
 lpcdelperrun
 
 lpcdir
 
 lpcfile
 
 lpcfill2012
 
 lpcresult
 
 lumi_lpc
 
 lumi_pplot
 
 nrun_lpc
 
 nruns_pplot
 
 ofile
 
 plotcachedir
 
 plotfiles
 
 plotfilldata
 
 rundataline
 
 runs
 
 tot_diff
 
 tot_lumilpc
 
 tot_lumipplot
 
 tot_nrunlpc
 
 tot_nrunpplot
 
 tot_rel
 

Function Documentation

def checklumidiff.findlpcdir (   lpcdir,
  fillmin 
)

Definition at line 24 of file checklumidiff.py.

References createfilelist.int.

24 def findlpcdir(lpcdir,fillmin):
25  result=[]
26  cachedir=lpcdir
27  lpcfilldir=[f for f in glob.glob(cachedir+'/????') if os.path.isdir(f) ]
28  lpcfills=[os.path.split(f)[1] for f in lpcfilldir]
29  #print lpcfills
30  result=[int(f) for f in lpcfills if int(f)>=fillmin]
31  return result
32 
def findlpcdir(lpcdir, fillmin)
def checklumidiff.parseplotcache (   filelist,
  fillmin,
  fillmax 
)

Definition at line 2 of file checklumidiff.py.

References objects.autophobj.float, createfilelist.int, and split.

2 def parseplotcache(filelist,fillmin,fillmax):
3  result={}#{fill:{run:delivered}}
4  for f in filelist:
5  fileobj=open(f,'rb')
6  plotreader=csv.reader(fileobj,delimiter=',')
7  idx=0
8  for row in plotreader:
9  if idx!=0:
10  [run,fill]=row[0].split(':')
11  [lumils,cmsls]=row[1].split(':')
12  if int(fill) not in range(fillmin,fillmax+1):
13  continue
14  delivered=float(row[5])
15  if int(fill) not in result:
16  result[int(fill)]={}
17  if int(run) in result[int(fill)]:
18  result[int(fill)][int(run)]+=delivered
19  else:
20  result[int(fill)][int(run)]=delivered
21  idx+=1
22  fileobj.close()
23  return result
def parseplotcache(filelist, fillmin, fillmax)
Definition: checklumidiff.py:2
double split
Definition: MVATrainer.cc:139

Variable Documentation

checklumidiff.dellumi

Definition at line 60 of file checklumidiff.py.

checklumidiff.delta

Definition at line 61 of file checklumidiff.py.

checklumidiff.fillmin

Definition at line 38 of file checklumidiff.py.

checklumidiff.l

Definition at line 65 of file checklumidiff.py.

Referenced by DTSuperLayer.add(), edm::service::ELlimitsTable.add(), DTGeometry.add(), Phase2TrackerDigitizerAlgorithm.add_noise(), ReferenceTrajectory.addMaterialEffectsBp(), ReferenceTrajectory.addMaterialEffectsBrl(), ReferenceTrajectory.addMaterialEffectsCov(), SiStripHitEffFromCalibTree.algoAnalyze(), AllocNetwork(), EgammaBasicClusters.analyze(), MonitorElementsDb.analyze(), MCEfficiencyAnalyzer.analyze(), ContainmentCorrectionAnalyzer.analyze(), DQMHcalIsoTrackAlCaReco.analyze(), EnergyScaleAnalyzer.analyze(), cms::Analyzer_minbias.analyze(), PhotonValidator.analyze(), HLTScalers.analyze(), EgammaObjects.analyzeElectrons(), EgammaObjects.analyzePhotons(), tauImpactParameter::LagrangeMultipliersFitter.applyLagrangianConstraints(), BeamHaloNavigationSchool.BeamHaloNavigationSchool(), cms::Analyzer_minbias.beginJob(), HGCalTBAnalyzer.beginRun(), AlignmentMonitorSurvey.book(), ElectronTagProbeAnalyzer.bookHistograms(), ElectronAnalyzer.bookHistograms(), PSMonitor.bookHistograms(), DQMHcalIsoTrackAlCaReco.bookHistograms(), L1TRPCTF.bookHistograms(), PrimaryVertexAnalyzer4PUSlimmed.bookHistograms(), FWTrackResidualDetailView.build(), DeDxTools.buildDiscrimMap(), CSCGeometry.centreTIOffsets(), IsoTrig.chgIsolation(), DTTFFEDReader.clear(), CmsShowCommon.CmsShowCommon(), CompositeLogicalTrajectoryFilter.CompositeLogicalTrajectoryFilter(), BPHRecoBuilder.contained(), Conv.convolution(), dtCalibration::DTT0FEBPathCorrection.correction(), PSFitter::HybridMinimizer.Correlation(), PSFitter::HybridMinimizer.CovMatrix(), pftools::SpaceManager.createCalibrators(), MuonSeedFromRecHits.createSeed(), MuonSeedCreator.createSeed(), BTagLikeDeDxDiscriminator.dedx(), HitDoublets.detLayer(), Phase2TrackerDigitizerAlgorithm.digitize(), cscdqm::StripClusterFinder.DoAction(), l1t::Stage1Layer2EtSumAlgorithmImpHW.doSumAndMET(), l1t::Stage1Layer2EtSumAlgorithmImpHI.doSumAndMET(), npstat::ArrayND< Numeric, StackLen, StackDim >.dotProductLoop(), JetMETHLTOfflineClient.dqmEndJob(), DrawEB(), DrawEE(), EcalDisplaysByEvent.drawEELines(), DrawES(), PFBlockLink.element2(), RPCDigiL1Link.empty(), TowerBlockFormatter.EndEvent(), cms::Analyzer_minbias.endJob(), LumiCalculator.endLuminosityBlock(), edm::OwnArray< T, MAX_SIZE, P >.erase(), ESPedestalTask.ESPedestalTask(), L1ExtraParticleMapProd.evaluateForwardRapidityGap(), FWGUIManager.exportAllViews(), TFParams.f3deg(), LMFUnique.fetchAll(), LMFCorrCoefDat.fetchBetween(), LMFSeqDat.fetchByRunIOV(), LMFSeqDat.fetchByRunNumber(), LMFRunIOV.fetchBySequence(), HLTOfflineDQMTopDiLepton::MonitorDiLepton.fill(), CSCChamberIndexValues.fillChamberIndex(), CSCChamberMapValues.fillChamberMap(), CSCCrateMapValues.fillCrateMap(), CSCDDUMapValues.fillDDUMap(), ExpressLumiProducer.fillLSCache(), LumiProducer.fillLSCache(), emtf::Node.filterEventsToDaughters(), edm::BMixingModule.finalizeEvent(), SurveyAlignmentSensor.findAlignPars(), SurveyAlignmentPoints.findAlignPars(), MuonCkfTrajectoryBuilder.findCompatibleMeasurements(), CSCHitFromStripOnly.findMaxima(), HLTPerformanceInfo.findPath(), CSCChamberFitter.fit(), cond::persistency::IOVEditor.flush(), TSFit.fpol3dg(), cond::SmallWORMDict::IterHelp.frame(), CmsShowNavigator.frameTitle(), FullModelReactionDynamics.GenerateXandPt(), GeometricSearchTracker.GeometricSearchTracker(), SiPixelLayoutParser.getAllLayouts(), SiStripLayoutParser.getAllLayouts(), MEEEGeom.getBoundary(), cond::persistency.getConnectionParams(), npstat::BoxNDScanner< Numeric >.getCoords(), PSFitter::HybridMinimizer.GetCovMatrix(), ECFAdder.getECF(), MEEEGeom.getGraphBoundary(), PSFitter::HybridMinimizer.GetHessianMatrix(), TotemRPUVPattern.getHits(), npstat::ArrayNDScanner.getIndex(), npstat::BoxNDScanner< Numeric >.getIndex(), npstat::GridAxis.getInterval(), LMFDat.getKeyList(), HcalDDDRecConstants.getLayerDepth(), HcalDDDSimConstants.getLayerFront(), hcaldqm::mapper::HashMapper.getLinearHashType(), LMFDat.getLogicIds(), ValidHitPairFilter.getMissingLayers(), HcalDDDRecConstants.getOneEtaBin(), ConstantStepOdeSolver.getPeakTime(), TangentCircle.getPosition(), RPCReadOutMapping.getRAWSpecForCMSChamberSrip(), hcaldqm::quantity::LumiSection.getValue(), PythonParameterSet.getVPSet(), EcalTrivialConditionRetriever.getWeightsFromConfiguration(), GroupedCkfTrajectoryBuilder.groupedLimitedCandidates(), align::TrackerNameSpace::TPB.halfBarrelNumber(), align::TrackerNameSpace::TIB.halfShellNumber(), HBHELinearMap.HBHELinearMap(), HcalDDDSimConstants.HcalCellTypes(), CSCChamberFitter.hessian(), QualityCutsAnalyzer::histogram_element_t.histogram_element_t(), HitDoublets.hit(), identity(), edm::ProductResolverIndexHelper.indiciesForModulesInProcess(), MSLayersAtAngle.init(), reco::GhostTrackPrediction.init(), cond::EmptyIOVSource.initialize(), SurveyAlignmentAlgorithm.initialize(), HcalDDDSimConstants.initialize(), HcalDDDRecConstants.initialize(), edm::StreamSchedule.initializeEarlyDelete(), SherpaHadronizer.initializeForInternalPartons(), PixelRecoLineRZ.initTIP2(), popcon::EcalDCSHandler.insertHVDataSetToOffline(), HcalInterpolatedTableFunctor.inverse(), HcalPiecewiseLinearFunctor.inverse(), edm.isFinite(), CSCSegAlgoRU.isHitNearSegment(), CSGContinuousAction.isRunning(), reco::TrackProbabilityTagInfo.jetProbability(), TemplatedJetProbabilityComputer< Container, Base >.jetProbability(), TemplatedJetBProbabilityComputer< Container, Base >.jetProbability(), align::TrackerNameSpace::TPB.ladderNumber(), langaupro(), HDQMUtil.langaupro(), LayerTriplets.layers(), LevelBaseNumber.LevelBaseNumber(), cond::time.limitedIOVSyncValue(), npstat::GridAxis.linearInterval(), MuonNavigationSchool.linkEndcapLayers(), fit::Likelihood< Sample, PDF, Yield >.log(), fit::Likelihood< Sample, PDF, NoExtendedLikelihood >.log(), main(), npstat::ArrayND< Numeric, StackLen, StackDim >.makeCopulaSteps(), fireworks_root_gui.makeLabel(), TkGluedMeasurementDet.measurements(), KDTreeLinkerAlgo< DATA, DIM >.medianSearch(), npstat::ArrayND< Numeric, StackLen, StackDim >.multiMirror(), MultiTrackValidator.MultiTrackValidator(), MuonSimHitsValidAnalyzer.MuonSimHitsValidAnalyzer(), SequentialCombinationGenerator< T >.next_combination(), pat.operator&(), TSCBLBuilderWithPropagator.operator()(), operator==(), pat.operator^(), pat.operator|(), logintpack.pack16log(), logintpack.pack16logCeil(), logintpack.pack16logClosed(), logintpack.pack8log(), logintpack.pack8logCeil(), logintpack.pack8logClosed(), HitDoublets.phi(), HIPplots.plotAlignableChiSquare(), FWPopupMenu.PoppedDown(), FWPopupMenu.PoppedUp(), PrimaryVertexAnalyzer4PUSlimmed.PrimaryVertexAnalyzer4PUSlimmed(), cscdqm::StripClusterFinder.printClusters(), MuonNavigationPrinter.printLayers(), hitfit::Defaults_Textrep.process_args(), StEvtSolutionMaker.produce(), MultiHitFromChi2EDProducer.produce(), HLTMuonL2SelectorForL3IO.produce(), CastorClusterProducer.produce(), cms::CosmicTrackFinder.produce(), hitTripletEDProducerT::Impl< T_HitTripletGenerator, T_SeedingHitSets, T_IntermediateHitTriplets >.produce(), SiPixelTemplate2D.pushfile(), SiStripTemplate.pushfile(), SiPixelTemplate.pushfile(), hitfit::Defaults_Textrep.read_file(), ReadPatterns(), PixelToFEDAssociateFromAscii.readRange(), dqmservices::DQMStreamerReader.reset_(), GEMCoPadDigi.roll(), PFPhotonAlgo.RunPFPhoton(), HitDoublets.rv(), TrackerMap.save(), TrackerMap.save_as_fectrackermap(), TrackerMap.save_as_fedtrackermap(), TrackerMap.save_as_HVtrackermap(), TrackerMap.save_as_psutrackermap(), emtf::Tree.saveToXMLRecursive(), BinomialInterval.set(), hitfit::Lepjets_Event.set_jet_types(), FWProxyBuilderBase.setInteractionList(), FWGenParticleLegoProxyBuilder.setItem(), FWTrackingParticleProxyBuilder.setItem(), FWVertexCandidateProxyBuilder.setItem(), FWVertexProxyBuilder.setItem(), gen::TauolappInterface.SetLHE(), FWBoxRecHit.setLine(), FWPFLegoRecHit.setLine(), reco::PFBlock.setLink(), reco::PFDisplacedVertexCandidate.setLink(), CachedTrajectory.setMaxDetectorLength(), CachedTrajectory.setMaxHOLength(), CachedTrajectory.setMinDetectorLength(), Plane.setPosPrec(), gen::TauolappInterface.setRandomEngine(), cond::EmptyIOVSource.setRunAndEventInfo(), FWJetProxyBuilder.setTextPos(), TotemRPLocalTrack.setValid(), MuonDetLayerGeometry.sortLayers(), StringBasedNTupler.StringBasedNTupler(), align::TrackerNameSpace::TIB.stringNumber(), pat::strbitset.strings(), cscdqm::StripClusterFinder.StripClusterFinder(), DTSuperLayer.subDetector(), GBRTree.TerminalIndex(), HIPAlignmentAlgorithm.terminate(), LutXml.test_access(), cond::time.toIOVSyncValue(), funct.trapezoid_integral(), dqmservices::TriggerSelector::TreeElement.TreeElement(), logintpack.unpack16log(), logintpack.unpack16logClosed(), logintpack.unpack8log(), logintpack.unpack8logClosed(), CSCEventData.unpack_data(), gen::TauolappInterface.update_particles(), FWLegoEvePFCandidate.updateScale(), FWPFRhoPhiRecHit.updateScale(), FWLegoCandidate.updateScale(), TtFullLepKinSolver.useWeightFromMC(), VarSplitter.VarSplitter(), npstat::BoxND< unsigned >.version(), reco::TrackGhostTrackState.vertexStateOnGhostTrack(), reco::TrackGhostTrackState.vertexStateOnMeasurement(), VVIObj.VVIObj(), sistripvvi::VVIObj.VVIObj(), VVIObjF.VVIObjF(), SimpleNavigableLayer.wellInside(), DCULVRVoltagesDat.writeArrayDB(), HitDoublets.x(), cms::concurrency.xercesInitialize(), cms::concurrency.xercesTerminate(), RealisticHitToClusterAssociator.XYdistanceFromMaxHit(), HitDoublets.y(), HitDoublets.z(), CSCChamberFitter.~CSCChamberFitter(), and GeometricSearchTracker.~GeometricSearchTracker().

checklumidiff.line

Definition at line 67 of file checklumidiff.py.

checklumidiff.lpcdelperrun

Definition at line 70 of file checklumidiff.py.

checklumidiff.lpcdir

Definition at line 35 of file checklumidiff.py.

checklumidiff.lpcfile

Definition at line 62 of file checklumidiff.py.

checklumidiff.lpcfill2012

Definition at line 39 of file checklumidiff.py.

checklumidiff.lpcresult

Definition at line 41 of file checklumidiff.py.

checklumidiff.lumi_lpc

Definition at line 59 of file checklumidiff.py.

checklumidiff.lumi_pplot

Definition at line 58 of file checklumidiff.py.

checklumidiff.nrun_lpc

Definition at line 57 of file checklumidiff.py.

checklumidiff.nruns_pplot

Definition at line 56 of file checklumidiff.py.

checklumidiff.ofile
checklumidiff.plotcachedir

Definition at line 36 of file checklumidiff.py.

checklumidiff.plotfiles

Definition at line 37 of file checklumidiff.py.

checklumidiff.plotfilldata

Definition at line 43 of file checklumidiff.py.

checklumidiff.rundataline

Definition at line 68 of file checklumidiff.py.

checklumidiff.runs

Definition at line 77 of file checklumidiff.py.

checklumidiff.tot_diff

Definition at line 93 of file checklumidiff.py.

Referenced by PrimitiveMatching.process_single_zone_station().

checklumidiff.tot_lumilpc

Definition at line 52 of file checklumidiff.py.

checklumidiff.tot_lumipplot

Definition at line 50 of file checklumidiff.py.

checklumidiff.tot_nrunlpc

Definition at line 53 of file checklumidiff.py.

checklumidiff.tot_nrunpplot

Definition at line 51 of file checklumidiff.py.

checklumidiff.tot_rel

Definition at line 94 of file checklumidiff.py.