3from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory
import CompFactory
7 name: str =
"ActsFullScanRoICreatorTool",
8 **kwargs) -> ComponentAccumulator:
9 acc = ComponentAccumulator()
10 acc.setPrivateTools(CompFactory.ActsTrk.FullScanRoICreatorTool(name, **kwargs))
14 name : str =
"ActsCaloBasedRoICreatorTool",
15 **kwargs) -> ComponentAccumulator:
16 acc = ComponentAccumulator()
17 kwargs.setdefault(
'CaloClusterRoIContainer',
'ITkCaloClusterROIPhiRZ15GeVUnordered')
18 acc.setPrivateTools(CompFactory.ActsTrk.CaloBasedRoICreatorTool(name, **kwargs))
22 name: str =
"ActsMainRegionsOfInterestCreatorAlg",
23 **kwargs) -> ComponentAccumulator:
24 acc = ComponentAccumulator()
26 if 'RoICreatorTool' not in kwargs:
29 kwargs.setdefault(
'RoIs',
'ActsRegionOfInterest')
30 acc.addEventAlgo(CompFactory.ActsTrk.RegionsOfInterestCreatorAlg(name, **kwargs))
34 name: str =
"ActsRegionsOfInterestCreatorAlg",
35 **kwargs) -> ComponentAccumulator:
36 acc = ComponentAccumulator()
39 if flags.Tracking.ActiveConfig.extension ==
'ActsLargeRadius':
43 if flags.Tracking.ActiveConfig.extension ==
"ActsConversion":
44 from InDetConfig.InDetCaloClusterROISelectorConfig
import ITkCaloClusterROIPhiRZContainerMakerCfg
45 acc.merge(ITkCaloClusterROIPhiRZContainerMakerCfg(flags))
48 if 'RoICreatorTool' not in kwargs:
49 if flags.Tracking.ActiveConfig.extension ==
"ActsConversion":
54 kwargs.setdefault(
'RoIs', f
"{flags.Tracking.ActiveConfig.extension}RegionOfInterest")
59 name: str =
"ActsInDetRegionsOfInterestCreatorAlg",
60 **kwargs) -> ComponentAccumulator:
61 acc = ComponentAccumulator()
64 if 'RoICreatorTool' not in kwargs:
67 kwargs.setdefault(
'RoIs',
"RegionOfInterest")
ComponentAccumulator ActsMainRegionsOfInterestCreatorAlgCfg(flags, str name="ActsMainRegionsOfInterestCreatorAlg", **kwargs)
ComponentAccumulator ActsFullScanRoICreatorToolCfg(flags, str name="ActsFullScanRoICreatorTool", **kwargs)
ComponentAccumulator ActsInDetRegionsOfInterestCreatorAlgCfg(flags, str name="ActsInDetRegionsOfInterestCreatorAlg", **kwargs)
ComponentAccumulator ActsRegionsOfInterestCreatorAlgCfg(flags, str name="ActsRegionsOfInterestCreatorAlg", **kwargs)
ComponentAccumulator CaloBasedRoICreatorToolCfg(flags, str name="ActsCaloBasedRoICreatorTool", **kwargs)