3from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory
import CompFactory
7 """Configures a tool to classify clusters as coming from HS/PU/... """
8 acc = ComponentAccumulator()
10 acc.setPrivateTools(CompFactory.HGTD.ClusterTruthTool(name, **kwargs))
14 """Configures a tool that uses the straight line at speed of light hypothesis for the time of flight correction """
15 acc = ComponentAccumulator()
17 acc.setPrivateTools(CompFactory.HGTD.StraightLineTOFcorrectionTool(name, **kwargs))
21 """Configures a tool that performs the extension of tracks from ITk to HGTD """
22 acc = ComponentAccumulator()
24 from TrkConfig.AtlasExtrapolatorConfig
import AtlasExtrapolatorCfg
25 kwargs.setdefault(
"ExtrapolatorTool", acc.popToolsAndMerge(AtlasExtrapolatorCfg(flags)))
27 from TrkConfig.TrkMeasurementUpdatorConfig
import ITkUpdatorCfg
28 kwargs.setdefault(
"UpdatorTool", acc.popToolsAndMerge(ITkUpdatorCfg(flags)))
32 kwargs.setdefault(
"Chi2Cut", 5.0)
33 acc.setPrivateTools(CompFactory.HGTD_IterativeExtensionTool(name, **kwargs))
37 """Schedules an extension algorithm from ITk to HGTD """
38 acc = ComponentAccumulator()
42 kwargs.setdefault(
"HGTDClusterContainerName",
"HGTD_Clusters")
43 acc.addEventAlgo(CompFactory.HGTD.TrackTimeExtensionAlg(name, **kwargs))
47 """Schedules an extension algorithm from ITk to HGTD """
48 acc = ComponentAccumulator()
50 kwargs.setdefault(
'doActs', flags.HGTD.doActs)
52 kwargs.setdefault(
'ExtraInputs',
53 [(
'xAOD::TrackParticleContainer',
'StoreGateSvc+InDetTrackParticles.actsTrack')])
55 acc.addEventAlgo(CompFactory.HGTD.TrackTimeDefAndQualityAlg(name, **kwargs))
StraightLineTOFcorrectionToolCfg(flags, name="StraightLineTOFcorrectionTool", **kwargs)
ClusterTruthToolCfg(flags, name="ClusterTruthTool", **kwargs)
TrackTimeExtensionCfg(flags, name="TrackTimeExtensionAlg", **kwargs)
TrackTimeDefAndQualityAlgCfg(flags, name="TrackTimeDefAndQualityAlg", **kwargs)
HGTD_IterativeExtensionToolCfg(flags, name="HGTD_IterativeExtensionTool", **kwargs)