ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
EFTracking
FPGATrackSim
FPGATrackSimConfTools
python
FPGATrackExtensionConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
4
from
AthenaConfiguration.ComponentFactory
import
CompFactory
5
6
def
FPGATrackExtensionAlgCfg
(flags,enableTrackStatePrinter=False, **kwargs):
7
acc = ComponentAccumulator()
8
kwargs.setdefault(
"PixelClusterContainer"
,
"ITkPixelClusters"
)
9
kwargs.setdefault(
"ACTSTracksLocation"
,
"ExtendedFPGATracks"
)
10
11
from
ActsAlignmentAlgs.AlignmentAlgsConfig
import
ActsGeometryContextAlgCfg
12
from
ActsConfig.ActsGeometryConfig
import
ActsTrackingGeometrySvcCfg
13
14
acc.merge(ActsTrackingGeometrySvcCfg(flags))
15
acc.merge(ActsGeometryContextAlgCfg(flags))
16
17
if
'ActsFitter'
not
in
kwargs:
18
from
ActsConfig.ActsTrackFittingConfig
import
ActsFitterCfg
19
kwargs.setdefault(
"ActsFitter"
, acc.popToolsAndMerge(ActsFitterCfg(flags,
20
ReverseFilteringPt=0,
21
OutlierChi2Cut=30)))
22
if
enableTrackStatePrinter:
23
from
ActsConfig.ActsTrackFindingConfig
import
ActsTrackStatePrinterToolCfg
24
printerTool = acc.popToolsAndMerge(ActsTrackStatePrinterToolCfg(flags))
25
kwargs[
"TrackStatePrinter"
] = printerTool
26
27
from
PixelGeoModelXml.ITkPixelGeoModelConfig
import
ITkPixelReadoutGeometryCfg
28
acc.merge(ITkPixelReadoutGeometryCfg(flags))
29
30
acc.addEventAlgo(CompFactory.ActsTrk.TrackExtensionAlg(**kwargs))
31
return
acc
python.FPGATrackExtensionConfig.FPGATrackExtensionAlgCfg
FPGATrackExtensionAlgCfg(flags, enableTrackStatePrinter=False, **kwargs)
Definition
FPGATrackExtensionConfig.py:6
Generated on
for ATLAS Offline Software by
1.17.0