CMS 3D CMS Logo

Public Member Functions | Public Attributes

relval_steps::InputInfo Class Reference

List of all members.

Public Member Functions

def __init__
def __str__
def dbs

Public Attributes

 dataSet
 events
 files
 label
 location
 run
 split

Detailed Description

Definition at line 45 of file relval_steps.py.


Constructor & Destructor Documentation

def relval_steps::InputInfo::__init__ (   self,
  dataSet,
  label = '',
  run = [],
  files = 1000,
  events = InputInfoNDefault,
  split = 8,
  location = 'CAF' 
)

Definition at line 46 of file relval_steps.py.

00047                                                                                                           :
00048         self.run = run
00049         self.files = files
00050         self.events = events
00051         self.location = location
00052         self.label = label
00053         self.dataSet = dataSet
00054         self.split=split


Member Function Documentation

def relval_steps::InputInfo::__str__ (   self)

Definition at line 63 of file relval_steps.py.

00064                      :
00065         return 'input from: %s with run: %s'%(self.dataSet,str(self.run))
00066     
# merge dictionaries, with prioty on the [0] index
def relval_steps::InputInfo::dbs (   self)

Definition at line 55 of file relval_steps.py.

00056                  :
00057         command='dbs search --noheader --query "find file where dataset like '+self.dataSet
00058         def requ(r):
00059             return 'run=%d'%(r,)
00060         if len(self.run)!=0:
00061             command+=' and ('+' or '.join(map(requ,self.run))+' )'
00062         command+='"'
        return command

Member Data Documentation

Definition at line 46 of file relval_steps.py.

Definition at line 46 of file relval_steps.py.

Definition at line 46 of file relval_steps.py.

Definition at line 46 of file relval_steps.py.

Definition at line 46 of file relval_steps.py.

Definition at line 46 of file relval_steps.py.

Definition at line 46 of file relval_steps.py.