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(), and harvestTrackValidationPlots.str.
def BeamSpotWorkflow.compareLumiLists | ( | listA, | |
listB, | |||
errors = [] , |
|||
tolerance = 0 |
|||
) |
Definition at line 435 of file BeamSpotWorkflow.py.
References objects.autophobj.float, and harvestTrackValidationPlots.str.
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, and harvestTrackValidationPlots.str.
def BeamSpotWorkflow.getListOfRunsAndLumiFromDBS | ( | dataSet, | |
lastRun = -1 |
|||
) |
Definition at line 100 of file BeamSpotWorkflow.py.
References mps_setup.append, cmsRelvalreport.exit, spr.find(), split, and harvestTrackValidationPlots.str.
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.
References harvestTrackValidationPlots.str.
Referenced by main().
def BeamSpotWorkflow.getNewRunList | ( | fromDir, | |
lastUploadedIOV | |||
) |
Definition at line 246 of file BeamSpotWorkflow.py.
References getRunNumberFromFileName(), and eostools.ls().
Referenced by main().
def BeamSpotWorkflow.getNumberOfFilesToProcessForRun | ( | dataSet, | |
run | |||
) |
Definition at line 90 of file BeamSpotWorkflow.py.
References split, and harvestTrackValidationPlots.str.
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(), SimDataFormats::CaloAnalysis.cp, CommonMethods.createWeightedPayloads(), CommonMethods.dirExists(), CommonMethods.dumpValues(), cmsRelvalreport.exit, FrontierConditions_GlobalTag_cff.file, objects.autophobj.float, getLastUploadedIOV(), getListOfRunsAndLumiFromDBS(), getListOfRunsAndLumiFromFile(), getListOfRunsAndLumiFromRR(), getNewRunList(), reco.if(), createfilelist.int, CommonMethods.lock(), timeUnitHelper.pack(), dumpparser.parse(), CommonMethods.readBeamSpotFile(), CommonMethods.readSqliteFile(), CommonMethods.rmLock(), selectFilesToProcess(), CommonMethods.sendEmail(), CommonMethods.setLockName(), CommonMethods.sortAndCleanBeamList(), harvestTrackValidationPlots.str, timeUnitHelper.unpackLumiid(), CommonMethods.uploadSqliteFile(), and CommonMethods.writeSqliteFile().
def BeamSpotWorkflow.removeUncompleteRuns | ( | newRunList, | |
dataSet | |||
) |
Definition at line 474 of file BeamSpotWorkflow.py.
References getNumberOfFilesToProcessForRun(), getRunNumberFromFileName(), and harvestTrackValidationPlots.str.
def BeamSpotWorkflow.selectFilesToProcess | ( | listOfRunsAndLumiFromDBS, | |
listOfRunsAndLumiFromRR, | |||
newRunList, | |||
runListDir, | |||
dataSet, | |||
mailList, | |||
dbsTolerance, | |||
dbsTolerancePercent, | |||
rrTolerance, | |||
missingFilesTolerance, | |||
missingLumisTimeout | |||
) |
Definition at line 257 of file BeamSpotWorkflow.py.
References mps_setup.append, compareLumiLists(), cmsRelvalreport.exit, getNumberOfFilesToProcessForRun(), python.rootplot.root2matplotlib.replace(), CommonMethods.sendEmail(), split, harvestTrackValidationPlots.str, and CommonMethods.timeoutManager().
Referenced by main().
BeamSpotWorkflow.error |
Definition at line 50 of file BeamSpotWorkflow.py.