ATLAS Offline Software
Loading...
Searching...
No Matches
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):
4from AnalysisAlgorithmsConfig.ConfigBlock import ConfigBlock
5
6
7class 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