ATLAS Offline Software
Functions | Variables
python.TRTSegmentFindingConfig Namespace Reference

Functions

def TRTSegmentFindingCfg (flags, InputCollections=None)
 
def TRTSegmentFinding_Phase_Cfg (flags)
 
def TRTSegmentFinding_TrackSegments_Cfg (flags)
 

Variables

 flags = initConfigFlags()
 
 Files
 
 EnableCalo
 
int numThreads = 1
 
 NumThreads
 
 NumConcurrentEvents
 
 top_acc = MainServicesCfg(flags)
 
 iovsvc = top_acc.getService('IOVDbSvc')
 
 OutputLevel
 
 sc = top_acc.run(5)
 

Function Documentation

◆ TRTSegmentFinding_Phase_Cfg()

def python.TRTSegmentFindingConfig.TRTSegmentFinding_Phase_Cfg (   flags)

Definition at line 43 of file TRTSegmentFindingConfig.py.

44  acc = ComponentAccumulator()
45 
46  #
47  # --- TRT track reconstruction
48  #
49  if flags.Beam.Type is BeamType.Cosmics:
50  from InDetConfig.TRT_TrackSegmentsFinderConfig import (
51  TRT_TrackSegmentsFinder_Cosmics_Cfg)
53  flags,
54  name='InDetTRT_TrackSegmentsFinder_Phase_Cosmics',
55  SegmentsLocation = 'TRTSegments_Phase'))
56  else:
57  from InDetConfig.TRT_TrackSegmentsFinderConfig import (
58  TRT_TrackSegmentsFinder_Phase_Cfg)
59  acc.merge(TRT_TrackSegmentsFinder_Phase_Cfg(flags))
60 
61  #
62  # --- load TRT validation alg
63  #
64  if flags.Tracking.doTruth:
65  from InDetConfig.InDetSegmentDriftCircleAssValidationConfig import (
66  SegmentDriftCircleAssValidationCfg)
68  flags,
69  name = "InDetSegmentDriftCircleAssValidation_Phase"))
70 
71  return acc
72 

◆ TRTSegmentFinding_TrackSegments_Cfg()

def python.TRTSegmentFindingConfig.TRTSegmentFinding_TrackSegments_Cfg (   flags)

Definition at line 73 of file TRTSegmentFindingConfig.py.

74  acc = ComponentAccumulator()
75 
76  #
77  # --- TRT track reconstruction
78  #
79  if flags.Beam.Type is BeamType.Cosmics:
80  from InDetConfig.TRT_TrackSegmentsFinderConfig import (
81  TRT_TrackSegmentsFinder_Cosmics_Cfg)
83  flags,
84  name='InDetTRT_TrackSegmentsFinder_TrackSegments_Cosmics',
85  SegmentsLocation = 'TRTSegmentsTRT'))
86  else:
87  from InDetConfig.TRT_TrackSegmentsFinderConfig import (
88  TRT_TrackSegmentsFinder_TrackSegments_Cfg)
90 
91  #
92  # --- load TRT validation alg
93  #
94 
95  if flags.Tracking.doTruth:
96  from InDetConfig.InDetSegmentDriftCircleAssValidationConfig import (
97  SegmentDriftCircleAssValidation_TrackSegments_Cfg)
99 
100  return acc
101 
102 

◆ TRTSegmentFindingCfg()

def python.TRTSegmentFindingConfig.TRTSegmentFindingCfg (   flags,
  InputCollections = None 
)

Definition at line 5 of file TRTSegmentFindingConfig.py.

5 def TRTSegmentFindingCfg(flags, InputCollections = None):
7 
8  #
9  # --- get list of already associated hits (always do this, even if no other tracking ran before)
10  #
11  if InputCollections is not None:
12  from InDetConfig.InDetTrackPRD_AssociationConfig import (
13  InDetTrackPRD_AssociationCfg)
15  flags,
16  name = 'InDetSegmentTrackPRD_Association',
17  AssociationMapName = 'InDetSegmentPRDtoTrackMap',
18  TracksName = list(InputCollections)))
19 
20  #
21  # --- TRT track reconstruction
22  #
23  if flags.Beam.Type is BeamType.Cosmics:
24  from InDetConfig.TRT_TrackSegmentsFinderConfig import (
25  TRT_TrackSegmentsFinder_Cosmics_Cfg)
26  acc.merge(TRT_TrackSegmentsFinder_Cosmics_Cfg(flags))
27  else:
28  from InDetConfig.TRT_TrackSegmentsFinderConfig import (
29  TRT_TrackSegmentsFinderCfg)
30  acc.merge(TRT_TrackSegmentsFinderCfg(flags,
31  InputCollections = InputCollections))
32 
33  #
34  # --- load TRT validation alg
35  #
36  if flags.Tracking.doTruth:
37  from InDetConfig.InDetSegmentDriftCircleAssValidationConfig import (
38  SegmentDriftCircleAssValidationCfg)
39  acc.merge(SegmentDriftCircleAssValidationCfg(flags))
40 
41  return acc
42 

Variable Documentation

◆ EnableCalo

python.TRTSegmentFindingConfig.EnableCalo

Definition at line 111 of file TRTSegmentFindingConfig.py.

◆ Files

python.TRTSegmentFindingConfig.Files

Definition at line 108 of file TRTSegmentFindingConfig.py.

◆ flags

python.TRTSegmentFindingConfig.flags = initConfigFlags()

Definition at line 105 of file TRTSegmentFindingConfig.py.

◆ iovsvc

python.TRTSegmentFindingConfig.iovsvc = top_acc.getService('IOVDbSvc')

Definition at line 132 of file TRTSegmentFindingConfig.py.

◆ NumConcurrentEvents

python.TRTSegmentFindingConfig.NumConcurrentEvents

Definition at line 115 of file TRTSegmentFindingConfig.py.

◆ numThreads

int python.TRTSegmentFindingConfig.numThreads = 1

Definition at line 113 of file TRTSegmentFindingConfig.py.

◆ NumThreads

python.TRTSegmentFindingConfig.NumThreads

Definition at line 114 of file TRTSegmentFindingConfig.py.

◆ OutputLevel

python.TRTSegmentFindingConfig.OutputLevel

Definition at line 133 of file TRTSegmentFindingConfig.py.

◆ sc

python.TRTSegmentFindingConfig.sc = top_acc.run(5)

Definition at line 139 of file TRTSegmentFindingConfig.py.

◆ top_acc

python.TRTSegmentFindingConfig.top_acc = MainServicesCfg(flags)

Definition at line 123 of file TRTSegmentFindingConfig.py.

python.InDetSegmentDriftCircleAssValidationConfig.SegmentDriftCircleAssValidationCfg
def SegmentDriftCircleAssValidationCfg(flags, name="InDetSegmentDriftCircleAssValidation", **kwargs)
Definition: InDetSegmentDriftCircleAssValidationConfig.py:6
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.InDetSegmentDriftCircleAssValidationConfig.SegmentDriftCircleAssValidation_TrackSegments_Cfg
def SegmentDriftCircleAssValidation_TrackSegments_Cfg(flags, name="InDetSegmentDriftCircleAssValidation_TrackSegments", **kwargs)
Definition: InDetSegmentDriftCircleAssValidationConfig.py:21
python.TRT_TrackSegmentsFinderConfig.TRT_TrackSegmentsFinderCfg
def TRT_TrackSegmentsFinderCfg(flags, name='InDetTRT_TrackSegmentsFinder', InputCollections=None, **kwargs)
Definition: TRT_TrackSegmentsFinderConfig.py:7
python.TRT_TrackSegmentsFinderConfig.TRT_TrackSegmentsFinder_Phase_Cfg
def TRT_TrackSegmentsFinder_Phase_Cfg(flags, name='InDetTRT_TrackSegmentsFinder_Phase', **kwargs)
Definition: TRT_TrackSegmentsFinderConfig.py:56
python.InDetTrackPRD_AssociationConfig.InDetTrackPRD_AssociationCfg
def InDetTrackPRD_AssociationCfg(flags, name='InDetTrackPRD_Association', **kwargs)
Definition: InDetTrackPRD_AssociationConfig.py:6
python.TRTSegmentFindingConfig.TRTSegmentFinding_Phase_Cfg
def TRTSegmentFinding_Phase_Cfg(flags)
Definition: TRTSegmentFindingConfig.py:43
python.TRTSegmentFindingConfig.TRTSegmentFinding_TrackSegments_Cfg
def TRTSegmentFinding_TrackSegments_Cfg(flags)
Definition: TRTSegmentFindingConfig.py:73
histSizes.list
def list(name, path='/')
Definition: histSizes.py:38
python.TRT_TrackSegmentsFinderConfig.TRT_TrackSegmentsFinder_Cosmics_Cfg
def TRT_TrackSegmentsFinder_Cosmics_Cfg(flags, name='InDetTRT_TrackSegmentsFinder_Cosmics', **kwargs)
Definition: TRT_TrackSegmentsFinderConfig.py:43
python.TRTSegmentFindingConfig.TRTSegmentFindingCfg
def TRTSegmentFindingCfg(flags, InputCollections=None)
Definition: TRTSegmentFindingConfig.py:5
python.TRT_TrackSegmentsFinderConfig.TRT_TrackSegmentsFinder_TrackSegments_Cfg
def TRT_TrackSegmentsFinder_TrackSegments_Cfg(flags, name='InDetTRT_TrackSegmentsFinder_TrackSegments', **kwargs)
Definition: TRT_TrackSegmentsFinderConfig.py:71