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

Public Member Functions

def __init__ (self, name, sourceName, *originalName=None, noSysSuffix)
 
def currentName (self)
 
def nextPass (self)
 

Static Public Member Functions

def systematicsName (name, *noSysSuffix)
 

Public Attributes

 name
 
 sourceName
 
 originalName
 
 noSysSuffix
 
 index
 
 maxIndex
 
 viewIndex
 
 isMet
 
 selections
 
 outputs
 

Detailed Description

all the auto-generated meta-configuration data for a single container

This tracks the naming of all temporary containers, as well as all the
selection decorations.

Definition at line 47 of file ConfigAccumulator.py.

Constructor & Destructor Documentation

◆ __init__()

def python.ConfigAccumulator.ContainerConfig.__init__ (   self,
  name,
  sourceName,
originalName = None,
  noSysSuffix 
)

Definition at line 53 of file ConfigAccumulator.py.

53  def __init__ (self, name, sourceName, *, originalName = None, noSysSuffix) :
54  self.name = name
55  self.sourceName = sourceName
56  self.originalName = originalName
57  self.noSysSuffix = noSysSuffix
58  self.index = 0
59  self.maxIndex = None
60  self.viewIndex = 1
61  self.isMet = False
62  self.selections = []
63  self.outputs = {}
64 

Member Function Documentation

◆ currentName()

def python.ConfigAccumulator.ContainerConfig.currentName (   self)

Definition at line 65 of file ConfigAccumulator.py.

65  def currentName (self) :
66  if self.index == 0 :
67  if self.sourceName is None :
68  raise Exception ("should not get here, reading container name before created: " + self.name)
69  return self.sourceName
70  if self.maxIndex and self.index == self.maxIndex :
71  return self.systematicsName(self.name, noSysSuffix=self.noSysSuffix)
72  return self.systematicsName(f"{self.name}_STEP{self.index}", noSysSuffix=self.noSysSuffix)
73 

◆ nextPass()

def python.ConfigAccumulator.ContainerConfig.nextPass (   self)

Definition at line 84 of file ConfigAccumulator.py.

84  def nextPass (self) :
85  self.maxIndex = self.index
86  self.index = 0
87  self.viewIndex = 1
88  self.selections = []
89  self.outputs = {}
90 
91 
92 

◆ systematicsName()

def python.ConfigAccumulator.ContainerConfig.systematicsName (   name,
noSysSuffix 
)
static
map an internal name to a name for systematics data handles

Right now this just means appending a _%SYS% to the name.

Definition at line 75 of file ConfigAccumulator.py.

75  def systematicsName (name, *, noSysSuffix) :
76  """map an internal name to a name for systematics data handles
77 
78  Right now this just means appending a _%SYS% to the name."""
79  if not noSysSuffix :
80  return name + "_%SYS%"
81  else :
82  return name
83 

Member Data Documentation

◆ index

python.ConfigAccumulator.ContainerConfig.index

Definition at line 58 of file ConfigAccumulator.py.

◆ isMet

python.ConfigAccumulator.ContainerConfig.isMet

Definition at line 61 of file ConfigAccumulator.py.

◆ maxIndex

python.ConfigAccumulator.ContainerConfig.maxIndex

Definition at line 59 of file ConfigAccumulator.py.

◆ name

python.ConfigAccumulator.ContainerConfig.name

Definition at line 54 of file ConfigAccumulator.py.

◆ noSysSuffix

python.ConfigAccumulator.ContainerConfig.noSysSuffix

Definition at line 57 of file ConfigAccumulator.py.

◆ originalName

python.ConfigAccumulator.ContainerConfig.originalName

Definition at line 56 of file ConfigAccumulator.py.

◆ outputs

python.ConfigAccumulator.ContainerConfig.outputs

Definition at line 63 of file ConfigAccumulator.py.

◆ selections

python.ConfigAccumulator.ContainerConfig.selections

Definition at line 62 of file ConfigAccumulator.py.

◆ sourceName

python.ConfigAccumulator.ContainerConfig.sourceName

Definition at line 55 of file ConfigAccumulator.py.

◆ viewIndex

python.ConfigAccumulator.ContainerConfig.viewIndex

Definition at line 60 of file ConfigAccumulator.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