ATLAS Offline Software
Loading...
Searching...
No Matches
python.HGTD_RecoConfig Namespace Reference

Functions

 HGTD_RecoCfg (flags)

Function Documentation

◆ HGTD_RecoCfg()

python.HGTD_RecoConfig.HGTD_RecoCfg ( flags)
Configures HGTD track extension
(currently only decorates tracks with relevant info) 

Definition at line 5 of file HGTD_RecoConfig.py.

5def HGTD_RecoCfg(flags):
6 """Configures HGTD track extension
7 (currently only decorates tracks with relevant info) """
8 result = ComponentAccumulator()
9
10 # We can do clusterization using Acts algorithm
11 # In so, we then need to schedule the cluster EDM converter
12 # to provide the same inputs to the downstream algorithms that
13 # still do not support ACTS reconstruction
14 if not flags.HGTD.doActs:
15 from HGTD_Config.HGTD_PrepRawDataFormationConfig import PadClusterizationCfg
16 result.merge(PadClusterizationCfg(flags))
17
18 from HGTD_Config.HGTD_TrackTimeExtensionConfig import TrackTimeExtensionCfg
19 result.merge(TrackTimeExtensionCfg(flags))
20 else:
21 from ActsConfig.ActsClusterizationConfig import ActsHgtdClusterizationAlgCfg
22 result.merge(ActsHgtdClusterizationAlgCfg(flags))
23
24 from ActsConfig.ActsHGTDTrackExtensionAlgConfig import ActsHGTDTrackExtensionAlgCfg
25 result.merge(ActsHGTDTrackExtensionAlgCfg(flags))
26
27 if flags.Tracking.doTruth:
28 from ActsConfig.ActsHGTDTrackExtensionAlgConfig import HGTDTruthTrackDecorationAlgCfg
29 result.merge(HGTDTruthTrackDecorationAlgCfg(flags))
30
31 from HGTD_Config.HGTD_TrackTimeExtensionConfig import TrackTimeDefAndQualityAlgCfg
32 result.merge(TrackTimeDefAndQualityAlgCfg(flags))
33
34 from HGTD_Config.HGTD_VertexTimeConfig import VertexTimeAlgCfg
35 result.merge(VertexTimeAlgCfg(flags))
36
37 return result