CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions | Variables
dataset Namespace Reference

Classes

class  BaseDataset
 
class  CMSDataset
 
class  Dataset
 
class  EOSDataset
 
class  IntegrityCheckError
 
class  LocalDataset
 
class  PrivateDataset
 

Functions

def createDataset
 
def createMyDataset
 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 getDatasetFromCache
 
def writeDatasetToCache
 

Variables

string action = 'store_true'
 
tuple data
 
tuple dataset = Dataset( datasetName )
 
string datasetName = '/MinimumBias/Run2012D-TkAlMinBias-v1/ALCARECO'
 
 default = False,
 
string end = "20121128"
 
string firstRun = "207800"
 
string help = 'print absolute path'
 
 info = notoptions.noinfo
 
tuple jsonFile
 
 jsonPath = jsonFile,
 
list name = args[0]
 
tuple parser = OptionParser()
 
tuple run_range = (options.min_run,options.max_run)
 
 user = options.user
 

Function Documentation

def dataset.createDataset (   user,
  dataset,
  pattern,
  readcache = False,
  basedir = None,
  run_range = None 
)

Definition at line 426 of file dataset.py.

Referenced by datasetToSource.datasetToSource().

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 467 of file dataset.py.

Referenced by datasetToSource.myDatasetToSource().

def dataset.getDatasetFromCache (   cachename)

Definition at line 412 of file dataset.py.

def dataset.writeDatasetToCache (   cachename,
  dataset 
)

Definition at line 418 of file dataset.py.

Variable Documentation

string dataset.action = 'store_true'

Definition at line 20 of file dataset.py.

tuple dataset.data
Initial value:
1 = createDataset(user, name,
2  fnmatch.translate( options.wildcard ),
3  options.readcache,
4  options.basedir,
5  run_range=run_range)
def createDataset
Definition: dataset.py:426

Definition at line 49 of file dataset.py.

tuple dataset.dataset = Dataset( datasetName )

Definition at line 922 of file dataset.py.

string dataset.datasetName = '/MinimumBias/Run2012D-TkAlMinBias-v1/ALCARECO'

Definition at line 918 of file dataset.py.

dataset.default = False,

Definition at line 21 of file dataset.py.

string dataset.end = "20121128"

Definition at line 925 of file dataset.py.

string dataset.firstRun = "207800"
string dataset.help = 'print absolute path'

Definition at line 22 of file dataset.py.

dataset.info = notoptions.noinfo

Definition at line 46 of file dataset.py.

tuple dataset.jsonFile
Initial value:
1 = ( '/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/'
2  'Collisions12/8TeV/Prompt/'
3  'Cert_190456-207898_8TeV_PromptReco_Collisions12_JSON.txt' )

Definition at line 919 of file dataset.py.

dataset.jsonPath = jsonFile,

Definition at line 927 of file dataset.py.

list dataset.name = args[0]

Definition at line 45 of file dataset.py.

tuple dataset.parser = OptionParser()

Definition at line 14 of file dataset.py.

tuple dataset.run_range = (options.min_run,options.max_run)

Definition at line 48 of file dataset.py.

dataset.user = options.user

Definition at line 44 of file dataset.py.