Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ITkStripCablingConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 def ITkStripCablingCondAlgCfg(flags, name="ITkStripCablingCondAlg"):
8  from PathResolver import PathResolver
9  ITkStripCablingCondAlg = CompFactory.ITkStripCablingAlg(name,DataSource=PathResolver.FindCalibFile("ITkStripCabling/ITkStripCabling.dat"))
10  cfg.addCondAlgo(ITkStripCablingCondAlg)
11  return cfg
12 
13 def ITkStripCablingToolCfg(flags, name="ITkStripCablingTool"):
14  cfg = ComponentAccumulator()
15 
16  # For SCT_ID used in SCT_CablingTool
17  from AtlasGeoModel.GeoModelConfig import GeoModelCfg
18  cfg.merge(GeoModelCfg(flags))
19 
20  cfg.merge(ITkStripCablingCondAlgCfg(flags))
21 
22  cfg.setPrivateTools(CompFactory.ITkStripCablingTool(name))
23  return cfg
24 
25 
PathResolver::FindCalibFile
static std::string FindCalibFile(const std::string &logical_file_name)
Definition: PathResolver.h:108
ITkStripCablingConfig.ITkStripCablingToolCfg
def ITkStripCablingToolCfg(flags, name="ITkStripCablingTool")
Definition: ITkStripCablingConfig.py:13
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ITkStripCablingConfig.ITkStripCablingCondAlgCfg
def ITkStripCablingCondAlgCfg(flags, name="ITkStripCablingCondAlg")
Definition: ITkStripCablingConfig.py:6
python.GeoModelConfig.GeoModelCfg
def GeoModelCfg(flags)
Definition: GeoModelConfig.py:16