Functions | |
def | get_yaxis_range |
def | operate |
Variables | |
string | action = 'store' |
string | default = '' |
string | dest = 'timelog' |
tuple | dict = json.load(json_db) |
string | format = "\n { \"strips\" :\n" |
Some error handling for the usage. More... | |
string | help = 'input file TIMELOG, the output of cmsTiming_parser.py' |
tuple | json_db = open(options.json_f, "r+") |
string | metavar = 'TIMELOG' |
tuple | parser = optparse.OptionParser(usage) |
tuple | script_name = os.path.basename(__file__) |
Definition of command usage. More... | |
string | usage = script_name+' <options> -t TIMELOG -m MEMLOG' |
def cmsPerfStripChart.get_yaxis_range | ( | list | ) |
Given a list of dictionaries, where each dict holds the information about an IB, this function returns a tuple (low, high) with the lowest and the highest value of y-axis, respectively.
Definition at line 8 of file cmsPerfStripChart.py.
References bookConverter.max, and min().
Referenced by operate().
def cmsPerfStripChart.operate | ( | timelog, | |
memlog, | |||
json_f, | |||
num | |||
) |
Main operation of the script (i.e. json db update, histograms' creation) with respect to the specifications of all the files & formats concerned.
Definition at line 21 of file cmsPerfStripChart.py.
References bitset_utilities.append(), get_yaxis_range(), and split.
Referenced by edm::EventProcessor.beginJob(), edm::SubProcess.beginJob(), edm::SubProcess.clearCounters(), edm::SubProcess.closeOutputFiles(), edm::serviceregistry::ServicesManager.createServices(), edm::SubProcess.doBeginLuminosityBlock(), edm::SubProcess.doBeginRun(), edm::SubProcess.doBeginStream(), edm::SubProcess.doEndLuminosityBlock(), edm::SubProcess.doEndRun(), edm::SubProcess.doEndStream(), edm::SubProcess.doEvent(), edm::SubProcess.doStreamBeginLuminosityBlock(), edm::SubProcess.doStreamBeginRun(), edm::SubProcess.doStreamEndLuminosityBlock(), edm::SubProcess.doStreamEndRun(), evf::EvFBuildingThrottle.dowork(), edm::SubProcess.enableEndPaths(), edm::EventProcessor.endJob(), edm::SubProcess.endJob(), edm::SubProcess.endPathsEnabled(), edm::EventProcessor.forkProcess(), edm::SubProcess.getTriggerReport(), edm::EventProcessor.init(), main(), edm::SubProcess.openNewOutputFilesIfNeeded(), edm::SubProcess.openOutputFiles(), edm::SubProcess.postForkReacquireResources(), edm::SubProcess.preForkReleaseResources(), edm::EventProcessor.processEventsForStreamAsync(), edm::SubProcess.respondToCloseInputFile(), edm::SubProcess.respondToOpenInputFile(), cond::Utilities.run(), edm::EventProcessor.runToCompletion(), edm::SubProcess.shouldWeCloseOutput(), edm::SubProcess.SubProcess(), edm::SubProcess.terminate(), edm::SubProcess.totalEventsFailed(), edm::SubProcess.totalEventsPassed(), edm::SubProcess.writeLumi(), and edm::SubProcess.writeRun().
string cmsPerfStripChart.action = 'store' |
Definition at line 249 of file cmsPerfStripChart.py.
string cmsPerfStripChart.default = '' |
Definition at line 251 of file cmsPerfStripChart.py.
string cmsPerfStripChart.dest = 'timelog' |
Definition at line 250 of file cmsPerfStripChart.py.
Definition at line 307 of file cmsPerfStripChart.py.
Referenced by Mixins._TypedParameterizable.__findDefaultsFor(), conddblib.EnumMetaclass.__init__(), svgfig.CurveAxis.__init__(), argparse.ArgumentError.__str__(), python.rootplot.argparse.ArgumentError.__str__(), checkBTagCalibrationConsistency.BtagCalibConsistencyChecker._check_sys_side(), argparse.HelpFormatter._expand_help(), python.rootplot.argparse.HelpFormatter._expand_help(), python.rootplot.argparse.HelpFormatter._format_text(), argparse.HelpFormatter._format_usage(), python.rootplot.argparse.HelpFormatter._format_usage(), argparse._ActionsContainer._get_optional_kwargs(), python.rootplot.argparse._ActionsContainer._get_optional_kwargs(), argparse._ActionsContainer._get_positional_kwargs(), python.rootplot.argparse._ActionsContainer._get_positional_kwargs(), Config.Process._sequencesInDependencyOrder(), data_formats._to_array_of_dicts(), svgfig.canvas(), relval_machine.convert_keys_to_string(), alignmentValidation.createCanvasToIDList(), querying.connection.deepcopy_model(), Vispa.Gui.VispaWidget.VispaWidget.defineDistances(), Config.Process.extend(), helpers.extendWithPostfix(), edmConvertToStreamModule.find_all_module_classes(), helper.findEDAnalyzers(), helper.findEDFilters(), helper.findEDProducers(), helper.findModules(), models.generate(), cms.generate(), generateFlavCfromFlavB.generate_flav_c(), web.app_utils.get_directory_summary_stats(), web.app_utils.get_folders(), web.app_utils.get_release_summary_stats(), das.get_value(), specificLumi.getFillFromDB(), specificLumi.getSpecificLumi(), mpl_axes_hist_fix.hist(), combineBTagCalibrationData.main(), utils_v2.make_file_pairs(), utils.make_files_pairs(), Types.makeCppPSet(), deltar.matchObjectCollection(), deltar.matchObjectCollection2(), deltar.matchObjectCollection3(), Mixins._Parameterizable.parameters_(), python.rootplot.core.parse_arguments(), svgfig.pathtoPath(), matplotRender.matplotRender.plotInst_RunLS(), matplotRender.matplotRender.plotPeakPerday_Time(), matplotRender.matplotRender.plotSumX_Fill(), matplotRender.matplotRender.plotSumX_Run(), matplotRender.matplotRender.plotSumX_Time(), cmsPerfSuiteHarvest.process_igprof_dir(), cmsPerfSuiteHarvest.process_memcheck_dir(), cmsPerfSuiteHarvest.process_timesize_dir(), HTMLExport.HTMLExport.produce(), utils_v2.recursive_search_online(), python.rootplot.core.rootplot(), geometryXMLtoCSV.ContentHandler.startElement(), geometryXMLparser.MuonGeometry.startElement(), Config.TestModuleCommand.testModifier(), SequenceTypes.TestModuleCommand.testResolve(), and dqm-mbProfile.Profile.to_dict().
string cmsPerfStripChart.format = "\n { \"strips\" :\n" |
Some error handling for the usage.
# Validity of .json file-database. #
Definition at line 290 of file cmsPerfStripChart.py.
Referenced by argparse.HelpFormatter._metavar_formatter(), python.rootplot.argparse.HelpFormatter._metavar_formatter(), dqm::RamdiskMonitor.bookHistograms(), TriggerBxMonitor.bookHistograms(), TriggerRatesMonitor.bookHistograms(), sistrip::MeasureLA.calibration_key(), ComphepSingletopFilter.endJob(), SummaryPlotFactory< CommissioningAnalysis * >.fill(), EmDQMReco::FourVectorMonitorElements.FourVectorMonitorElements(), MatacqProducer.getMatacqFile(), dqm::RamdiskMonitor.getRunTimestamp(), DQMFileSaver.globalEndRun(), edm::service::IgProfService.makeDump(), IgProfModule.makeDump(), dqmservices::DQMFileIterator.monUpdateLumi(), dqmservices::DQMMonitoringService.outputLumiUpdate(), ListGroups.overlayEtaReferences(), dqmservices::JsonWritingTimeoutPoolOutputModule.physicalAndLogicalNameForNewFile(), FastTimerService.postGlobalEndRun(), FastTimerService.preallocate(), ThroughputService.preStreamBeginRun(), FastTimerService.preStreamBeginRun(), dqmservices::DQMFileIterator.reset(), MatacqProducer.runSubDir(), DQMFileSaver.saveForFilterUnit(), FWTriggerTableView.saveImageTo(), FWTableView.saveImageTo(), dqm::DQMFileSaverPB.saveLumi(), TrackingMaterialAnalyser.saveParameters(), sistrip::EnsembleCalibrationLA.write_ensembles_text(), edm::writeParameterValue.writeValue(), edm::writeParameterValue.writeValueInVector(), edm::writeParameterValue.writeValueInVectorWithSpace(), and edm::writeParameterValue.writeVector().
Definition at line 253 of file cmsPerfStripChart.py.
tuple cmsPerfStripChart.json_db = open(options.json_f, "r+") |
Definition at line 297 of file cmsPerfStripChart.py.
string cmsPerfStripChart.metavar = 'TIMELOG' |
Definition at line 252 of file cmsPerfStripChart.py.
tuple cmsPerfStripChart.parser = optparse.OptionParser(usage) |
Definition at line 247 of file cmsPerfStripChart.py.
tuple cmsPerfStripChart.script_name = os.path.basename(__file__) |
string cmsPerfStripChart.usage = script_name+' <options> -t TIMELOG -m MEMLOG' |
Definition at line 246 of file cmsPerfStripChart.py.