ATLAS Offline Software
HeavyIonChainConfiguration.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaCommon.Logging import logging
4 logging.getLogger().info('Importing %s', __name__)
5 log = logging.getLogger(__name__)
6 from ..Config.ChainConfigurationBase import ChainConfigurationBase
7 from ..HeavyIon.HeavyIonMenuSequences import HIFwdGapMenuSequenceGenCfg
8 from ..HeavyIon.HeavyIonMenuSequences import HIUCCMenuSequenceGenCfg
9 
10 
12 
13  def __init__(self, chainDict):
14  ChainConfigurationBase.__init__(self, chainDict)
15 
16  # ----------------------
17  # Assemble the chain depending on information from chainName
18  # ----------------------
19  def assembleChainImpl(self, flags):
20  log.debug('Assembling chain for %s', self.chainName)
21  steps = []
22  if 'Fgap' in self.chainName:
23  steps.append(self.getStep(flags, 'Fgap', [HIFwdGapMenuSequenceGenCfg]))
24  if 'ucc' in self.chainName:
25  steps.append(self.getStep(flags, 'ucc', [HIUCCMenuSequenceGenCfg]))
26  return self.buildChain(steps)
grepfile.info
info
Definition: grepfile.py:38
ChainConfigurationBase
Definition: ChainConfigurationBase.py:1
python.HLT.HeavyIon.HeavyIonChainConfiguration.HeavyIonChainConfig.__init__
def __init__(self, chainDict)
Definition: HeavyIonChainConfiguration.py:13
python.HLT.HeavyIon.HeavyIonChainConfiguration.HeavyIonChainConfig.assembleChainImpl
def assembleChainImpl(self, flags)
Definition: HeavyIonChainConfiguration.py:19
python.HLT.HeavyIon.HeavyIonChainConfiguration.HeavyIonChainConfig
Definition: HeavyIonChainConfiguration.py:11