Classes | |
class | ReldirExcept |
Small functions. More... | |
class | Row |
class | Table |
Variables | |
int | CallgrindNumOfEvents = -9999 |
tuple | cpDirFilter = ( ) |
tuple | cpFileFilter = ( "*.root", ) |
string | DEF_RELVAL = "/afs/cern.ch/cms/sdt/web/performance/RelVal" |
string | DEF_SIMUL = "/afs/cern.ch/cms/sdt/web/performance/simulation" |
tuple | DirName |
int | IgProfNumOfEvents = -9999 |
int | MemcheckNumOfEvents = -9999 |
tuple | PROG_NAME = os.path.basename(sys.argv[0]) |
tuple | Steps = set(Step+ProductionSteps+["GEN,FASTSIM","GEN,FASTSIM_PILEUP"]) |
int | TimeSizeNumOfEvents = -9999 |
string | 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(), 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(), alcazmumu_cfi.filter, getOutputNames(), 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(), 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 CalibrationScanTask.checkAndSave(), CalibrationTask.checkAndSave(), HLTLevel1GTSeed.convertStringToBitNumber(), EgHLTOfflineClient.createLooseTightTrigEff(), EgHLTOfflineClient.createTrigTagProbeEffHistsNewAlgo(), TagProbeFitter.doCntEfficiency(), editESInputTag(), editInputTag(), editNumericParameter(), editVInputTag(), SurveyPxbImage.fill(), LogErrorEventFilter.filter(), ZeeCandidateFilter.filter(), dqmTnP::GaussianPlusLinearFitter.fit(), dqmTnP::VoigtianPlusExponentialFitter.fit(), lumi.from_string(), HcalDbOmds.from_string(), get_environ(), getStageRepDirs(), L1GtUtils::LogicalExpressionL1Results.initialize(), SurveyResidual.inverseCovariance(), operator!=(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >.PerformAnalyticFit(), ContentsXRange.runTest(), ContentsYRange.runTest(), DeadChannel.runTest(), NoisyChannel.runTest(), ContentsWithinExpected.runTest(), SimpleCosmicBONSeeder.seeds(), stringToNumber(), cscdqm.stringToNumber(), TagProbeFitTreeAnalyzer.TagProbeFitTreeAnalyzer(), L1GtTriggerMenuXmlParser.workAlgorithm(), l1t::TriggerMenuXmlParser.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.
def cmsPerfPublish.getcmdBasic | ( | cmd | ) |
def cmsPerfPublish.getDate | ( | ) |
Definition at line 76 of file cmsPerfPublish.py.
Referenced by scanReportArea().
def cmsPerfPublish.getDirnameDirs | ( | repdir, | |
WebArea | |||
) |
Grab dirs that end in strings defined in DirName.
Definition at line 1809 of file cmsPerfPublish.py.
References alcazmumu_cfi.filter, 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.
Referenced by createWebReports().
def cmsPerfPublish.prettySize | ( | size | ) |
Definition at line 91 of file cmsPerfPublish.py.
References TriggerAnalyzer.__str__().
Referenced by createHTMLtab().
def cmsPerfPublish.print_header | ( | ) |
Definition at line 1990 of file cmsPerfPublish.py.
Referenced by main().
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().
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 | |||
) |
int cmsPerfPublish.CallgrindNumOfEvents = -9999 |
Definition at line 35 of file cmsPerfPublish.py.
tuple cmsPerfPublish.cpDirFilter = ( ) |
Definition at line 31 of file cmsPerfPublish.py.
tuple cmsPerfPublish.cpFileFilter = ( "*.root", ) |
Definition at line 30 of file cmsPerfPublish.py.
string cmsPerfPublish.DEF_RELVAL = "/afs/cern.ch/cms/sdt/web/performance/RelVal" |
Definition at line 27 of file cmsPerfPublish.py.
string cmsPerfPublish.DEF_SIMUL = "/afs/cern.ch/cms/sdt/web/performance/simulation" |
Definition at line 28 of file cmsPerfPublish.py.
tuple cmsPerfPublish.DirName |
Definition at line 38 of file cmsPerfPublish.py.
Referenced by JetAnalyzer.analyze(), METAnalyzer.analyze(), JetAnalyzer.bookHistograms(), METAnalyzer.bookHistograms(), and METAnalyzer.endRun().
int cmsPerfPublish.IgProfNumOfEvents = -9999 |
Definition at line 34 of file cmsPerfPublish.py.
int cmsPerfPublish.MemcheckNumOfEvents = -9999 |
Definition at line 36 of file cmsPerfPublish.py.
tuple cmsPerfPublish.PROG_NAME = os.path.basename(sys.argv[0]) |
Definition at line 26 of file cmsPerfPublish.py.
tuple cmsPerfPublish.Steps = set(Step+ProductionSteps+["GEN,FASTSIM","GEN,FASTSIM_PILEUP"]) |
Definition at line 54 of file cmsPerfPublish.py.
int cmsPerfPublish.TimeSizeNumOfEvents = -9999 |
Definition at line 33 of file cmsPerfPublish.py.
string cmsPerfPublish.TMP_DIR = "" |
Definition at line 29 of file cmsPerfPublish.py.