Classes | |
class | IOV |
class | ParsingError |
Functions | |
def | cmp_tags |
def | dump_footer |
def | dump_header |
def | exit |
def | get_lastIOVs |
def | get_listoftags |
def | get_plots |
def | get_productionFiles |
def | get_productionIOVs |
def | nonzero |
def | pack |
def | parse |
def | unpack |
def | unpackLumiid |
def | write_iovs |
def | write_plots |
def | write_tags |
Variables | |
string | auth = "/afs/cern.ch/cms/DB/conddb" |
string | br = '<BR>' |
string | dest = "oracle://cms_orcoff_prod/CMS_COND_31X_BEAMSPOT" |
Get the latest tags dest = "frontier://cmsfrontier.cern.ch:8000/Frontier/CMS_COND_31X_BEAMSPOT". More... | |
string | end = '\n' |
string | htmlwebsite = "https://yumiceva.web.cern.ch/yumiceva/beamspot/" |
tuple | lasttag = list_lastIOVs.keys() |
list | lines = [] |
tuple | list_lastIOVs = get_lastIOVs( list_tags, dest, auth) |
tuple | list_tags = get_listoftags( dest, auth) |
string | optionstring = "" |
tuple | outfile = open(option.output,'w') |
tuple | pngfiles = get_plots(option.path,option.output, list_lastIOVs[lasttag], lasttag) |
tuple | processedruns = get_productionIOVs('/afs/cern.ch/cms/CAF/CMSCOMM/COMM_BSPOT/yumiceva/tmp_lumi_workflow/') |
tuple | USAGE = re.compile(r'(?s)\s*usage: (.*?)(\n[ \t]*\n|$)') |
def beamvalidation.cmp_tags | ( | a, | |
b | |||
) |
Definition at line 79 of file beamvalidation.py.
def beamvalidation.dump_footer | ( | lines | ) |
Definition at line 127 of file beamvalidation.py.
def beamvalidation.dump_header | ( | lines | ) |
Definition at line 107 of file beamvalidation.py.
def beamvalidation.exit | ( | msg = "" | ) |
Definition at line 52 of file beamvalidation.py.
Referenced by evf.__attribute__(), presentation.ValidationPlots.__init__(), authentication.X509CertAuth.__init__(), optutl::CommandLineParser._finishDefaultOptions(), optutl::CommandLineParser._setVariablesFromFile(), abConnect(), addFilesWithFork(), trklet::Sector.addMem(), trklet::Sector.addProc(), EnergyScaleCorrection_class.AddScale(), EnergyScaleCorrection_class.AddSmearing(), SiStripGainRandomCalculator.algoAnalyze(), SiStripGainCosmicCalculator.algoBeginJob(), SiStripGainFromData.algoBeginJob(), SiStripGainFromCalibTree.algoBeginRun(), SiStripGainFromData.algoBeginRun(), MonitorElementsDb.analyze(), SiStripApvGainBuilderFromTag.analyze(), cmsswVersionTools.PickRelValInputFiles.apply(), BeamSpotWorkflow.aselectFilesToProcess(), utils_v2.auth_wget(), backgroundFunctionService(), hcalCalib.Begin(), PhysicsPerformanceDBWriterFromFile_WPandPayload.beginJob(), SiStripGainsPCLHarvester.beginRun(), HLTHiggsSubAnalysis.beginRun(), FWProxyBuilderBase.build(), CocoaDaqReaderRoot.BuildMeasurementsFromOptAlign(), Measurement.buildOptOList(), MeasurementDiffEntry.buildOptONamesList(), Measurement.buildOptONamesList(), SiStripDetVOffBuilder.buildPSUdetIdMap(), ALIUtils.CalculateAngleDimensionFactorFromInt(), ALIUtils.CalculateAngleDimensionFactorFromString(), TagProbeFitTreeAnalyzer.calculateEfficiency(), ALIUtils.CalculateLengthDimensionFactorFromInt(), ALIUtils.CalculateLengthDimensionFactorFromString(), MeasurementSensor2D.calculateSimulatedValue(), MeasurementCOPS.calculateSimulatedValue(), MeasurementTiltmeter.calculateSimulatedValue(), condbon.cdbon_write(), combineBTagCalibrationData.check_csv_data(), errors.check_response(), uploads.uploader.check_response_for_error_key(), edmStreamStallGrapher.chooseParser(), CmsShowMain.CmsShowMain(), ValidationMatrix_v2.ReleaseComparison.compare(), compileDMRTrends(), ConfigurableAnnealing.ConfigurableAnnealing(), BaseFunction.convertToArrays(), heppy::MuScleFitCorrector.convertToArrays(), createPayload.copyToWorkflowdir(), OpticalObject.createComponentOptOs(), fastsim::TrackerSimHitProducer.createHitOnDetector(), web.dbfile2html.dbfile2html(), DBWriter.DBWriter(), LzmaFile.DecodeBuffer(), OpticalObject.defaultBehaviour(), Measurement.DerivativeRespectEntry(), OpticalObject.detailedDeviatesLightRay(), OpticalObject.detailedTraversesLightRay(), OpticalObject.displaceRmGlobOriginal(), OpticalObject.displaceRmGlobOriginalOriginal(), DMRtrends(), SiStripGainsPCLWorker.dqmBeginRun(), Measurement.DumpBadOrderOptOs(), ALIUtils.dumpDimensions(), EcalEleCalibLooper.EcalEleCalibLooper(), EmulateCPPF.EmulateCPPF(), FWModelChangeManager.endChanges(), TotemRPSD.EndOfEvent(), PPSDiamondSD.EndOfEvent(), EnergyScaleCorrection_class.EnergyScaleCorrection_class(), ErrorsAnalyzer.ErrorsAnalyzer(), ErrorsPropagationAnalyzer.ErrorsPropagationAnalyzer(), dqmd_manager.exec_func(), uploads.uploader.exit_upload(), OpticalObject.fastDeviatesLightRay(), OpticalObject.fastTraversesLightRay(), Entry.fill(), OpticalObject.fillCoordinateEntry(), Measurement.fillData(), FittedEntriesSet.FillEntriesAveragingSets(), OpticalObject.fillExtraEntry(), Entry.fillFromInputFileQuality(), Entry.fillFromInputFileSigma(), Entry.fillFromInputFileValue(), Fit.findEntryFitPosition(), OpticalObject.findExtraEntryValue(), OpticalObject.findExtraEntryValueMustExist(), OpticalObjectMgr.findOptO(), OpticalObjectMgr.findOptOs(), Fit.fitParameters(), FittedEntry.FittedEntry(), FullModelReactionDynamics.GenerateXandPt(), LutXml.get_checksum(), ValidationMatrix.get_clean_fileanames(), ZdcLut.get_lut(), get_productionIOVs(), ALIUtils.getBool(), getCompressedBuffer(), ErrorCorrelationMgr.getCorrelation(), Pythia8::PowhegHooksBB4L.getdechardness(), DeviationsFromFileSensor2D.getDevis(), OpticalObject.getDisplacementInLocalCoordinates(), Model.getEntryByName(), getFlagStream(), ALIUtils.getFloat(), getHLTConfigData(), ALIFileOut.getInstance(), ALIFileIn.getInstanceOpened(), ALIUtils.getInt(), BeamSpotWorkflow.getLastUploadedIOV(), BeamSpotWorkflow.getListOfRunsAndLumiFromDBS(), HcalLutManager.getLutFromXml_old(), popcon::EcalLaser_weekly_Linearization_Check.getNewObjects(), popcon::EcalLaser_weekly_Handler.getNewObjects(), popcon::EcalPedestalsHandler.getNewObjects(), HCALConfigDB.getOnlineLUT(), Model.getOptOByName(), Model.getOptOByType(), Model.getParamFittedSigmaVectorItem(), Measurement.getPreviousOptO(), makeHLTPrescaleTable.getProcessObjectFromConfDB(), OpticalObject.getRotationAnglesInOptOFrame(), heppy::MuScleFitCorrector.getSmearedPt(), ZIterativeAlgorithmWithFit.getStatWeights(), checkPayloads.getUploadedIOVs(), ALIFileIn.getWordsInLine(), HCovarianceVSxy.HCovarianceVSxy(), optutl::CommandLineParser.help(), HLTHiggsSubAnalysis.HLTHiggsSubAnalysis(), gen::EvtGenInterface.init(), SiStripDetVOffFakeBuilder.initialize(), DBReader.initialize(), SiStripCoralIface.initialize(), Herwig7Hadronizer.initializeForInternalPartons(), ZeroSuppressFP420.initParams(), ALILine.intersect(), LightRay.intersect(), InvRingCalib.InvRingCalib(), L1RCTSaveInput.L1RCTSaveInput(), command_line.list_object(), CmsShowMainBase.loadGeometry(), lumifileperyear(), lumiperIOV(), copyFromCastor.main(), copyAndRename.main(), copyFiles.main(), buildHistoTypes.main(), uploader.main(), combineBTagCalibrationData.main(), splitter.main(), main(), generateFlavCfromFlavB.main(), checkRuns.main(), checkPayloads.main(), BeamSpotWorkflow.main(), validateAlignments.main(), utils_v2.make_file_pairs(), utils.make_files_pairs(), OptOCOPS.makeMeasurement(), OpticalObject.makeMeasurement(), GeometryComparisonPlotter.MakePlots(), TrajectoryManager.makeSinglePSimHit(), MatcherUsingTracksAlgorithm.match(), Pythia8::PowhegHooksBB4L.match_decay(), ResidualRefitting.MatchTrackWithRecHits(), createPayload.mkWorkflowdir(), MonitorXMLParser.MonitorXMLParser(), MuonErrorMatrix.MuonErrorMatrix(), MuScleFit.MuScleFit(), electronCompare.mysystem(), electronStore.mysystem(), LzmaFile.Open(), edm.openFileHdl(), ALIFileIn.openNewFile(), uploadConditions.parse_arguments(), uploadConditions_v2.parse_arguments(), optutl::CommandLineParser.parseArguments(), OptOCameraDetector.participateInMeasurement(), OptOLens.participateInMeasurement(), OptORisleyPrism.participateInMeasurement(), CSCBadChambersConditions.prefillBadChambers(), CSCBadStripsConditions.prefillBadStrips(), CSCBadWiresConditions.prefillBadWires(), CSCCrosstalkConditions.prefillCrosstalk(), CSCCrosstalkDBConditions.prefillDBCrosstalk(), CSCGainsDBConditions.prefillDBGains(), CSCNoiseMatrixDBConditions.prefillDBNoiseMatrix(), CSCPedestalsDBConditions.prefillDBPedestals(), CSCGainsConditions.prefillGains(), CSCNoiseMatrixConditions.prefillNoiseMatrix(), das_client.print_from_cache(), edm::RandomtXiGunProducer.produce(), SiStripApvGainFakeESSource.produce(), MuonSimHitProducer.produce(), L1TCaloSummary.produce(), Fit.PropagateErrors(), CSCTFPtMethods.Pt2StnChiSq(), CSCTFPtMethods.Pt3StnChiSq(), PDRates.RateInPD(), BuildTrackerMapPlugin.read(), OpticalObject.readCoordinates(), StoreESCondition.readESChannelStatusFromFile(), DeviationsFromFileSensor2D.readFile(), EnergyScaleCorrection_class.ReadFromFile(), Model.readMeasurementsFromFile(), CocoaDaqReaderText.ReadNextEvent(), AsciiNeutronReader.readNextEvent(), popcon::EcalPedestalsHandler.readPedestal2017(), popcon::EcalPedestalsHandler.readPedestalFile(), popcon::EcalPedestalsHandler.readPedestalMC(), popcon::EcalPedestalsHandler.readPedestalTimestamp(), popcon::EcalPedestalsHandler.readPedestalTree(), MuScleFitBase.readProbabilityDistributionsFromFile(), EnergyScaleCorrection_class.ReadSmearingFromFile(), readSRF(), Model.readSystemDescription(), RootTreeHandler.readTree(), readTTF(), popcon::EcalPFRecHitThresholdsHandler.readTXT(), popcon::EcalIntercalibHandler.readTXT(), popcon::EcalTPGWeightIdMapHandler.readtxtFile(), popcon::EcalTPGOddWeightGroupHandler.readtxtFile(), popcon::EcalTPGWeightGroupHandler.readtxtFile(), EcalFloatCondObjectContainerXMLTranslator.readXML(), popcon::EcalPFRecHitThresholdsHandler.readXML(), popcon::EcalIntercalibHandler.readXML(), popcon::EcalTPGWeightIdMapHandler.readxmlFile(), popcon::EcalTPGWeightGroupHandler.readxmlFile(), popcon::EcalTPGOddWeightGroupHandler.readxmlFile(), LightRay.refract(), edm::ESProxyFactoryProducer.registerFactoryWithKey(), cms::cudatest.requireDevices(), scaleFunctionBase< std::vector< double > >.resetParameters(), resolutionFunctionService(), heppy.resolutionFunctionService(), resolutionFunctionVecService(), cmsswPreprocessor.CmsswPreprocessor.run(), checkBTagCalibrationConsistency.run_check_data(), uploadConditions.run_upload(), uploadConditions_v2.run_upload(), runlistfromlumifile(), scaleFunctionType64< T >.scale(), scaleFunctionService(), heppy.scaleFunctionService(), scaleFunctionVecService(), utils_v2.search_on_disk(), BeamSpotWorkflow.selectFilesToProcess(), MeasurementSensor2D.setConversionFactor(), MeasurementCOPS.setConversionFactor(), MeasurementTiltmeter.setConversionFactor(), Measurement.setConversionFactor(), Measurement.setCurrentDate(), Comparator.SetDirs(), FWGeometryTableViewManager.setGeoManagerFromFile(), GlobalOptionMgr.setGlobalOption(), Measurement.setName(), heppy::scaleFunctionBase< double * >.setPar(), scaleFunctionBase< std::vector< double > >.setPar(), resolutionFunctionBase< double * >.setPar(), scaleFunctionBase< std::vector< double > >.setParameters(), scaleFunctionType50< T >.setParameters(), scaleFunctionType64< T >.setParameters(), resolutionFunctionBase< double * >.setParameters(), resolutionFunctionType45< T >.setParameters(), resolutionFunctionType46< T >.setParameters(), resolutionFunctionType47< T >.setParameters(), ClassBasedElectronID.setup(), CmsShowMainBase.setupConfiguration(), CmsShowMain.setupSocket(), ResolutionFunction.sigmaCotgTh(), ResolutionFunction.sigmaPhi(), ResolutionFunction.sigmaPt(), smearFunctionService(), ALIUtils.subQuotes(), TestPythiaDecays.TestPythiaDecays(), TotemTransport.TotemTransport(), OptOUserDefined.userDefinedBehaviour(), OpticalObject.userDefinedBehaviour(), VertexFitterManager.VertexFitterManager(), VertexRecoManager.VertexRecoManager(), pos::PixelMaxVsf.writeASCII(), pos::PixelLowVoltageMap.writeASCII(), pos::PixelDetectorConfig.writeASCII(), RootTreeHandler.writeTree(), Fit.WriteVisualisationFiles(), and EcalDccWeightBuilder.writeWeightToDB().
def beamvalidation.get_lastIOVs | ( | listoftags, | |
dest, | |||
auth | |||
) |
Definition at line 230 of file beamvalidation.py.
References print(), sistrip::SpyUtilities.range(), and submitPVValidationJobs.split().
def beamvalidation.get_listoftags | ( | dest, | |
auth | |||
) |
Definition at line 186 of file beamvalidation.py.
References print(), and submitPVValidationJobs.split().
def beamvalidation.get_plots | ( | path, | |
output, | |||
iovs, | |||
tag | |||
) |
Definition at line 295 of file beamvalidation.py.
References print(), submitPVValidationJobs.split(), str, and unpack().
def beamvalidation.get_productionFiles | ( | directory | ) |
Definition at line 346 of file beamvalidation.py.
References submitPVValidationJobs.split().
Referenced by get_productionIOVs().
def beamvalidation.get_productionIOVs | ( | directory | ) |
Definition at line 357 of file beamvalidation.py.
References exit(), get_productionFiles(), and parse().
def beamvalidation.nonzero | ( | self | ) |
Definition at line 40 of file beamvalidation.py.
Referenced by CSCDigiValidator.zeroSupStripDigis().
def beamvalidation.pack | ( | high, | |
low | |||
) |
pack high,low 32bit unsigned int to one unsigned 64bit long long Note:the print value of result number may appear signed, if the sign bit is used.
Definition at line 274 of file beamvalidation.py.
def beamvalidation.parse | ( | docstring, | |
arglist = None |
|||
) |
Definition at line 55 of file beamvalidation.py.
Referenced by get_productionIOVs().
def beamvalidation.unpack | ( | i | ) |
unpack 64bit unsigned long long into 2 32bit unsigned int, return tuple (high,low)
Definition at line 281 of file beamvalidation.py.
References gpuVertexFinder.return.
Referenced by get_plots(), and unpackLumiid().
def beamvalidation.unpackLumiid | ( | i | ) |
unpack 64bit lumiid to dictionary {'run','lumisection'}
Definition at line 288 of file beamvalidation.py.
References unpack().
def beamvalidation.write_iovs | ( | iovs, | |
lines | |||
) |
Definition at line 155 of file beamvalidation.py.
References sistrip::SpyUtilities.range().
def beamvalidation.write_plots | ( | lines, | |
plots, | |||
web | |||
) |
Definition at line 324 of file beamvalidation.py.
References sistrip::SpyUtilities.range().
def beamvalidation.write_tags | ( | tags, | |
lines | |||
) |
Definition at line 132 of file beamvalidation.py.
References sistrip::SpyUtilities.range().
string beamvalidation.auth = "/afs/cern.ch/cms/DB/conddb" |
Definition at line 383 of file beamvalidation.py.
string beamvalidation.br = '<BR>' |
Definition at line 397 of file beamvalidation.py.
Referenced by edm::RootTree.dropBranch(), magfieldparam::TkBfield.getBrfz(), magfieldparam::TkBfield.getBxyz(), CustomParticleFactory.getDecayTable(), edm::RootDelayedReader.getProduct_(), edm::FileInPath.initialize_(), SummaryTableOutputBranches.makeScalarBranches(), RBorderFinder.RBorderFinder(), StringBasedNTupler.registerleaves(), edm::PoolOutputModule::OutputItem::Sorter.Sorter(), fwlite::internal::BranchMapReaderStrategyV8.updateFile(), fwlite::internal::BranchMapReaderStrategyV11.updateFile(), fwlite::internal::BranchMapReaderStrategyV17.updateFile(), and fwlite::internal::BranchMapReaderStrategyV1.updateMap().
string beamvalidation.dest = "oracle://cms_orcoff_prod/CMS_COND_31X_BEAMSPOT" |
Get the latest tags dest = "frontier://cmsfrontier.cern.ch:8000/Frontier/CMS_COND_31X_BEAMSPOT".
Definition at line 382 of file beamvalidation.py.
string beamvalidation.end = '\n' |
Definition at line 396 of file beamvalidation.py.
string beamvalidation.htmlwebsite = "https://yumiceva.web.cern.ch/yumiceva/beamspot/" |
Definition at line 377 of file beamvalidation.py.
tuple beamvalidation.lasttag = list_lastIOVs.keys() |
Definition at line 424 of file beamvalidation.py.
list beamvalidation.lines = [] |
Definition at line 395 of file beamvalidation.py.
tuple beamvalidation.list_lastIOVs = get_lastIOVs( list_tags, dest, auth) |
Definition at line 389 of file beamvalidation.py.
tuple beamvalidation.list_tags = get_listoftags( dest, auth) |
Definition at line 386 of file beamvalidation.py.
string beamvalidation.optionstring = "" |
Definition at line 50 of file beamvalidation.py.
tuple beamvalidation.outfile = open(option.output,'w') |
Definition at line 433 of file beamvalidation.py.
tuple beamvalidation.pngfiles = get_plots(option.path,option.output, list_lastIOVs[lasttag], lasttag) |
Definition at line 428 of file beamvalidation.py.
tuple beamvalidation.processedruns = get_productionIOVs('/afs/cern.ch/cms/CAF/CMSCOMM/COMM_BSPOT/yumiceva/tmp_lumi_workflow/') |
Definition at line 392 of file beamvalidation.py.
tuple beamvalidation.USAGE = re.compile(r'(?s)\s*usage: (.*?)(\n[ \t]*\n|$)') |
Definition at line 38 of file beamvalidation.py.