ATLAS Offline Software
BjetChainConfiguration.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 
7 from ..Config.ChainConfigurationBase import ChainConfigurationBase
8 from .BjetMenuSequences import getBJetSequenceGenCfg
9 
10 
11 #----------------------------------------------------------------
12 # Class to configure chain
13 #----------------------------------------------------------------
15 
16  def __init__(self, chainDict, jc_name):
17  ChainConfigurationBase.__init__(self, chainDict)
18 
19  self.jc_name = jc_name
20 
21  # ----------------------
22  # Assemble the chain depending on information from chainName
23  # ----------------------
24  def assembleChainImpl(self, flags):
25  log.debug("Assembling chain for %s", self.chainName)
26 
27  stepName = f"{self.jc_name}_bjet"
28  chainSteps = [self.getStep(flags, stepName, [getBJetSequenceGenCfg], jc_name=self.jc_name)]
29 
30  myChain = self.buildChain(chainSteps)
31  return myChain
32 
grepfile.info
info
Definition: grepfile.py:38
python.HLT.Bjet.BjetChainConfiguration.BjetChainConfiguration
Definition: BjetChainConfiguration.py:14
ChainConfigurationBase
Definition: ChainConfigurationBase.py:1
python.HLT.Bjet.BjetChainConfiguration.BjetChainConfiguration.assembleChainImpl
def assembleChainImpl(self, flags)
Definition: BjetChainConfiguration.py:24
python.HLT.Bjet.BjetChainConfiguration.BjetChainConfiguration.__init__
def __init__(self, chainDict, jc_name)
Definition: BjetChainConfiguration.py:16
python.HLT.Bjet.BjetChainConfiguration.BjetChainConfiguration.jc_name
jc_name
Definition: BjetChainConfiguration.py:19