Functions | |
def | aselectFilesToProcess (listOfFilesToProcess, newRunList) |
def | compareLumiLists (listA, listB, errors=[], tolerance=0) |
def | getLastClosedRun (DBSListOfFiles) |
def | getLastUploadedIOV (tagName, destDB="oracle://cms_orcoff_prod/CMS_COND_31X_BEAMSPOT") |
General functions. More... | |
def | getListOfFilesToProcess (dataSet, lastRun=-1) |
def | getListOfRunsAndLumiFromDBS (dataSet, lastRun=-1) |
def | getListOfRunsAndLumiFromFile (firstRun=-1, fileName="") |
def | getListOfRunsAndLumiFromRR (firstRun=-1) |
def | getNewRunList (fromDir, lastUploadedIOV) |
def | getNumberOfFilesToProcessForRun (dataSet, run) |
def | getRunNumberFromDBSName (fileName) |
def | getRunNumberFromFileName (fileName) |
def | main () |
def | removeUncompleteRuns (newRunList, dataSet) |
def | selectFilesToProcess (listOfRunsAndLumiFromDBS, listOfRunsAndLumiFromRR, newRunList, runListDir, dataSet, mailList, dbsTolerance, dbsTolerancePercent, rrTolerance, missingFilesTolerance, missingLumisTimeout) |
Variables | |
error | |
def BeamSpotWorkflow.aselectFilesToProcess | ( | listOfFilesToProcess, | |
newRunList | |||
) |
Definition at line 491 of file BeamSpotWorkflow.py.
References beamvalidation.exit(), getLastClosedRun(), getRunNumberFromDBSName(), getRunNumberFromFileName(), print(), and str.
def BeamSpotWorkflow.compareLumiLists | ( | listA, | |
listB, | |||
errors = [] , |
|||
tolerance = 0 |
|||
) |
Definition at line 436 of file BeamSpotWorkflow.py.
References dqmMemoryStats.float, and str.
Referenced by selectFilesToProcess().
def BeamSpotWorkflow.getLastClosedRun | ( | DBSListOfFiles | ) |
Definition at line 219 of file BeamSpotWorkflow.py.
References getRunNumberFromDBSName().
Referenced by aselectFilesToProcess().
def BeamSpotWorkflow.getLastUploadedIOV | ( | tagName, | |
destDB = "oracle://cms_orcoff_prod/CMS_COND_31X_BEAMSPOT" |
|||
) |
General functions.
Definition at line 58 of file BeamSpotWorkflow.py.
References beamvalidation.exit(), spr.find(), and print().
Referenced by main().
def BeamSpotWorkflow.getListOfFilesToProcess | ( | dataSet, | |
lastRun = -1 |
|||
) |
Definition at line 82 of file BeamSpotWorkflow.py.
References submitPVValidationJobs.split(), and str.
def BeamSpotWorkflow.getListOfRunsAndLumiFromDBS | ( | dataSet, | |
lastRun = -1 |
|||
) |
Definition at line 102 of file BeamSpotWorkflow.py.
References mps_setup.append, beamvalidation.exit(), spr.find(), print(), FastTimerService_cff.range, submitPVValidationJobs.split(), and str.
Referenced by main().
def BeamSpotWorkflow.getListOfRunsAndLumiFromFile | ( | firstRun = -1 , |
|
fileName = "" |
|||
) |
def BeamSpotWorkflow.getListOfRunsAndLumiFromRR | ( | firstRun = -1 | ) |
Definition at line 149 of file BeamSpotWorkflow.py.
Referenced by main().
def BeamSpotWorkflow.getNewRunList | ( | fromDir, | |
lastUploadedIOV | |||
) |
Definition at line 248 of file BeamSpotWorkflow.py.
References getRunNumberFromFileName(), and eostools.ls().
Referenced by main().
def BeamSpotWorkflow.getNumberOfFilesToProcessForRun | ( | dataSet, | |
run | |||
) |
Definition at line 92 of file BeamSpotWorkflow.py.
References submitPVValidationJobs.split(), and str.
Referenced by removeUncompleteRuns(), and selectFilesToProcess().
def BeamSpotWorkflow.getRunNumberFromDBSName | ( | fileName | ) |
Definition at line 241 of file BeamSpotWorkflow.py.
Referenced by aselectFilesToProcess(), and getLastClosedRun().
def BeamSpotWorkflow.getRunNumberFromFileName | ( | fileName | ) |
Definition at line 233 of file BeamSpotWorkflow.py.
Referenced by aselectFilesToProcess(), getNewRunList(), and removeUncompleteRuns().
def BeamSpotWorkflow.main | ( | ) |
Definition at line 532 of file BeamSpotWorkflow.py.
References CommonMethods.appendSqliteFile(), CommonMethods.checkLock(), CommonMethods.cp(), CommonMethods.createWeightedPayloads(), CommonMethods.dirExists(), CommonMethods.dumpValues(), beamvalidation.exit(), FrontierConditions_GlobalTag_cff.file, dqmMemoryStats.float, getLastUploadedIOV(), getListOfRunsAndLumiFromDBS(), getListOfRunsAndLumiFromFile(), getListOfRunsAndLumiFromRR(), getNewRunList(), createfilelist.int, CommonMethods.lock(), timeUnitHelper.pack(), dumpparser.parse(), print(), FastTimerService_cff.range, CommonMethods.readBeamSpotFile(), CommonMethods.readSqliteFile(), CommonMethods.rmLock(), selectFilesToProcess(), CommonMethods.sendEmail(), CommonMethods.setLockName(), CommonMethods.sortAndCleanBeamList(), str, timeUnitHelper.unpackLumiid(), CommonMethods.uploadSqliteFile(), and CommonMethods.writeSqliteFile().
def BeamSpotWorkflow.removeUncompleteRuns | ( | newRunList, | |
dataSet | |||
) |
Definition at line 475 of file BeamSpotWorkflow.py.
References getNumberOfFilesToProcessForRun(), getRunNumberFromFileName(), print(), and str.
def BeamSpotWorkflow.selectFilesToProcess | ( | listOfRunsAndLumiFromDBS, | |
listOfRunsAndLumiFromRR, | |||
newRunList, | |||
runListDir, | |||
dataSet, | |||
mailList, | |||
dbsTolerance, | |||
dbsTolerancePercent, | |||
rrTolerance, | |||
missingFilesTolerance, | |||
missingLumisTimeout | |||
) |
Definition at line 259 of file BeamSpotWorkflow.py.
References mps_setup.append, compareLumiLists(), beamvalidation.exit(), getNumberOfFilesToProcessForRun(), print(), FastTimerService_cff.range, python.rootplot.root2matplotlib.replace(), CommonMethods.sendEmail(), submitPVValidationJobs.split(), str, and CommonMethods.timeoutManager().
Referenced by main().
BeamSpotWorkflow.error |
Definition at line 52 of file BeamSpotWorkflow.py.