Classes | |
class | ReldirExcept |
Small functions. More... | |
class | Row |
class | Table |
Functions | |
def | addtrailingslash (adir) |
def | copytree4 (src, dest, keepTop=True) |
def | createCandlHTML (tmplfile, candlHTML, CurrentCandle, WebArea, repdir, ExecutionDate, LogFiles, cmsScimarkResults, date, prevrev) |
Create HTML pages for candles. More... | |
def | createHTMLtab (INDEX, table_dict, ordered_keys, header, caption, name, mode=0) |
def | createRegressHTML (reghtml, repdir, outd, CurrentCandle, htmNames) |
def | createWebReports (WebArea, repdir, ExecutionDate, LogFiles, cmsScimarkResults, date, prevrev) |
Create web report index and create HTML file for each candle. More... | |
def | delTmpDir () |
Delete tmp dir if we used it. More... | |
def | dirname_cmp (x, y) |
def | docopy (src, dest) |
def | fail (errstr="") |
def | get_environ () |
Get require environment variables. More... | |
def | getArchVersionFromLog (logfile) |
def | getcmd (command) |
def | getcmdBasic (cmd) |
def | getDate () |
def | getDirnameDirs (repdir, WebArea) |
Grab dirs that end in strings defined in DirName. More... | |
def | getNumOfEventsFromLog (logfile) |
def | getOutputNames (base, reportName) |
def | getRelativeDir (parent, child, keepTop=True) |
Some functions used for copying. More... | |
def | getStageRepDirs (options, args) |
Determine locations of staging and report dirs. More... | |
def | logrep_cmp (x, y) |
def | main () |
def | optionparse () |
Option parser. More... | |
def | populateFromTupleRoot (tupname, repdir, rootfile, pureg) |
def | prettySize (size) |
def | print_header () |
def | reg_dirname_cmp (x, y) |
def | rootfile_cmp (x, y) |
def | scanReportArea (repdir) |
Scan report area for required things. More... | |
def | stageIgProfReports (remotedir, arch, version) |
def | step_cmp (x, y) |
def | syncToRemoteLoc (stage, drive, path, port) |
Upload stage to remote location. More... | |
def | syscp (srcs, dest) |
def | timerep_cmp (x, y) |
Variables | |
CallgrindNumOfEvents | |
cpDirFilter | |
cpFileFilter | |
DEF_RELVAL | |
DEF_SIMUL | |
DirName | |
IgProfNumOfEvents | |
MemcheckNumOfEvents | |
PROG_NAME | |
Steps | |
TimeSizeNumOfEvents | |
TMP_DIR | |
def cmsPerfPublish.addtrailingslash | ( | adir | ) |
Definition at line 72 of file cmsPerfPublish.py.
Referenced by getStageRepDirs(), and syncToRemoteLoc().
Definition at line 1911 of file cmsPerfPublish.py.
References getRelativeDir(), genParticles_cff.map, GetRecoTauVFromDQM_MC_cff.next, and edm.print().
Referenced by syscp().
def cmsPerfPublish.createCandlHTML | ( | tmplfile, | |
candlHTML, | |||
CurrentCandle, | |||
WebArea, | |||
repdir, | |||
ExecutionDate, | |||
LogFiles, | |||
cmsScimarkResults, | |||
date, | |||
prevrev | |||
) |
Create HTML pages for candles.
Definition at line 848 of file cmsPerfPublish.py.
References createRegressHTML(), ALCARECOTkAlBeamHalo_cff.filter, getOutputNames(), createfilelist.int, genParticles_cff.map, edm.print(), and syscp().
Referenced by createWebReports().
def cmsPerfPublish.createHTMLtab | ( | INDEX, | |
table_dict, | |||
ordered_keys, | |||
header, | |||
caption, | |||
name, | |||
mode = 0 |
|||
) |
Definition at line 1306 of file cmsPerfPublish.py.
References prettySize().
Referenced by createWebReports().
def cmsPerfPublish.createRegressHTML | ( | reghtml, | |
repdir, | |||
outd, | |||
CurrentCandle, | |||
htmNames | |||
) |
Definition at line 685 of file cmsPerfPublish.py.
References edm.print().
Referenced by createCandlHTML().
def cmsPerfPublish.createWebReports | ( | WebArea, | |
repdir, | |||
ExecutionDate, | |||
LogFiles, | |||
cmsScimarkResults, | |||
date, | |||
prevrev | |||
) |
Create web report index and create HTML file for each candle.
Definition at line 1450 of file cmsPerfPublish.py.
References createCandlHTML(), createHTMLtab(), objects.autophobj.float, genParticles_cff.map, populateFromTupleRoot(), edm.print(), and syscp().
Referenced by main().
def cmsPerfPublish.delTmpDir | ( | ) |
Delete tmp dir if we used it.
Definition at line 1850 of file cmsPerfPublish.py.
Referenced by main().
def cmsPerfPublish.dirname_cmp | ( | x, | |
y | |||
) |
def cmsPerfPublish.docopy | ( | src, | |
dest | |||
) |
def cmsPerfPublish.fail | ( | errstr = "" | ) |
Definition at line 67 of file cmsPerfPublish.py.
Referenced by L1TComparison.analyze(), HLTLevel1GTSeed.convertStringToBitNumber(), EgHLTOfflineClient.createLooseTightTrigEff(), EgHLTOfflineClient.createTrigTagProbeEffHistsNewAlgo(), TagProbeFitter.doCntEfficiency(), editESInputTag(), editInputTag(), editNumericParameter(), editVInputTag(), L1TComparison.endJob(), SurveyPxbImage.fill(), LogErrorEventFilter.filter(), ZeeCandidateFilter.filter(), dqmTnP::GaussianPlusLinearFitter.fit(), dqmTnP::VoigtianPlusExponentialFitter.fit(), lumi.from_string(), from_string(), get_environ(), getStageRepDirs(), L1GtUtils::LogicalExpressionL1Results.initialize(), SurveyResidual.inverseCovariance(), operator!=(), EgHLTOfflineClient.operator=(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >.PerformAnalyticFit(), l1t::HGC3DClusterTMVASelector.produce(), ContentsXRange.runTest(), ContentsYRange.runTest(), DeadChannel.runTest(), NoisyChannel.runTest(), ContentSigma.runTest(), ContentsWithinExpected.runTest(), SimpleCosmicBONSeeder.seeds(), stringToNumber(), cscdqm.stringToNumber(), TagProbeFitTreeAnalyzer.TagProbeFitTreeAnalyzer(), PixelInactiveAreaFinder.updatePixelDets(), L1GtTriggerMenuXmlParser.workAlgorithm(), and L1GtTriggerMenuXmlParser.workTechTrigger().
def cmsPerfPublish.get_environ | ( | ) |
Get require environment variables.
Definition at line 304 of file cmsPerfPublish.py.
References fail(), getcmdBasic(), and edm.print().
Referenced by main().
def cmsPerfPublish.getArchVersionFromLog | ( | logfile | ) |
Another very fragile function to get the architecture and the CMSSW version parsing the logfile...
Definition at line 478 of file cmsPerfPublish.py.
References mathSSE.return().
Referenced by main().
def cmsPerfPublish.getcmd | ( | command | ) |
Definition at line 86 of file cmsPerfPublish.py.
References edm.print(), and digitizers_cfi.strip.
def cmsPerfPublish.getcmdBasic | ( | cmd | ) |
Definition at line 81 of file cmsPerfPublish.py.
References digitizers_cfi.strip.
Referenced by get_environ().
def cmsPerfPublish.getDate | ( | ) |
def cmsPerfPublish.getDirnameDirs | ( | repdir, | |
WebArea | |||
) |
Grab dirs that end in strings defined in DirName.
Definition at line 1811 of file cmsPerfPublish.py.
References genParticles_cff.map, edm.print(), and syscp().
Referenced by main().
def cmsPerfPublish.getNumOfEventsFromLog | ( | logfile | ) |
A very fragile function to get the Number of events for each test by parsing the logfile of the Suite. This relies on the fact that nobody will turn off the print out of the options in the cmsPerfSuite.py output... ARGH!
Definition at line 453 of file cmsPerfPublish.py.
Referenced by main().
def cmsPerfPublish.getOutputNames | ( | base, | |
reportName | |||
) |
Some functions used for copying.
Definition at line 1858 of file cmsPerfPublish.py.
References GetRecoTauVFromDQM_MC_cff.next, and edm.print().
Referenced by copytree4().
def cmsPerfPublish.getStageRepDirs | ( | options, | |
args | |||
) |
Determine locations of staging and report dirs.
Definition at line 497 of file cmsPerfPublish.py.
References addtrailingslash(), fail(), and edm.print().
Referenced by main().
def cmsPerfPublish.logrep_cmp | ( | x, | |
y | |||
) |
def cmsPerfPublish.main | ( | ) |
Definition at line 205 of file cmsPerfPublish.py.
References createWebReports(), delTmpDir(), get_environ(), getArchVersionFromLog(), getDirnameDirs(), getNumOfEventsFromLog(), getStageRepDirs(), optionparse(), edm.print(), print_header(), scanReportArea(), stageIgProfReports(), syncToRemoteLoc(), and syscp().
def cmsPerfPublish.optionparse | ( | ) |
Option parser.
Definition at line 334 of file cmsPerfPublish.py.
Referenced by main().
def cmsPerfPublish.populateFromTupleRoot | ( | tupname, | |
repdir, | |||
rootfile, | |||
pureg | |||
) |
Definition at line 1242 of file cmsPerfPublish.py.
References genParticles_cff.map.
Referenced by createWebReports().
def cmsPerfPublish.prettySize | ( | size | ) |
Definition at line 93 of file cmsPerfPublish.py.
References TriggerAnalyzer.__str__(), and objects.autophobj.float.
Referenced by createHTMLtab().
def cmsPerfPublish.print_header | ( | ) |
def cmsPerfPublish.reg_dirname_cmp | ( | x, | |
y | |||
) |
def cmsPerfPublish.rootfile_cmp | ( | x, | |
y | |||
) |
def cmsPerfPublish.scanReportArea | ( | repdir | ) |
Scan report area for required things.
Scans the working directory for cms*.logs (cmsPerfSuite.log and cmsScimark*.log, and cmsScimark results. It returns Execution date (completion), current date, list of logfiles and cmsScimark results
Definition at line 644 of file cmsPerfPublish.py.
References getDate(), genParticles_cff.map, and edm.print().
Referenced by main().
def cmsPerfPublish.stageIgProfReports | ( | remotedir, | |
arch, | |||
version | |||
) |
Publish all IgProf files into one remote directory (new naming convention). Can publish to AFS location or to a local directory on a remote (virtual) machine.
Definition at line 1397 of file cmsPerfPublish.py.
References edm.print().
Referenced by main().
def cmsPerfPublish.step_cmp | ( | x, | |
y | |||
) |
Definition at line 778 of file cmsPerfPublish.py.
References edm.print().
Referenced by dirname_cmp(), logrep_cmp(), reg_dirname_cmp(), rootfile_cmp(), and timerep_cmp().
def cmsPerfPublish.syncToRemoteLoc | ( | stage, | |
drive, | |||
path, | |||
port | |||
) |
Upload stage to remote location.
Definition at line 1831 of file cmsPerfPublish.py.
References addtrailingslash(), and edm.print().
Referenced by main().
def cmsPerfPublish.syscp | ( | srcs, | |
dest | |||
) |
Definition at line 1972 of file cmsPerfPublish.py.
References copytree4(), docopy(), and edm.print().
Referenced by createCandlHTML(), createWebReports(), getDirnameDirs(), and main().
def cmsPerfPublish.timerep_cmp | ( | x, | |
y | |||
) |
cmsPerfPublish.CallgrindNumOfEvents |
Definition at line 37 of file cmsPerfPublish.py.
cmsPerfPublish.cpDirFilter |
Definition at line 33 of file cmsPerfPublish.py.
cmsPerfPublish.cpFileFilter |
Definition at line 32 of file cmsPerfPublish.py.
cmsPerfPublish.DEF_RELVAL |
Definition at line 29 of file cmsPerfPublish.py.
cmsPerfPublish.DEF_SIMUL |
Definition at line 30 of file cmsPerfPublish.py.
cmsPerfPublish.DirName |
Definition at line 40 of file cmsPerfPublish.py.
Referenced by DQMPFCandidateAnalyzer.analyze(), JetAnalyzer.analyze(), METAnalyzer.analyze(), DQMPFCandidateAnalyzer.bookHistograms(), JetAnalyzer.bookHistograms(), METAnalyzer.bookHistograms(), and METAnalyzer.endRun().
cmsPerfPublish.IgProfNumOfEvents |
Definition at line 36 of file cmsPerfPublish.py.
cmsPerfPublish.MemcheckNumOfEvents |
Definition at line 38 of file cmsPerfPublish.py.
cmsPerfPublish.PROG_NAME |
Definition at line 28 of file cmsPerfPublish.py.
cmsPerfPublish.Steps |
Definition at line 56 of file cmsPerfPublish.py.
cmsPerfPublish.TimeSizeNumOfEvents |
Definition at line 35 of file cmsPerfPublish.py.
cmsPerfPublish.TMP_DIR |
Definition at line 31 of file cmsPerfPublish.py.