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

Detailed Description

Definition at line 41 of file relval_steps.py.


Constructor & Destructor Documentation

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

Definition at line 42 of file relval_steps.py.

00043                                                                                                   :
00044         self.run = run
00045         self.files = files
00046         self.events = events
00047         self.location = location
00048         self.label = label
00049         self.dataSet = dataSet


Member Function Documentation

def relval_steps::InputInfo::__str__ (   self)

Definition at line 58 of file relval_steps.py.

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

Definition at line 50 of file relval_steps.py.

00051                  :
00052         command='dbs search --noheader --query "find file where dataset like '+self.dataSet
00053         def requ(r):
00054             return 'run=%d'%(r,)
00055         if len(self.run)!=0:
00056             command+=' and ('+' or '.join(map(requ,self.run))+' )'
00057         command+='"'
        return command

Member Data Documentation

Definition at line 42 of file relval_steps.py.

Definition at line 42 of file relval_steps.py.

Definition at line 42 of file relval_steps.py.

Definition at line 42 of file relval_steps.py.

Definition at line 42 of file relval_steps.py.

Definition at line 42 of file relval_steps.py.