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
21 from HGTD_Config.HGTD_TrackTimeExtensionConfig import TimeCompatibilityCheckCfg #ITk holes
22 result.merge(TimeCompatibilityCheckCfg(flags))
23
24 else:
25 from ActsConfig.ActsClusterizationConfig import ActsHgtdClusterizationAlgCfg
26 result.merge(ActsHgtdClusterizationAlgCfg(flags))
27
28 from ActsConfig.ActsHGTDTrackExtensionAlgConfig import ActsHGTDTrackExtensionAlgCfg
29 result.merge(ActsHGTDTrackExtensionAlgCfg(flags))
30
31 if flags.Tracking.doTruth:
32 from ActsConfig.ActsHGTDTrackExtensionAlgConfig import HGTDTruthTrackDecorationAlgCfg
33 result.merge(HGTDTruthTrackDecorationAlgCfg(flags))
34
35 from HGTD_Config.HGTD_TrackTimeExtensionConfig import TrackTimeDefAndQualityAlgCfg
36 result.merge(TrackTimeDefAndQualityAlgCfg(flags))
37
38 from HGTD_Config.HGTD_VertexTimeConfig import VertexTimeAlgCfg
39 result.merge(VertexTimeAlgCfg(flags))
40
41 return result