ATLAS Offline Software
Functions
ActsRegionsOfInterestConfig Namespace Reference

Functions

ComponentAccumulator ActsFullScanRoICreatorToolCfg (flags, str name="ActsFullScanRoICreatorTool", **kwargs)
 
ComponentAccumulator CaloBasedRoICreatorToolCfg (flags, str name="ActsCaloBasedRoICreatorTool", **kwargs)
 
ComponentAccumulator ActsMainRegionsOfInterestCreatorAlgCfg (flags, str name="ActsMainRegionsOfInterestCreatorAlg", **kwargs)
 
ComponentAccumulator ActsRegionsOfInterestCreatorAlgCfg (flags, str name="ActsRegionsOfInterestCreatorAlg", **kwargs)
 

Function Documentation

◆ ActsFullScanRoICreatorToolCfg()

ComponentAccumulator ActsRegionsOfInterestConfig.ActsFullScanRoICreatorToolCfg (   flags,
str   name = "ActsFullScanRoICreatorTool",
**  kwargs 
)

Definition at line 6 of file ActsRegionsOfInterestConfig.py.

7  name: str = "ActsFullScanRoICreatorTool",
8  **kwargs) -> ComponentAccumulator:
10  acc.setPrivateTools(CompFactory.ActsTrk.FullScanRoICreatorTool(name, **kwargs))
11  return acc
12 

◆ ActsMainRegionsOfInterestCreatorAlgCfg()

ComponentAccumulator ActsRegionsOfInterestConfig.ActsMainRegionsOfInterestCreatorAlgCfg (   flags,
str   name = "ActsMainRegionsOfInterestCreatorAlg",
**  kwargs 
)

Definition at line 21 of file ActsRegionsOfInterestConfig.py.

22  name: str = "ActsMainRegionsOfInterestCreatorAlg",
23  **kwargs) -> ComponentAccumulator:
24  acc = ComponentAccumulator()
25 
26  if 'RoICreatorTool' not in kwargs:
27  kwargs.setdefault('RoICreatorTool', acc.popToolsAndMerge(ActsFullScanRoICreatorToolCfg(flags)))
28 
29  kwargs.setdefault('RoIs', 'ActsRegionOfInterest')
30  acc.addEventAlgo(CompFactory.ActsTrk.RegionsOfInterestCreatorAlg(name, **kwargs))
31  return acc
32 

◆ ActsRegionsOfInterestCreatorAlgCfg()

ComponentAccumulator ActsRegionsOfInterestConfig.ActsRegionsOfInterestCreatorAlgCfg (   flags,
str   name = "ActsRegionsOfInterestCreatorAlg",
**  kwargs 
)

Definition at line 33 of file ActsRegionsOfInterestConfig.py.

34  name: str = "ActsRegionsOfInterestCreatorAlg",
35  **kwargs) -> ComponentAccumulator:
36  acc = ComponentAccumulator()
37 
38  # Large Radius tracking pass will use the full-scan roi made from primary pass
39  if flags.Tracking.ActiveConfig.extension == 'ActsLargeRadius':
40  return acc
41 
42  # Conversion tracking pass requirements
43  if flags.Tracking.ActiveConfig.extension == "ActsConversion":
44  from InDetConfig.InDetCaloClusterROISelectorConfig import ITkCaloClusterROIPhiRZContainerMakerCfg
46 
47  # Set proper RoI creation tool
48  if 'RoICreatorTool' not in kwargs:
49  if flags.Tracking.ActiveConfig.extension == "ActsConversion":
50  kwargs.setdefault('RoICreatorTool', acc.popToolsAndMerge(CaloBasedRoICreatorToolCfg(flags)))
51  else:
52  kwargs.setdefault('RoICreatorTool', acc.popToolsAndMerge(ActsFullScanRoICreatorToolCfg(flags)))
53 
54  kwargs.setdefault('RoIs', f"{flags.Tracking.ActiveConfig.extension}RegionOfInterest")
55  acc.merge(ActsMainRegionsOfInterestCreatorAlgCfg(flags, name, **kwargs))
56  return acc

◆ CaloBasedRoICreatorToolCfg()

ComponentAccumulator ActsRegionsOfInterestConfig.CaloBasedRoICreatorToolCfg (   flags,
str   name = "ActsCaloBasedRoICreatorTool",
**  kwargs 
)

Definition at line 13 of file ActsRegionsOfInterestConfig.py.

14  name : str = "ActsCaloBasedRoICreatorTool",
15  **kwargs) -> ComponentAccumulator:
16  acc = ComponentAccumulator()
17  kwargs.setdefault('CaloClusterRoIContainer', 'ITkCaloClusterROIPhiRZ15GeVUnordered')
18  acc.setPrivateTools(CompFactory.ActsTrk.CaloBasedRoICreatorTool(name, **kwargs))
19  return acc
20 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ActsRegionsOfInterestConfig.ActsRegionsOfInterestCreatorAlgCfg
ComponentAccumulator ActsRegionsOfInterestCreatorAlgCfg(flags, str name="ActsRegionsOfInterestCreatorAlg", **kwargs)
Definition: ActsRegionsOfInterestConfig.py:33
ActsRegionsOfInterestConfig.ActsMainRegionsOfInterestCreatorAlgCfg
ComponentAccumulator ActsMainRegionsOfInterestCreatorAlgCfg(flags, str name="ActsMainRegionsOfInterestCreatorAlg", **kwargs)
Definition: ActsRegionsOfInterestConfig.py:21
python.InDetCaloClusterROISelectorConfig.ITkCaloClusterROIPhiRZContainerMakerCfg
def ITkCaloClusterROIPhiRZContainerMakerCfg(flags, name="ITkCaloClusterROIPhiRZContainerMaker", **kwargs)
Definition: InDetCaloClusterROISelectorConfig.py:69
ActsRegionsOfInterestConfig.ActsFullScanRoICreatorToolCfg
ComponentAccumulator ActsFullScanRoICreatorToolCfg(flags, str name="ActsFullScanRoICreatorTool", **kwargs)
Definition: ActsRegionsOfInterestConfig.py:6
ActsRegionsOfInterestConfig.CaloBasedRoICreatorToolCfg
ComponentAccumulator CaloBasedRoICreatorToolCfg(flags, str name="ActsCaloBasedRoICreatorTool", **kwargs)
Definition: ActsRegionsOfInterestConfig.py:13