ATLAS Offline Software
Functions
ActsGaussianSumFitterConfig Namespace Reference

Functions

ComponentAccumulator ActsGaussianSumFitterToolCfg (flags, str name="ActsGaussianSumFitterTool", **kwargs)
 

Function Documentation

◆ ActsGaussianSumFitterToolCfg()

ComponentAccumulator ActsGaussianSumFitterConfig.ActsGaussianSumFitterToolCfg (   flags,
str   name = "ActsGaussianSumFitterTool",
**  kwargs 
)

Definition at line 6 of file ActsGaussianSumFitterConfig.py.

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