CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
WorkFlow.WorkFlow Class Reference
Inheritance diagram for WorkFlow.WorkFlow:

Public Member Functions

def __init__ (self, num, nameID, inputInfo=None, commands=None)
 
def check (self, cmd=None, nEvtDefault=10)
 

Public Attributes

 cmds
 
 input
 
 nameId
 
 numId
 

Detailed Description

Definition at line 6 of file WorkFlow.py.

Constructor & Destructor Documentation

def WorkFlow.WorkFlow.__init__ (   self,
  num,
  nameID,
  inputInfo = None,
  commands = None 
)

Definition at line 8 of file WorkFlow.py.

8  def __init__(self, num, nameID, inputInfo=None, commands=None):
9 
10  self.numId = num
11  self.nameId = nameID
12  self.cmds = []
13 
14  if commands:
15  for (i,c) in enumerate(commands):
16  nToRun=10 + (i!=0)*90
17  self.check(c,nToRun)
18 
19 
20  # run on real data requested:
21  self.input = inputInfo
22 
23  return
24 
def check(self, cmd=None, nEvtDefault=10)
Definition: WorkFlow.py:25
def __init__(self, num, nameID, inputInfo=None, commands=None)
Definition: WorkFlow.py:8

Member Function Documentation

def WorkFlow.WorkFlow.check (   self,
  cmd = None,
  nEvtDefault = 10 
)

Definition at line 25 of file WorkFlow.py.

References harvestTrackValidationPlots.str.

25  def check(self, cmd=None, nEvtDefault=10):
26  if not cmd : return None
27 
28  if (isinstance(cmd,str)) and ( ' -n ' not in cmd):
29  cmd+=' -n '+str(nEvtDefault)+' '
30 
31  self.cmds.append(cmd)
32  return cmd
33 
34 
def check(self, cmd=None, nEvtDefault=10)
Definition: WorkFlow.py:25

Member Data Documentation

WorkFlow.WorkFlow.cmds

Definition at line 12 of file WorkFlow.py.

WorkFlow.WorkFlow.input

Definition at line 21 of file WorkFlow.py.

Referenced by personalPlayback.Playback.do_create_lumi().

WorkFlow.WorkFlow.nameId

Definition at line 11 of file WorkFlow.py.

WorkFlow.WorkFlow.numId

Definition at line 10 of file WorkFlow.py.