ATLAS Offline Software
Functions | Variables
python.TrigInDetConfig Namespace Reference

Functions

def InDetIDCCacheCreatorCfg (flags)
 
def ActsIDCCacheCreatorCfg (flags)
 
def trigInDetFastTrackingCfg (inflags, roisKey="EMRoIs", signatureName='', patternMode='FTF', in_view=True)
 
def trigInDetLRTCfg (flags, LRTInputCollection, roisKey, in_view, extra_view_inputs=tuple())
 
def trigInDetPrecisionTrackingCfg (inflags, rois, signatureName, in_view=True)
 precision tracking More...
 
def trigInDetVertexingCfg (flags, inputTracks, outputVtx)
 

Variables

 debugMode
 
 flags
 
 Files
 
 AtlasVersion
 
 acc
 
 roisKey
 
 signatureName
 
 rois
 
 in_view
 
 inputTracks
 
 tracks_FTF
 
 outputVtx
 
 withDetails
 
 True
 
 summariseProps
 

Function Documentation

◆ ActsIDCCacheCreatorCfg()

def python.TrigInDetConfig.ActsIDCCacheCreatorCfg (   flags)

Definition at line 34 of file TrigInDetConfig.py.

34 def ActsIDCCacheCreatorCfg(flags):
35  #Create IdentifiableCaches
36  acc = ComponentAccumulator()
37 
38  creator = CompFactory.ActsTrk.Cache.CreatorAlg(name="ActsCacheCreatorTrig",
39  PixelClustersCacheKey="ActsPixelClusterCache_Back",
40  StripClustersCacheKey="ActsStripClusterCache_Back",
41  PixelSpacePointCacheKey="ActsPixelSpacePointCache_Back",
42  StripSpacePointCacheKey="ActsStripSpacePointCache_Back",
43  StripOverlapSpacePointCacheKey="ActsStripOverlapSpacePointCache_Back")
44 
45  acc.addEventAlgo(creator)
46 
47  return acc
48 
49 
50 
51 
52 
53 @AccumulatorCache

◆ InDetIDCCacheCreatorCfg()

def python.TrigInDetConfig.InDetIDCCacheCreatorCfg (   flags)

Definition at line 11 of file TrigInDetConfig.py.

11 def InDetIDCCacheCreatorCfg(flags):
12  #Create IdentifiableCaches
13  acc = ComponentAccumulator()
14  InDet__CacheCreator=CompFactory.getComp("InDet::CacheCreator")
15  InDetCacheCreatorTrig = InDet__CacheCreator(name = "InDetCacheCreatorTrig",
16  TRT_DriftCircleKey = flags.Trigger.InDetTracking.TRT_DriftCircleCacheKey,
17  Pixel_ClusterKey = flags.Trigger.InDetTracking.PixelClusterCacheKey,
18  SCT_ClusterKey = flags.Trigger.InDetTracking.SCTClusterCacheKey,
19  SpacePointCachePix = flags.Trigger.InDetTracking.SpacePointCachePix,
20  SpacePointCacheSCT = flags.Trigger.InDetTracking.SpacePointCacheSCT,
21  SCTRDOCacheKey = flags.Trigger.InDetTracking.SCTRDOCacheKey,
22  SCTBSErrCacheKey = flags.Trigger.InDetTracking.SCTBSErrCacheKey,
23  SCTFlaggedCondCacheKey = flags.Trigger.InDetTracking.SCTFlaggedCondCacheKey,
24  PixRDOCacheKey = flags.Trigger.InDetTracking.PixRDOCacheKey,
25  PixBSErrCacheKey = flags.Trigger.InDetTracking.PixBSErrCacheKey,
26  TRTRDOCacheKey = flags.Trigger.InDetTracking.TRTRDOCacheKey)
27 
28  if not flags.Detector.GeometryTRT:
29  InDetCacheCreatorTrig.disableTRT = True
30 
31  acc.addEventAlgo( InDetCacheCreatorTrig )
32  return acc
33 

◆ trigInDetFastTrackingCfg()

def python.TrigInDetConfig.trigInDetFastTrackingCfg (   inflags,
  roisKey = "EMRoIs",
  signatureName = '',
  patternMode = 'FTF',
  in_view = True 
)

Definition at line 54 of file TrigInDetConfig.py.

54 def trigInDetFastTrackingCfg( inflags, roisKey="EMRoIs", signatureName='', patternMode='FTF', in_view=True ):
55 
56  log = logging.getLogger("trigInDetFastTrackingCfg")
57  from TrigInDetConfig.utils import getFlagsForActiveConfig
58  flags = getFlagsForActiveConfig(inflags, signatureName, log)
59 
60  """ Generates fast tracking config, it is a primary config function """
61 
62  from TrigInDetConfig.InnerTrackingTrigSequence import InnerTrackingTrigSequence
63 
64  seq = InnerTrackingTrigSequence.create(flags,
65  flags.Tracking.ActiveConfig.input_name,
66  rois = roisKey,
67  inView = "VDVInDetFTF" if in_view else None)
68  if patternMode=='FTF':
69  acc = seq.sequence("FastTrackFinder")
70  elif patternMode=="fastTracking":
71  acc = seq.sequence("offlinePattern")
72 
73  return acc
74 
75 
76 
77 
78 
79 @AccumulatorCache

◆ trigInDetLRTCfg()

def python.TrigInDetConfig.trigInDetLRTCfg (   flags,
  LRTInputCollection,
  roisKey,
  in_view,
  extra_view_inputs = tuple() 
)

Definition at line 80 of file TrigInDetConfig.py.

80 def trigInDetLRTCfg(flags, LRTInputCollection, roisKey, in_view, extra_view_inputs=tuple()):
81  from TrigInDetConfig.InnerTrackingTrigSequence import InnerTrackingTrigSequence
82  viewname = "VDVInDetLRT" if in_view else None
83  seq = InnerTrackingTrigSequence.create(flags,
84  flags.Tracking.ActiveConfig.input_name,
85  rois = roisKey,
86  inView = viewname)
87  acc = ComponentAccumulator()
88  if in_view:
89  acc.addEventAlgo( CompFactory.AthViews.ViewDataVerifier(
90  name = "LRTInputVDV_"+viewname + "_" + flags.Tracking.ActiveConfig.input_name,
91  DataObjects = { ( 'TrigRoiDescriptorCollection' , f'StoreGateSvc+{roisKey}' ),
92  ( 'TrackCollection' , 'StoreGateSvc+HLT_IDTrkTrack_FS_FTF' ),
93  } | set(extra_view_inputs) ) )
94 
95  #need to make sure the cache containers are available
96  acc.merge(seq.viewDataVerifier(viewname))
97  acc.merge(seq.dataPreparation())
98  acc.merge(seq.spacePointFormation())
99 
100  acc.merge(seq.fastTrackFinder(inputTracksName = LRTInputCollection))
101 
102  return acc
103 
104 
105 
106 
107 

◆ trigInDetPrecisionTrackingCfg()

def python.TrigInDetConfig.trigInDetPrecisionTrackingCfg (   inflags,
  rois,
  signatureName,
  in_view = True 
)

precision tracking

Generates precision tracking config, it is a primary config function 

Definition at line 113 of file TrigInDetConfig.py.

113 def trigInDetPrecisionTrackingCfg( inflags, rois, signatureName, in_view=True ):
114 
115  """ Generates precision tracking config, it is a primary config function """
116 
117  acc = ComponentAccumulator()
118  log = logging.getLogger("trigInDetPrecisionTrackingCfg")
119  from TrigInDetConfig.utils import getFlagsForActiveConfig
120  flags = getFlagsForActiveConfig(inflags, signatureName, log)
121 
122  if in_view:
123 
124  verifier = CompFactory.AthViews.ViewDataVerifier( name = 'VDVInDetPrecision'+flags.Tracking.ActiveConfig.input_name,
125  DataObjects= {('xAOD::EventInfo', 'StoreGateSvc+EventInfo'),
126  ( 'TrigRoiDescriptorCollection' , f'StoreGateSvc+{rois}' ),
127  ( 'TagInfo', 'DetectorStore+ProcessingTags' ),
128  ( ('ActsTrk::TrackContainer' if "Acts" in flags.Tracking.ActiveConfig.trkTracks_FTF else 'TrackCollection'), flags.Tracking.ActiveConfig.trkTracks_FTF )} )
129 
130  acc.addEventAlgo(verifier)
131 
132  from TrigInDetConfig.InnerTrackingTrigSequence import InnerTrackingTrigSequence
133 
134  seq = InnerTrackingTrigSequence.create(flags,
135  flags.Tracking.ActiveConfig.input_name,
136  rois = flags.Tracking.ActiveConfig.roi,
137  inView = verifier.getName() if in_view else '')
138 
139  acc.merge(seq.sequenceAfterPattern(rois = rois))
140 
141  return acc
142 
143 
144 
145 
146 

◆ trigInDetVertexingCfg()

def python.TrigInDetConfig.trigInDetVertexingCfg (   flags,
  inputTracks,
  outputVtx 
)

Definition at line 147 of file TrigInDetConfig.py.

147 def trigInDetVertexingCfg(flags, inputTracks, outputVtx):
148 
149  acc = ComponentAccumulator()
150 
151  acc.addEventAlgo( CompFactory.AthViews.ViewDataVerifier(
152  name = "VtxVDV_" + flags.Tracking.ActiveConfig.input_name,
153  DataObjects = {
154  ( 'ActsGeometryContext' , 'StoreGateSvc+ActsAlignment' )
155  }
156  ))
157 
158  from InDetConfig.InDetPriVxFinderConfig import InDetTrigPriVxFinderCfg
159  acc.merge(InDetTrigPriVxFinderCfg(flags, inputTracks = inputTracks, outputVtx =outputVtx))
160 
161  return acc
162 
163 
164 
165 

Variable Documentation

◆ acc

python.TrigInDetConfig.acc

Definition at line 177 of file TrigInDetConfig.py.

◆ AtlasVersion

python.TrigInDetConfig.AtlasVersion

Definition at line 172 of file TrigInDetConfig.py.

◆ debugMode

python.TrigInDetConfig.debugMode

Definition at line 169 of file TrigInDetConfig.py.

◆ Files

python.TrigInDetConfig.Files

Definition at line 171 of file TrigInDetConfig.py.

◆ flags

python.TrigInDetConfig.flags

Definition at line 170 of file TrigInDetConfig.py.

◆ in_view

python.TrigInDetConfig.in_view

Definition at line 182 of file TrigInDetConfig.py.

◆ inputTracks

python.TrigInDetConfig.inputTracks

Definition at line 183 of file TrigInDetConfig.py.

◆ outputVtx

python.TrigInDetConfig.outputVtx

Definition at line 183 of file TrigInDetConfig.py.

◆ rois

python.TrigInDetConfig.rois

Definition at line 182 of file TrigInDetConfig.py.

◆ roisKey

python.TrigInDetConfig.roisKey

Definition at line 178 of file TrigInDetConfig.py.

◆ signatureName

python.TrigInDetConfig.signatureName

Definition at line 181 of file TrigInDetConfig.py.

◆ summariseProps

python.TrigInDetConfig.summariseProps

Definition at line 186 of file TrigInDetConfig.py.

◆ tracks_FTF

python.TrigInDetConfig.tracks_FTF

Definition at line 183 of file TrigInDetConfig.py.

◆ True

python.TrigInDetConfig.True

Definition at line 186 of file TrigInDetConfig.py.

◆ withDetails

python.TrigInDetConfig.withDetails

Definition at line 186 of file TrigInDetConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TrigInDetConfig.trigInDetLRTCfg
def trigInDetLRTCfg(flags, LRTInputCollection, roisKey, in_view, extra_view_inputs=tuple())
Definition: TrigInDetConfig.py:80
python.InDetPriVxFinderConfig.InDetTrigPriVxFinderCfg
ComponentAccumulator InDetTrigPriVxFinderCfg(flags, str inputTracks, str outputVtx, str name="InDetTrigPriVxFinder", **kwargs)
Definition: InDetPriVxFinderConfig.py:43
python.TrigInDetConfig.trigInDetPrecisionTrackingCfg
def trigInDetPrecisionTrackingCfg(inflags, rois, signatureName, in_view=True)
precision tracking
Definition: TrigInDetConfig.py:113
python.TrigInDetConfig.trigInDetFastTrackingCfg
def trigInDetFastTrackingCfg(inflags, roisKey="EMRoIs", signatureName='', patternMode='FTF', in_view=True)
Definition: TrigInDetConfig.py:54
python.utils.getFlagsForActiveConfig
AthConfigFlags getFlagsForActiveConfig(AthConfigFlags flags, str config_name, logging.Logger log)
Definition: Trigger/TrigTools/TrigInDetConfig/python/utils.py:9
CxxUtils::set
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
Definition: bitmask.h:232
python.TrigInDetConfig.ActsIDCCacheCreatorCfg
def ActsIDCCacheCreatorCfg(flags)
Definition: TrigInDetConfig.py:34
python.TrigInDetConfig.trigInDetVertexingCfg
def trigInDetVertexingCfg(flags, inputTracks, outputVtx)
Definition: TrigInDetConfig.py:147
python.TrigInDetConfig.InDetIDCCacheCreatorCfg
def InDetIDCCacheCreatorCfg(flags)
Definition: TrigInDetConfig.py:11