Variables | |
string | error = "Please set a crab environment in order to get the proper JSON lib" |
def BeamSpotWorkflow.aselectFilesToProcess | ( | listOfFilesToProcess, | |
newRunList | |||
) |
Definition at line 490 of file BeamSpotWorkflow.py.
References cmsRelvalreport.exit, getLastClosedRun(), getRunNumberFromDBSName(), and getRunNumberFromFileName().
def BeamSpotWorkflow.compareLumiLists | ( | listA, | |
listB, | |||
errors = [] , |
|||
tolerance = 0 |
|||
) |
Definition at line 435 of file BeamSpotWorkflow.py.
Referenced by selectFilesToProcess().
def BeamSpotWorkflow.getLastClosedRun | ( | DBSListOfFiles | ) |
Definition at line 217 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 56 of file BeamSpotWorkflow.py.
References cmsRelvalreport.exit, and spr.find().
Referenced by main().
def BeamSpotWorkflow.getListOfFilesToProcess | ( | dataSet, | |
lastRun = -1 |
|||
) |
Definition at line 80 of file BeamSpotWorkflow.py.
References split.
def BeamSpotWorkflow.getListOfRunsAndLumiFromDBS | ( | dataSet, | |
lastRun = -1 |
|||
) |
Definition at line 100 of file BeamSpotWorkflow.py.
References python.multivaluedict.append(), cmsRelvalreport.exit, spr.find(), and split.
Referenced by main().
def BeamSpotWorkflow.getListOfRunsAndLumiFromFile | ( | firstRun = -1 , |
|
fileName = "" |
|||
) |
Definition at line 135 of file BeamSpotWorkflow.py.
Referenced by main().
def BeamSpotWorkflow.getListOfRunsAndLumiFromRR | ( | firstRun = -1 | ) |
Definition at line 147 of file BeamSpotWorkflow.py.
Referenced by main().
def BeamSpotWorkflow.getNewRunList | ( | fromDir, | |
lastUploadedIOV | |||
) |
Definition at line 246 of file BeamSpotWorkflow.py.
References getRunNumberFromFileName(), and python.rootplot.utilities.ls().
Referenced by main().
def BeamSpotWorkflow.getNumberOfFilesToProcessForRun | ( | dataSet, | |
run | |||
) |
Definition at line 90 of file BeamSpotWorkflow.py.
References split.
Referenced by removeUncompleteRuns(), and selectFilesToProcess().
def BeamSpotWorkflow.getRunNumberFromDBSName | ( | fileName | ) |
Definition at line 239 of file BeamSpotWorkflow.py.
Referenced by aselectFilesToProcess(), and getLastClosedRun().
def BeamSpotWorkflow.getRunNumberFromFileName | ( | fileName | ) |
Definition at line 231 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(), cmsRelvalreport.exit, mergeVDriftHistosByStation.file, getLastUploadedIOV(), getListOfRunsAndLumiFromDBS(), getListOfRunsAndLumiFromFile(), getListOfRunsAndLumiFromRR(), getNewRunList(), if(), CommonMethods.lock(), timeUnitHelper.pack(), triggerExpression.parse(), CommonMethods.readBeamSpotFile(), CommonMethods.readSqliteFile(), CommonMethods.rmLock(), selectFilesToProcess(), CommonMethods.sendEmail(), CommonMethods.setLockName(), CommonMethods.sortAndCleanBeamList(), timeUnitHelper.unpackLumiid(), CommonMethods.uploadSqliteFile(), and CommonMethods.writeSqliteFile().
def BeamSpotWorkflow.removeUncompleteRuns | ( | newRunList, | |
dataSet | |||
) |
Definition at line 474 of file BeamSpotWorkflow.py.
References getNumberOfFilesToProcessForRun(), and getRunNumberFromFileName().
def BeamSpotWorkflow.selectFilesToProcess | ( | listOfRunsAndLumiFromDBS, | |
listOfRunsAndLumiFromRR, | |||
newRunList, | |||
runListDir, | |||
dataSet, | |||
mailList, | |||
dbsTolerance, | |||
dbsTolerancePercent, | |||
rrTolerance, | |||
missingFilesTolerance, | |||
missingLumisTimeout | |||
) |
Definition at line 257 of file BeamSpotWorkflow.py.
References python.multivaluedict.append(), compareLumiLists(), cmsRelvalreport.exit, getNumberOfFilesToProcessForRun(), linker.replace(), CommonMethods.sendEmail(), split, and CommonMethods.timeoutManager().
Referenced by main().
Definition at line 50 of file BeamSpotWorkflow.py.