ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
python.JobRunner.JobRunnerParameter Class Reference
Collaboration diagram for python.JobRunner.JobRunnerParameter:

Public Member Functions

def __init__ (self, name, value='', description='', isSpecial=False)
 
def __str__ (self)
 

Public Attributes

 name
 
 value
 
 description
 
 isSpecial
 

Detailed Description

JobRunner job parameter data

Definition at line 70 of file JobRunner.py.

Constructor & Destructor Documentation

◆ __init__()

def python.JobRunner.JobRunnerParameter.__init__ (   self,
  name,
  value = '',
  description = '',
  isSpecial = False 
)

Definition at line 73 of file JobRunner.py.

73  def __init__(self,name,value='',description='',isSpecial=False):
74  self.name = name
75  self.value = value
76  self.description = description
77  self.isSpecial = isSpecial # Special parameter, won't be propagated in normal way to jobs
78 

Member Function Documentation

◆ __str__()

def python.JobRunner.JobRunnerParameter.__str__ (   self)

Definition at line 79 of file JobRunner.py.

79  def __str__(self):
80  if self.isSpecial:
81  return "%-20s = %-20s # SPECIAL - %s" % (self.name,self.value,self.description)
82  else:
83  if self.description:
84  return "%-20s = %-20s # %s" % (self.name,self.value,self.description)
85  else:
86  return "%-20s = %-20s" % (self.name,self.value)
87 

Member Data Documentation

◆ description

python.JobRunner.JobRunnerParameter.description

Definition at line 76 of file JobRunner.py.

◆ isSpecial

python.JobRunner.JobRunnerParameter.isSpecial

Definition at line 77 of file JobRunner.py.

◆ name

python.JobRunner.JobRunnerParameter.name

Definition at line 74 of file JobRunner.py.

◆ value

python.JobRunner.JobRunnerParameter.value

Definition at line 75 of file JobRunner.py.


The documentation for this class was generated from the following file:
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18