ATLAS Offline Software
Functions
ActsGaussianSumFitterConfig Namespace Reference

Functions

ComponentAccumulator ActsGaussianSumFitterCfg (flags, str name="ActsGaussianSumFitter", **kwargs)
 

Function Documentation

◆ ActsGaussianSumFitterCfg()

ComponentAccumulator ActsGaussianSumFitterConfig.ActsGaussianSumFitterCfg (   flags,
str   name = "ActsGaussianSumFitter",
**  kwargs 
)

Definition at line 6 of file ActsGaussianSumFitterConfig.py.

7  name: str = "ActsGaussianSumFitter",
8  **kwargs) -> ComponentAccumulator:
10 
11  kwargs.setdefault("RefitOnly", True) # Track summary will be added in the algorithm
12 
13  kwargs.setdefault("UseDirectNavigation", False) # direct navigation used for refitting measurements
14  kwargs.setdefault("ComponentMergeMethod", "eMaxWeight") # eMean or eMaxWeight
15  kwargs.setdefault("MaxComponents", 12)
16 
17  if "TrackingGeometryTool" not in kwargs:
18  from ActsConfig.ActsGeometryConfig import ActsTrackingGeometryToolCfg
19  kwargs["TrackingGeometryTool"] = acc.popToolsAndMerge(ActsTrackingGeometryToolCfg(flags))
20 
21  if "ExtrapolationTool" not in kwargs:
22  from ActsConfig.ActsGeometryConfig import ActsExtrapolationToolCfg
23  kwargs["ExtrapolationTool"] = acc.popToolsAndMerge(
24  ActsExtrapolationToolCfg(flags, MaxSteps=10000)
25  ) # PrivateToolHandle
26 
27  if 'ATLASConverterTool' not in kwargs:
28  from ActsConfig.ActsEventCnvConfig import ActsToTrkConverterToolCfg
29  kwargs["ATLASConverterTool"] = acc.popToolsAndMerge(ActsToTrkConverterToolCfg(flags))
30 
31  if 'BoundaryCheckTool' not in kwargs:
32  if flags.Detector.GeometryITk:
33  from InDetConfig.InDetBoundaryCheckToolConfig import ITkBoundaryCheckToolCfg
34  kwargs.setdefault("BoundaryCheckTool", acc.popToolsAndMerge(ITkBoundaryCheckToolCfg(flags)))
35  else:
36  from InDetConfig.InDetBoundaryCheckToolConfig import InDetBoundaryCheckToolCfg
37  kwargs.setdefault("BoundaryCheckTool", acc.popToolsAndMerge(InDetBoundaryCheckToolCfg(flags)))
38 
39  acc.setPrivateTools(CompFactory.ActsTrk.GaussianSumFitter(name, **kwargs))
40  return acc
41 
42 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ActsEventCnvConfig.ActsToTrkConverterToolCfg
ComponentAccumulator ActsToTrkConverterToolCfg(flags, str name="ActsToTrkConverterTool", **kwargs)
Definition: ActsEventCnvConfig.py:6
python.InDetBoundaryCheckToolConfig.ITkBoundaryCheckToolCfg
def ITkBoundaryCheckToolCfg(flags, name='ITkBoundaryCheckTool', **kwargs)
Definition: InDetBoundaryCheckToolConfig.py:102
ActsGaussianSumFitterConfig.ActsGaussianSumFitterCfg
ComponentAccumulator ActsGaussianSumFitterCfg(flags, str name="ActsGaussianSumFitter", **kwargs)
Definition: ActsGaussianSumFitterConfig.py:6
ActsGeometryConfig.ActsExtrapolationToolCfg
ComponentAccumulator ActsExtrapolationToolCfg(flags, str name="ActsExtrapolationTool", **kwargs)
Definition: ActsGeometryConfig.py:109
ActsGeometryConfig.ActsTrackingGeometryToolCfg
ComponentAccumulator ActsTrackingGeometryToolCfg(flags, str name="ActsTrackingGeometryTool")
Definition: ActsGeometryConfig.py:100
python.InDetBoundaryCheckToolConfig.InDetBoundaryCheckToolCfg
def InDetBoundaryCheckToolCfg(flags, name='InDetBoundarySearchTool', **kwargs)
Definition: InDetBoundaryCheckToolConfig.py:7