3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
7 name: str =
"ActsFullScanRoICreatorTool",
8 **kwargs) -> ComponentAccumulator:
10 acc.setPrivateTools(CompFactory.ActsTrk.FullScanRoICreatorTool(name, **kwargs))
14 name : str =
"ActsCaloBasedRoICreatorTool",
15 **kwargs) -> ComponentAccumulator:
17 kwargs.setdefault(
'CaloClusterRoIContainer',
'ITkCaloClusterROIPhiRZ15GeVUnordered')
18 acc.setPrivateTools(CompFactory.ActsTrk.CaloBasedRoICreatorTool(name, **kwargs))
22 name: str =
"ActsMainRegionsOfInterestCreatorAlg",
23 **kwargs) -> 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:
39 if flags.Tracking.ActiveConfig.extension ==
'ActsLargeRadius':
43 if flags.Tracking.ActiveConfig.extension ==
"ActsConversion":
44 from InDetConfig.InDetCaloClusterROISelectorConfig
import ITkCaloClusterROIPhiRZContainerMakerCfg
48 if 'RoICreatorTool' not in kwargs:
49 if flags.Tracking.ActiveConfig.extension ==
"ActsConversion":
54 kwargs.setdefault(
'RoIs', f
"{flags.Tracking.ActiveConfig.extension}RegionOfInterest")