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

Public Member Functions

def __init__ (self, blockName, required=True)
 
def __eq__ (self, name)
 
def __str__ (self)
 
def __repr__ (self)
 

Public Attributes

 blockName
 
 required
 

Detailed Description

Class encoding a blocks dependence on other blocks.

Definition at line 23 of file ConfigBlock.py.

Constructor & Destructor Documentation

◆ __init__()

def python.ConfigBlock.ConfigBlockDependency.__init__ (   self,
  blockName,
  required = True 
)

Definition at line 26 of file ConfigBlock.py.

26  def __init__(self, blockName, required=True):
27  self.blockName = blockName
28  self.required = required
29 
30 

Member Function Documentation

◆ __eq__()

def python.ConfigBlock.ConfigBlockDependency.__eq__ (   self,
  name 
)

Definition at line 31 of file ConfigBlock.py.

31  def __eq__(self, name):
32  return self.blockName == name
33 
34 

◆ __repr__()

def python.ConfigBlock.ConfigBlockDependency.__repr__ (   self)

Definition at line 39 of file ConfigBlock.py.

39  def __repr__(self):
40  return f'ConfigBlockDependency(blockName="{self.blockName}", required={self.required})'
41 
42 

◆ __str__()

def python.ConfigBlock.ConfigBlockDependency.__str__ (   self)

Definition at line 35 of file ConfigBlock.py.

35  def __str__(self):
36  return self.blockName
37 
38 

Member Data Documentation

◆ blockName

python.ConfigBlock.ConfigBlockDependency.blockName

Definition at line 27 of file ConfigBlock.py.

◆ required

python.ConfigBlock.ConfigBlockDependency.required

Definition at line 28 of file ConfigBlock.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