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 70 of file cmsPerfPublish.py.
Referenced by getStageRepDirs(), and syncToRemoteLoc().
Definition at line 1909 of file cmsPerfPublish.py.
References getRelativeDir(), genParticles_cff.map, and GetRecoTauVFromDQM_MC_cff.next.
Referenced by syscp().
def cmsPerfPublish.createCandlHTML | ( | tmplfile, | |
candlHTML, | |||
CurrentCandle, | |||
WebArea, | |||
repdir, | |||
ExecutionDate, | |||
LogFiles, | |||
cmsScimarkResults, | |||
date, | |||
prevrev | |||
) |
Create HTML pages for candles.
Definition at line 846 of file cmsPerfPublish.py.
References createRegressHTML(), ALCARECOTkAlBeamHalo_cff.filter, getOutputNames(), createfilelist.int, genParticles_cff.map, and syscp().
Referenced by createWebReports().
def cmsPerfPublish.createHTMLtab | ( | INDEX, | |
table_dict, | |||
ordered_keys, | |||
header, | |||
caption, | |||
name, | |||
mode = 0 |
|||
) |
Definition at line 1304 of file cmsPerfPublish.py.
References prettySize().
Referenced by createWebReports().
def cmsPerfPublish.createRegressHTML | ( | reghtml, | |
repdir, | |||
outd, | |||
CurrentCandle, | |||
htmNames | |||
) |
Definition at line 683 of file cmsPerfPublish.py.
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 1448 of file cmsPerfPublish.py.
References createCandlHTML(), createHTMLtab(), objects.autophobj.float, genParticles_cff.map, populateFromTupleRoot(), and syscp().
Referenced by main().
def cmsPerfPublish.delTmpDir | ( | ) |
Delete tmp dir if we used it.
Definition at line 1848 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 65 of file cmsPerfPublish.py.
Referenced by L1TComparison.analyze(), CalibrationTask.checkAndSave(), CalibrationScanTask.checkAndSave(), 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(), ContentsXRange.runTest(), ContentsYRange.runTest(), DeadChannel.runTest(), NoisyChannel.runTest(), ContentsWithinExpected.runTest(), SimpleCosmicBONSeeder.seeds(), stringToNumber(), cscdqm.stringToNumber(), TagProbeFitTreeAnalyzer.TagProbeFitTreeAnalyzer(), L1GtTriggerMenuXmlParser.workAlgorithm(), and L1GtTriggerMenuXmlParser.workTechTrigger().
def cmsPerfPublish.get_environ | ( | ) |
Get require environment variables.
Definition at line 302 of file cmsPerfPublish.py.
References fail(), and getcmdBasic().
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 476 of file cmsPerfPublish.py.
References reco.return().
Referenced by main().
def cmsPerfPublish.getcmd | ( | command | ) |
Definition at line 84 of file cmsPerfPublish.py.
References digi_MixPreMix_cfi.strip.
def cmsPerfPublish.getcmdBasic | ( | cmd | ) |
Definition at line 79 of file cmsPerfPublish.py.
References digi_MixPreMix_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 1809 of file cmsPerfPublish.py.
References ALCARECOTkAlBeamHalo_cff.filter, genParticles_cff.map, 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 451 of file cmsPerfPublish.py.
Referenced by main().
def cmsPerfPublish.getOutputNames | ( | base, | |
reportName | |||
) |
Some functions used for copying.
Definition at line 1856 of file cmsPerfPublish.py.
References GetRecoTauVFromDQM_MC_cff.next.
Referenced by copytree4().
def cmsPerfPublish.getStageRepDirs | ( | options, | |
args | |||
) |
Determine locations of staging and report dirs.
Definition at line 495 of file cmsPerfPublish.py.
References addtrailingslash(), and fail().
Referenced by main().
def cmsPerfPublish.logrep_cmp | ( | x, | |
y | |||
) |
def cmsPerfPublish.main | ( | ) |
Definition at line 203 of file cmsPerfPublish.py.
References createWebReports(), delTmpDir(), get_environ(), getArchVersionFromLog(), getDirnameDirs(), getNumOfEventsFromLog(), getStageRepDirs(), optionparse(), print_header(), scanReportArea(), stageIgProfReports(), syncToRemoteLoc(), and syscp().
def cmsPerfPublish.optionparse | ( | ) |
Option parser.
Definition at line 332 of file cmsPerfPublish.py.
Referenced by main().
def cmsPerfPublish.populateFromTupleRoot | ( | tupname, | |
repdir, | |||
rootfile, | |||
pureg | |||
) |
Definition at line 1240 of file cmsPerfPublish.py.
References genParticles_cff.map.
Referenced by createWebReports().
def cmsPerfPublish.prettySize | ( | size | ) |
Definition at line 91 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 642 of file cmsPerfPublish.py.
References getDate(), and genParticles_cff.map.
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 1395 of file cmsPerfPublish.py.
Referenced by main().
def cmsPerfPublish.step_cmp | ( | x, | |
y | |||
) |
Definition at line 776 of file cmsPerfPublish.py.
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 1829 of file cmsPerfPublish.py.
References addtrailingslash().
Referenced by main().
def cmsPerfPublish.syscp | ( | srcs, | |
dest | |||
) |
Definition at line 1970 of file cmsPerfPublish.py.
References copytree4(), and docopy().
Referenced by createCandlHTML(), createWebReports(), getDirnameDirs(), and main().
def cmsPerfPublish.timerep_cmp | ( | x, | |
y | |||
) |
cmsPerfPublish.CallgrindNumOfEvents |
Definition at line 35 of file cmsPerfPublish.py.
cmsPerfPublish.cpDirFilter |
Definition at line 31 of file cmsPerfPublish.py.
cmsPerfPublish.cpFileFilter |
Definition at line 30 of file cmsPerfPublish.py.
cmsPerfPublish.DEF_RELVAL |
Definition at line 27 of file cmsPerfPublish.py.
cmsPerfPublish.DEF_SIMUL |
Definition at line 28 of file cmsPerfPublish.py.
cmsPerfPublish.DirName |
Definition at line 38 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 34 of file cmsPerfPublish.py.
cmsPerfPublish.MemcheckNumOfEvents |
Definition at line 36 of file cmsPerfPublish.py.
cmsPerfPublish.PROG_NAME |
Definition at line 26 of file cmsPerfPublish.py.
cmsPerfPublish.Steps |
Definition at line 54 of file cmsPerfPublish.py.
cmsPerfPublish.TimeSizeNumOfEvents |
Definition at line 33 of file cmsPerfPublish.py.
cmsPerfPublish.TMP_DIR |
Definition at line 29 of file cmsPerfPublish.py.