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 490 of file BeamSpotWorkflow.py.
References cmsRelvalreport.exit, getLastClosedRun(), getRunNumberFromDBSName(), getRunNumberFromFileName(), edm.print(), and str.
def BeamSpotWorkflow.compareLumiLists | ( | listA, | |
listB, | |||
errors = [] , |
|||
tolerance = 0 |
|||
) |
Definition at line 435 of file BeamSpotWorkflow.py.
References objects.autophobj.float, and str.
Referenced by selectFilesToProcess().
def BeamSpotWorkflow.getLastClosedRun | ( | DBSListOfFiles | ) |
Definition at line 218 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 57 of file BeamSpotWorkflow.py.
References cmsRelvalreport.exit, spr.find(), and edm.print().
Referenced by main().
def BeamSpotWorkflow.getListOfFilesToProcess | ( | dataSet, | |
lastRun = -1 |
|||
) |
Definition at line 81 of file BeamSpotWorkflow.py.
def BeamSpotWorkflow.getListOfRunsAndLumiFromDBS | ( | dataSet, | |
lastRun = -1 |
|||
) |
Definition at line 101 of file BeamSpotWorkflow.py.
References mps_setup.append, cmsRelvalreport.exit, spr.find(), edm.print(), split, and str.
Referenced by main().
def BeamSpotWorkflow.getListOfRunsAndLumiFromFile | ( | firstRun = -1 , |
|
fileName = "" |
|||
) |
Definition at line 136 of file BeamSpotWorkflow.py.
Referenced by main().
def BeamSpotWorkflow.getListOfRunsAndLumiFromRR | ( | firstRun = -1 | ) |
Definition at line 148 of file BeamSpotWorkflow.py.
References edm.print(), and str.
Referenced by main().
def BeamSpotWorkflow.getNewRunList | ( | fromDir, | |
lastUploadedIOV | |||
) |
Definition at line 247 of file BeamSpotWorkflow.py.
References getRunNumberFromFileName(), and eostools.ls().
Referenced by main().
def BeamSpotWorkflow.getNumberOfFilesToProcessForRun | ( | dataSet, | |
run | |||
) |
Definition at line 91 of file BeamSpotWorkflow.py.
Referenced by removeUncompleteRuns(), and selectFilesToProcess().
def BeamSpotWorkflow.getRunNumberFromDBSName | ( | fileName | ) |
Definition at line 240 of file BeamSpotWorkflow.py.
Referenced by aselectFilesToProcess(), and getLastClosedRun().
def BeamSpotWorkflow.getRunNumberFromFileName | ( | fileName | ) |
Definition at line 232 of file BeamSpotWorkflow.py.
Referenced by aselectFilesToProcess(), getNewRunList(), and removeUncompleteRuns().
def BeamSpotWorkflow.main | ( | ) |
Definition at line 531 of file BeamSpotWorkflow.py.
References CommonMethods.appendSqliteFile(), CommonMethods.checkLock(), SimDataFormats::CaloAnalysis.cp, CommonMethods.createWeightedPayloads(), CommonMethods.dirExists(), CommonMethods.dumpValues(), cmsRelvalreport.exit, FrontierConditions_GlobalTag_cff.file, objects.autophobj.float, getLastUploadedIOV(), getListOfRunsAndLumiFromDBS(), getListOfRunsAndLumiFromFile(), getListOfRunsAndLumiFromRR(), getNewRunList(), createfilelist.int, CommonMethods.lock(), timeUnitHelper.pack(), dumpparser.parse(), edm.print(), 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 474 of file BeamSpotWorkflow.py.
References getNumberOfFilesToProcessForRun(), getRunNumberFromFileName(), edm.print(), and str.
def BeamSpotWorkflow.selectFilesToProcess | ( | listOfRunsAndLumiFromDBS, | |
listOfRunsAndLumiFromRR, | |||
newRunList, | |||
runListDir, | |||
dataSet, | |||
mailList, | |||
dbsTolerance, | |||
dbsTolerancePercent, | |||
rrTolerance, | |||
missingFilesTolerance, | |||
missingLumisTimeout | |||
) |
Definition at line 258 of file BeamSpotWorkflow.py.
References mps_setup.append, compareLumiLists(), cmsRelvalreport.exit, getNumberOfFilesToProcessForRun(), edm.print(), python.rootplot.root2matplotlib.replace(), CommonMethods.sendEmail(), split, str, and CommonMethods.timeoutManager().
Referenced by main().
BeamSpotWorkflow.error |
Definition at line 51 of file BeamSpotWorkflow.py.