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 69 of file cmsPerfPublish.py.
Referenced by getStageRepDirs(), and syncToRemoteLoc().
Definition at line 1908 of file cmsPerfPublish.py.
References getRelativeDir(), and Association.map.
Referenced by syscp().
def cmsPerfPublish.createCandlHTML | ( | tmplfile, | |
candlHTML, | |||
CurrentCandle, | |||
WebArea, | |||
repdir, | |||
ExecutionDate, | |||
LogFiles, | |||
cmsScimarkResults, | |||
date, | |||
prevrev | |||
) |
Create HTML pages for candles.
Definition at line 845 of file cmsPerfPublish.py.
References createRegressHTML(), alcazmumu_cfi.filter, getOutputNames(), Association.map, and syscp().
Referenced by createWebReports().
def cmsPerfPublish.createHTMLtab | ( | INDEX, | |
table_dict, | |||
ordered_keys, | |||
header, | |||
caption, | |||
name, | |||
mode = 0 |
|||
) |
Definition at line 1303 of file cmsPerfPublish.py.
References prettySize().
Referenced by createWebReports().
def cmsPerfPublish.createRegressHTML | ( | reghtml, | |
repdir, | |||
outd, | |||
CurrentCandle, | |||
htmNames | |||
) |
Definition at line 682 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 1447 of file cmsPerfPublish.py.
References createCandlHTML(), createHTMLtab(), Association.map, populateFromTupleRoot(), and syscp().
Referenced by main().
def cmsPerfPublish.delTmpDir | ( | ) |
Delete tmp dir if we used it.
Definition at line 1847 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 64 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(), evf::rb_statemachine::SharedResources.goToFailedState(), evf::FUResourceBroker.I2O_EVM_LUMISECTION_Callback(), L1GtUtils::LogicalExpressionL1Results.initialize(), SurveyResidual.inverseCovariance(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >.PerformAnalyticFit(), ContentsXRange.runTest(), ContentsYRange.runTest(), DeadChannel.runTest(), NoisyChannel.runTest(), ContentsWithinExpected.runTest(), SimpleCosmicBONSeeder.seeds(), stringToNumber(), cscdqm.stringToNumber(), TagProbeFitTreeAnalyzer.TagProbeFitTreeAnalyzer(), ProfileLikelihood.upperLimitBruteForce(), L1GtTriggerMenuXmlParser.workAlgorithm(), and L1GtTriggerMenuXmlParser.workTechTrigger().
def cmsPerfPublish.get_environ | ( | ) |
Get require environment variables.
Definition at line 301 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 475 of file cmsPerfPublish.py.
References hitfit.return.
Referenced by main().
def cmsPerfPublish.getcmd | ( | command | ) |
Definition at line 83 of file cmsPerfPublish.py.
References strip().
def cmsPerfPublish.getcmdBasic | ( | cmd | ) |
Definition at line 78 of file cmsPerfPublish.py.
References strip().
Referenced by get_environ().
def cmsPerfPublish.getDate | ( | ) |
Definition at line 75 of file cmsPerfPublish.py.
Referenced by scanReportArea().
def cmsPerfPublish.getDirnameDirs | ( | repdir, | |
WebArea | |||
) |
Grab dirs that end in strings defined in DirName.
Definition at line 1808 of file cmsPerfPublish.py.
References alcazmumu_cfi.filter, Association.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 450 of file cmsPerfPublish.py.
Referenced by main().
def cmsPerfPublish.getOutputNames | ( | base, | |
reportName | |||
) |
Some functions used for copying.
Definition at line 1855 of file cmsPerfPublish.py.
Referenced by copytree4().
def cmsPerfPublish.getStageRepDirs | ( | options, | |
args | |||
) |
Determine locations of staging and report dirs.
Definition at line 494 of file cmsPerfPublish.py.
References addtrailingslash(), and fail().
Referenced by main().
def cmsPerfPublish.logrep_cmp | ( | x, | |
y | |||
) |
def cmsPerfPublish.main | ( | ) |
Definition at line 202 of file cmsPerfPublish.py.
References createWebReports(), delTmpDir(), get_environ(), getArchVersionFromLog(), getDirnameDirs(), getNumOfEventsFromLog(), getStageRepDirs(), optionparse(), print_header(), scanReportArea(), stageIgProfReports(), syncToRemoteLoc(), and syscp().
Referenced by print_header().
def cmsPerfPublish.optionparse | ( | ) |
Option parser.
Definition at line 331 of file cmsPerfPublish.py.
Referenced by main().
def cmsPerfPublish.populateFromTupleRoot | ( | tupname, | |
repdir, | |||
rootfile, | |||
pureg | |||
) |
Definition at line 1239 of file cmsPerfPublish.py.
References Association.map.
Referenced by createWebReports().
def cmsPerfPublish.prettySize | ( | size | ) |
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 641 of file cmsPerfPublish.py.
References getDate(), and Association.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 1394 of file cmsPerfPublish.py.
Referenced by main().
def cmsPerfPublish.step_cmp | ( | x, | |
y | |||
) |
Definition at line 775 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 1828 of file cmsPerfPublish.py.
References addtrailingslash().
Referenced by main().
def cmsPerfPublish.syscp | ( | srcs, | |
dest | |||
) |
Definition at line 1969 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 34 of file cmsPerfPublish.py.
tuple cmsPerfPublish.cpDirFilter = ( ) |
Definition at line 30 of file cmsPerfPublish.py.
tuple cmsPerfPublish.cpFileFilter = ( "*.root", ) |
Definition at line 29 of file cmsPerfPublish.py.
string cmsPerfPublish.DEF_RELVAL = "/afs/cern.ch/cms/sdt/web/performance/RelVal" |
Definition at line 26 of file cmsPerfPublish.py.
string cmsPerfPublish.DEF_SIMUL = "/afs/cern.ch/cms/sdt/web/performance/simulation" |
Definition at line 27 of file cmsPerfPublish.py.
tuple cmsPerfPublish.DirName |
Definition at line 37 of file cmsPerfPublish.py.
Referenced by MuCorrMETAnalyzer.analyze(), TcMETAnalyzer.analyze(), CaloMETAnalyzer.analyze(), PFMETAnalyzer.analyze(), METAnalyzer.analyze(), TcMETAnalyzer.beginJob(), MuCorrMETAnalyzer.beginJob(), PFMETAnalyzer.beginJob(), CaloMETAnalyzer.beginJob(), METAnalyzer.beginJob(), MuCorrMETAnalyzer.endRun(), TcMETAnalyzer.endRun(), CaloMETAnalyzer.endRun(), PFMETAnalyzer.endRun(), and METAnalyzer.endRun().
int cmsPerfPublish.IgProfNumOfEvents = -9999 |
Definition at line 33 of file cmsPerfPublish.py.
int cmsPerfPublish.MemcheckNumOfEvents = -9999 |
Definition at line 35 of file cmsPerfPublish.py.
tuple cmsPerfPublish.PROG_NAME = os.path.basename(sys.argv[0]) |
Definition at line 25 of file cmsPerfPublish.py.
tuple cmsPerfPublish.Steps = set(Step+ProductionSteps+["GEN,FASTSIM","GEN,FASTSIM_PILEUP"]) |
Definition at line 53 of file cmsPerfPublish.py.
int cmsPerfPublish.TimeSizeNumOfEvents = -9999 |
Definition at line 32 of file cmsPerfPublish.py.
string cmsPerfPublish.TMP_DIR = "" |
Definition at line 28 of file cmsPerfPublish.py.