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 python.multivaluedict.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.
tuple cmsPerfStripChart.dict = json.load(json_db) |
Definition at line 307 of file cmsPerfStripChart.py.
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(), TriggerRatesMonitor.bookHistograms(), sistrip::MeasureLA.calibration_key(), ComphepSingletopFilter.endJob(), ComphepSingletopFilterPy8.endJob(), SummaryPlotFactory< CommissioningAnalysis * >.fill(), fill_dups(), EmDQMReco::FourVectorMonitorElements.FourVectorMonitorElements(), MatacqProducer.getMatacqFile(), DQMFileSaver.globalEndRun(), edm::service::IgProfService.makeDump(), IgProfModule.makeDump(), dqmservices::DQMFileIterator.monUpdateLumi(), FastTimerService.postGlobalEndRun(), FastTimerService.preallocate(), dqmservices::DQMFileIterator.reset(), MatacqProducer.runSubDir(), DQMFileSaver.saveForFilterUnit(), FWTriggerTableView.saveImageTo(), FWTableView.saveImageTo(), TrackingMaterialAnalyser.saveParameters(), edm::root.stdNamespaceAdder(), 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.