ATLAS Offline Software
Functions | Variables
python.TrkTruthTrackAlgsConfig Namespace Reference

Functions

def TruthTrackingCfg (flags, name='InDetTruthTrackCreation', **kwargs)
 

Variables

 flags
 
 EnableCalo
 
 Files
 
 top_acc
 
 Tracks
 
 DetailedTruth
 
 TracksTruth
 
 debugMode
 
 OutputLevel
 
 withDetails
 
 True
 
 summariseProps
 
 sc
 

Function Documentation

◆ TruthTrackingCfg()

def python.TrkTruthTrackAlgsConfig.TruthTrackingCfg (   flags,
  name = 'InDetTruthTrackCreation',
**  kwargs 
)

Definition at line 8 of file TrkTruthTrackAlgsConfig.py.

8 def TruthTrackingCfg(flags, name='InDetTruthTrackCreation', **kwargs):
10 
11  if "PRD_TruthTrajectoryBuilder" not in kwargs:
12  from InDetConfig.InDetTruthToolsConfig import (
13  InDetPRD_TruthTrajectoryBuilderCfg)
14  InDetPRD_TruthTrajectoryBuilder = acc.popToolsAndMerge(
16  acc.addPublicTool(InDetPRD_TruthTrajectoryBuilder)
17  kwargs.setdefault('PRD_TruthTrajectoryBuilder',
18  InDetPRD_TruthTrajectoryBuilder)
19 
20  if "TruthTrackBuilder" not in kwargs:
21  from InDetConfig.InDetTruthToolsConfig import InDetTruthTrackBuilderCfg
22  InDetTruthTrackBuilder = acc.popToolsAndMerge(
24  acc.addPublicTool(InDetTruthTrackBuilder)
25  kwargs.setdefault('TruthTrackBuilder', InDetTruthTrackBuilder)
26 
27  kwargs.setdefault('OutputTrackCollection', 'InDetPseudoTracks')
28 
29  if "AssociationTool" not in kwargs:
30  from InDetConfig.InDetAssociationToolsConfig import (
31  InDetPRDtoTrackMapToolGangedPixelsCfg)
32  kwargs.setdefault('AssociationTool', acc.popToolsAndMerge(
34 
35  if "TrackSummaryTool" not in kwargs:
36  from TrkConfig.TrkTrackSummaryToolConfig import (
37  InDetTrackSummaryToolCfg)
38  TrackSummaryTool = acc.popToolsAndMerge(
40  acc.addPublicTool(TrackSummaryTool)
41  kwargs.setdefault('TrackSummaryTool', TrackSummaryTool)
42 
43  if "PRD_TruthTrajectorySelectors" not in kwargs:
44  trajectoryselectors = []
45  if not flags.Tracking.doIdealPseudoTracking:
46  from InDetConfig.InDetTruthToolsConfig import (
47  InDetPRD_TruthTrajectorySelectorCfg)
48  trajectoryselectors.append(acc.popToolsAndMerge(
50  kwargs.setdefault('PRD_TruthTrajectorySelectors', trajectoryselectors)
51 
52  acc.addEventAlgo(CompFactory.Trk.TruthTrackCreation(name, **kwargs))
53  return acc
54 
55 

Variable Documentation

◆ debugMode

python.TrkTruthTrackAlgsConfig.debugMode

Definition at line 85 of file TrkTruthTrackAlgsConfig.py.

◆ DetailedTruth

python.TrkTruthTrackAlgsConfig.DetailedTruth

Definition at line 80 of file TrkTruthTrackAlgsConfig.py.

◆ EnableCalo

python.TrkTruthTrackAlgsConfig.EnableCalo

Definition at line 61 of file TrkTruthTrackAlgsConfig.py.

◆ Files

python.TrkTruthTrackAlgsConfig.Files

Definition at line 64 of file TrkTruthTrackAlgsConfig.py.

◆ flags

python.TrkTruthTrackAlgsConfig.flags

Definition at line 58 of file TrkTruthTrackAlgsConfig.py.

◆ OutputLevel

python.TrkTruthTrackAlgsConfig.OutputLevel

Definition at line 88 of file TrkTruthTrackAlgsConfig.py.

◆ sc

python.TrkTruthTrackAlgsConfig.sc

Definition at line 94 of file TrkTruthTrackAlgsConfig.py.

◆ summariseProps

python.TrkTruthTrackAlgsConfig.summariseProps

Definition at line 89 of file TrkTruthTrackAlgsConfig.py.

◆ top_acc

python.TrkTruthTrackAlgsConfig.top_acc

Definition at line 68 of file TrkTruthTrackAlgsConfig.py.

◆ Tracks

python.TrkTruthTrackAlgsConfig.Tracks

Definition at line 79 of file TrkTruthTrackAlgsConfig.py.

◆ TracksTruth

python.TrkTruthTrackAlgsConfig.TracksTruth

Definition at line 81 of file TrkTruthTrackAlgsConfig.py.

◆ True

python.TrkTruthTrackAlgsConfig.True

Definition at line 89 of file TrkTruthTrackAlgsConfig.py.

◆ withDetails

python.TrkTruthTrackAlgsConfig.withDetails

Definition at line 89 of file TrkTruthTrackAlgsConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TrkTruthTrackAlgsConfig.TruthTrackingCfg
def TruthTrackingCfg(flags, name='InDetTruthTrackCreation', **kwargs)
Definition: TrkTruthTrackAlgsConfig.py:8
python.InDetTruthToolsConfig.InDetPRD_TruthTrajectoryBuilderCfg
def InDetPRD_TruthTrajectoryBuilderCfg(flags, name='InDetPRD_TruthTrajectoryBuilder', **kwargs)
Definition: InDetTruthToolsConfig.py:65
python.InDetTruthToolsConfig.InDetTruthTrackBuilderCfg
def InDetTruthTrackBuilderCfg(flags, name='InDetTruthTrackBuilder', **kwargs)
Definition: InDetTruthToolsConfig.py:33
python.TrkTrackSummaryToolConfig.InDetTrackSummaryToolCfg
def InDetTrackSummaryToolCfg(flags, name='InDetTrackSummaryTool', **kwargs)
Definition: TrkTrackSummaryToolConfig.py:22
python.InDetAssociationToolsConfig.InDetPRDtoTrackMapToolGangedPixelsCfg
def InDetPRDtoTrackMapToolGangedPixelsCfg(flags, name='PRDtoTrackMapToolGangedPixels', **kwargs)
Definition: InDetAssociationToolsConfig.py:29
python.InDetTruthToolsConfig.InDetPRD_TruthTrajectorySelectorCfg
def InDetPRD_TruthTrajectorySelectorCfg(flags, name='InDetTruthTrajectorySelector', **kwargs)
Definition: InDetTruthToolsConfig.py:91