Functions | |
def | aselectFilesToProcess |
def | compareLumiLists |
def | getLastClosedRun |
def | getLastUploadedIOV |
General functions. More... | |
def | getListOfFilesToProcess |
def | getListOfRunsAndLumiFromDBS |
def | getListOfRunsAndLumiFromFile |
def | getListOfRunsAndLumiFromRR |
def | getNewRunList |
def | getNumberOfFilesToProcessForRun |
def | getRunNumberFromDBSName |
def | getRunNumberFromFileName |
def | main |
def | removeUncompleteRuns |
def | selectFilesToProcess |
Variables | |
string | error = "Please set a crab environment in order to get the proper JSON lib" |
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 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 bitset_utilities.append(), beamvalidation.exit(), spr.find(), print(), sistrip::SpyUtilities.range(), submitPVValidationJobs.split(), and str.
Referenced by main().
def BeamSpotWorkflow.getListOfRunsAndLumiFromFile | ( | firstRun = -1 , |
|
fileName = "" |
|||
) |
Definition at line 137 of file BeamSpotWorkflow.py.
Referenced by main().
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.createWeightedPayloads(), trklet.dirExists(), CommonMethods.dumpValues(), beamvalidation.exit(), mergeVDriftHistosByStation.file, getLastUploadedIOV(), getListOfRunsAndLumiFromDBS(), getListOfRunsAndLumiFromFile(), getListOfRunsAndLumiFromRR(), getNewRunList(), if(), CommonMethods.lock(), timeUnitHelper.pack(), dumpparser.parse(), print(), sistrip::SpyUtilities.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 bitset_utilities.append(), compareLumiLists(), beamvalidation.exit(), getNumberOfFilesToProcessForRun(), print(), sistrip::SpyUtilities.range(), python.rootplot.root2matplotlib.replace(), CommonMethods.sendEmail(), submitPVValidationJobs.split(), str, and CommonMethods.timeoutManager().
Referenced by main().
Definition at line 52 of file BeamSpotWorkflow.py.