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, isMet=False, 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
 
 meta
 

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 79 of file ConfigAccumulator.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 85 of file ConfigAccumulator.py.

85  def __init__ (self, name, sourceName, *, originalName = None, isMet = False, noSysSuffix) :
86  self.name = name
87  self.sourceName = sourceName
88  self.originalName = originalName
89  self.noSysSuffix = noSysSuffix
90  self.index = 0
91  self.maxIndex = None
92  self.viewIndex = 1
93  self.isMet = isMet
94  self.selections = []
95  self.outputs = {}
96  self.meta = {}
97 

Member Function Documentation

◆ currentName()

def python.ConfigAccumulator.ContainerConfig.currentName (   self)

Definition at line 98 of file ConfigAccumulator.py.

98  def currentName (self) :
99  if self.index == 0 :
100  if self.sourceName is None :
101  raise Exception ("should not get here, reading container name before created: " + self.name)
102  return self.sourceName
103  if self.maxIndex and self.index == self.maxIndex :
104  return self.systematicsName(self.name, noSysSuffix=self.noSysSuffix)
105  return self.systematicsName(f"{self.name}_STEP{self.index}", noSysSuffix=self.noSysSuffix)
106 

◆ nextPass()

def python.ConfigAccumulator.ContainerConfig.nextPass (   self)

Definition at line 117 of file ConfigAccumulator.py.

117  def nextPass (self) :
118  self.maxIndex = self.index
119  self.index = 0
120  self.viewIndex = 1
121  self.selections = []
122  self.outputs = {}
123  self.meta = {}
124 
125 
126 

◆ 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 108 of file ConfigAccumulator.py.

108  def systematicsName (name, *, noSysSuffix) :
109  """map an internal name to a name for systematics data handles
110 
111  Right now this just means appending a _%SYS% to the name."""
112  if not noSysSuffix :
113  return name + "_%SYS%"
114  else :
115  return name
116 

Member Data Documentation

◆ index

python.ConfigAccumulator.ContainerConfig.index

Definition at line 90 of file ConfigAccumulator.py.

◆ isMet

python.ConfigAccumulator.ContainerConfig.isMet

Definition at line 93 of file ConfigAccumulator.py.

◆ maxIndex

python.ConfigAccumulator.ContainerConfig.maxIndex

Definition at line 91 of file ConfigAccumulator.py.

◆ meta

python.ConfigAccumulator.ContainerConfig.meta

Definition at line 96 of file ConfigAccumulator.py.

◆ name

python.ConfigAccumulator.ContainerConfig.name

Definition at line 86 of file ConfigAccumulator.py.

◆ noSysSuffix

python.ConfigAccumulator.ContainerConfig.noSysSuffix

Definition at line 89 of file ConfigAccumulator.py.

◆ originalName

python.ConfigAccumulator.ContainerConfig.originalName

Definition at line 88 of file ConfigAccumulator.py.

◆ outputs

python.ConfigAccumulator.ContainerConfig.outputs

Definition at line 95 of file ConfigAccumulator.py.

◆ selections

python.ConfigAccumulator.ContainerConfig.selections

Definition at line 94 of file ConfigAccumulator.py.

◆ sourceName

python.ConfigAccumulator.ContainerConfig.sourceName

Definition at line 87 of file ConfigAccumulator.py.

◆ viewIndex

python.ConfigAccumulator.ContainerConfig.viewIndex

Definition at line 92 of file ConfigAccumulator.py.


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