ATLAS Offline Software
SystObjectLinkConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2 
3 # AnaAlgorithm import(s):
4 from AnalysisAlgorithmsConfig.ConfigBlock import ConfigBlock
5 
6 
7 class SystObjectLinkBlock (ConfigBlock):
8  """the ConfigBlock for linking systematic variation and nominal objects"""
9 
10  def __init__ (self) :
11  super (SystObjectLinkBlock, self).__init__ ()
12  self.addOption('containerName', '', type=str,
13  noneAction='error',
14  info="the name of the input container.")
15 
16  def instanceName (self) :
17  """Return the instance name for this block"""
18  return self.containerName
19 
20  def makeAlgs (self, config) :
21 
22  alg = config.createAlgorithm('CP::SystObjectLinkerAlg', 'SystObjLinker', reentrant=True)
23  alg.input = config.readName (self.containerName)
24 
25 
26 
python.SystObjectLinkConfig.SystObjectLinkBlock.instanceName
def instanceName(self)
Definition: SystObjectLinkConfig.py:16
python.SystObjectLinkConfig.SystObjectLinkBlock.makeAlgs
def makeAlgs(self, config)
Definition: SystObjectLinkConfig.py:20
python.SystObjectLinkConfig.SystObjectLinkBlock
Definition: SystObjectLinkConfig.py:7
python.SystObjectLinkConfig.SystObjectLinkBlock.__init__
def __init__(self)
Definition: SystObjectLinkConfig.py:10