Classes | |
class | BaseDataset |
class | CMSDataset |
class | DataFile |
class | Dataset |
class | DatasetBase |
class | DatasetError |
class | EOSDataset |
class | IntegrityCheckError |
class | LocalDataset |
class | MultipleDatasets |
class | PrivateDataset |
class | RunRange |
Functions | |
def | createDataset (user, dataset, pattern, readcache=False, basedir=None, run_range=None) |
def | createMyDataset (user, dataset, pattern, dbsInstance, readcache=False) |
if user == 'CMS': data = CMSDataset( dataset ) elif user == 'LOCAL': if basedir is None: basedir = os.environ['CMGLOCALBASEDIR'] data = LocalDataset( dataset, basedir, pattern ) else: data = Dataset( user, dataset, pattern ) More... | |
def | dasquery (dasQuery, dasLimit=0) |
def | findinjson (jsondict, *strings) |
def | getDatasetFromCache (cachename) |
def | getrunnumbersfromfile (filename, trydas=True, allowunknown=False, dasinstance=defaultdasinstance) |
def | writeDatasetToCache (cachename, dataset) |
Variables | |
abspath | |
action | |
args | |
data | |
dataset = Dataset( datasetName ) | |
string | datasetName = '/MinimumBias/Run2012D-TkAlMinBias-v1/ALCARECO' |
default | |
string | defaultdasinstance = "prod/global" |
dest | |
end | |
firstRun | |
help | |
info | |
int | |
tuple | jsonFile |
jsonPath | |
name | |
options | |
outName | |
parser | |
run_range | |
type | |
usage | |
user | |
string | validationfooter |
string | validationheader |
def dataset.createDataset | ( | user, | |
dataset, | |||
pattern, | |||
readcache = False , |
|||
basedir = None , |
|||
run_range = None |
|||
) |
Definition at line 429 of file dataset.py.
References getDatasetFromCache(), and writeDatasetToCache().
Referenced by datasetToSource.datasetToSource(), production_tasks.CheckDatasetExists.run(), and production_tasks.SourceCFG.run().
def dataset.createMyDataset | ( | user, | |
dataset, | |||
pattern, | |||
dbsInstance, | |||
readcache = False |
|||
) |
if user == 'CMS': data = CMSDataset( dataset ) elif user == 'LOCAL': if basedir is None: basedir = os.environ['CMGLOCALBASEDIR'] data = LocalDataset( dataset, basedir, pattern ) else: data = Dataset( user, dataset, pattern )
MM
Definition at line 471 of file dataset.py.
References join().
Referenced by datasetToSource.myDatasetToSource().
def dataset.dasquery | ( | dasQuery, | |
dasLimit = 0 |
|||
) |
Definition at line 27 of file dataset.py.
References findinjson(), das_client.get_data(), and str.
Referenced by dataset.Dataset.getfiles(), and getrunnumbersfromfile().
def dataset.findinjson | ( | jsondict, | |
* | strings | ||
) |
Definition at line 95 of file dataset.py.
Referenced by dasquery(), dataset.Dataset.getfiles(), and getrunnumbersfromfile().
def dataset.getDatasetFromCache | ( | cachename | ) |
def dataset.getrunnumbersfromfile | ( | filename, | |
trydas = True , |
|||
allowunknown = False , |
|||
dasinstance = defaultdasinstance |
|||
) |
Definition at line 59 of file dataset.py.
References python.cmstools.all(), dasquery(), findinjson(), int, join(), and str.
def dataset.writeDatasetToCache | ( | cachename, | |
dataset | |||
) |
dataset.abspath |
Definition at line 55 of file dataset.py.
dataset.action |
Definition at line 20 of file dataset.py.
dataset.args |
Definition at line 38 of file dataset.py.
dataset.data |
Definition at line 49 of file dataset.py.
dataset.dataset = Dataset( datasetName ) |
Definition at line 934 of file dataset.py.
string dataset.datasetName = '/MinimumBias/Run2012D-TkAlMinBias-v1/ALCARECO' |
Definition at line 930 of file dataset.py.
dataset.default |
Definition at line 16 of file dataset.py.
string dataset.defaultdasinstance = "prod/global" |
Definition at line 15 of file dataset.py.
dataset.dest |
Definition at line 16 of file dataset.py.
dataset.end |
Definition at line 941 of file dataset.py.
dataset.firstRun |
Definition at line 940 of file dataset.py.
Referenced by MillePedeAlignmentAlgorithm.beginRun(), SiStripLorentzAngleCalibration.beginRun(), SiPixelLorentzAngleCalibration.beginRun(), TkModuleGroupSelector.createModuleGroups(), SiPixelDcsInfo.dqmEndLuminosityBlock(), getCentralityFromFile(), AlCaRecoTriggerBitsRcdRead.printMap(), edm::SetRunHelper.setForcedRunOffset(), and SiPixelDcsInfo.SiPixelDcsInfo().
dataset.help |
Definition at line 16 of file dataset.py.
dataset.info |
Definition at line 46 of file dataset.py.
dataset.int |
Definition at line 35 of file dataset.py.
Referenced by dataset.Dataset.__createSnippet(), dataset.Dataset.__datetime(), dataset.Dataset.__lumiSelectionSnippet(), dataset.CMSDataset.buildListOfFiles(), dataset.Dataset.convertTimeToRun(), dataset.CMSDataset.findPrimaryDatasetEntries(), dataset.PrivateDataset.findPrimaryDatasetEntries(), dataset.CMSDataset.findPrimaryDatasetNumFiles(), dataset.PrivateDataset.findPrimaryDatasetNumFiles(), dataset.Dataset.forcerunrange(), dataset.Dataset.getfiles(), dataset.Dataset.getPrimaryDatasetEntries(), dataset.Dataset.getrunnumberfromfilename(), getrunnumbersfromfile(), and dataset.BaseDataset.listOfGoodFilesWithPrescale().
tuple dataset.jsonFile |
Definition at line 931 of file dataset.py.
dataset.jsonPath |
Definition at line 939 of file dataset.py.
dataset.name |
Definition at line 45 of file dataset.py.
dataset.options |
Definition at line 38 of file dataset.py.
dataset.outName |
Definition at line 938 of file dataset.py.
Referenced by EmDQMPostProcessor.dividehistos(), JetMETDQMPostProcessor.dividehistos(), EmDQMPostProcessor.dividehistos2D(), SiStripCorrelateNoise.DoPlots(), TMultiDimFet.MakeCode(), and ZdcTBAnalysis.setup().
dataset.parser |
Definition at line 14 of file dataset.py.
dataset.run_range |
Definition at line 48 of file dataset.py.
dataset.type |
Definition at line 35 of file dataset.py.
dataset.usage |
Definition at line 15 of file dataset.py.
dataset.user |
Definition at line 44 of file dataset.py.
string dataset.validationfooter |
Definition at line 278 of file dataset.py.
string dataset.validationheader |
Definition at line 268 of file dataset.py.