|
ATLAS Offline Software
|
|
def | TrackParticleCreatorToolCfg (flags, name="InDetxAODParticleCreatorTool", **kwargs) |
| InDet/ITk #####. More...
|
|
def | TrackParticleCreatorToolPIDCheckCfg (flags, name="InDetxAODParticleCreatorTool", **kwargs) |
|
def | TrackParticleCreatorToolNoPIDCfg (flags, name="InDetxAODParticleCreatorToolNoPID", **kwargs) |
|
def | InDetTrigParticleCreatorToolCfg (flags, name="InDetTrigParticleCreatorTool", **kwargs) |
|
def | InDetTrigParticleCreatorToolTRTPidCfg (flags, name="InDetTrigParticleCreatorToolTRTPid", **kwargs) |
|
def | InDetTrigParticleCreatorToolFTFCfg (flags, name="InDetTrigParticleCreatorToolFTF", **kwargs) |
|
def | ITkTrackParticleCreatorToolCfg (flags, name="ITkTrackParticleCreatorTool", **kwargs) |
|
def | GSFBuildInDetParticleCreatorToolCfg (flags, name="GSFBuildInDetParticleCreatorTool", isTrigger=False, **kwargs) |
|
def | MuonParticleCreatorToolCfg (flags, name="MuonParticleCreatorTool", **kwargs) |
| Muons #####. More...
|
|
def | MuonCombinedParticleCreatorCfg (flags, name="MuonCombinedParticleCreator", **kwargs) |
|
def | MuonCaloParticleCreatorCfg (flags, name="MuonCaloParticleCreator", **kwargs) |
|
◆ GSFBuildInDetParticleCreatorToolCfg()
def python.TrkParticleCreatorConfig.GSFBuildInDetParticleCreatorToolCfg |
( |
|
flags, |
|
|
|
name = "GSFBuildInDetParticleCreatorTool" , |
|
|
|
isTrigger = False , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 237 of file TrkParticleCreatorConfig.py.
238 name="GSFBuildInDetParticleCreatorTool",
243 if "TrackToVertex" not in kwargs:
244 from TrackToVertex.TrackToVertexConfig
import TrackToVertexCfg
245 kwargs.setdefault(
"TrackToVertex", result.popToolsAndMerge(
248 if "TrackSummaryTool" not in kwargs:
249 from TrkConfig.TrkTrackSummaryToolConfig
import GSFTrackSummaryToolCfg
250 TrackSummaryTool = result.popToolsAndMerge(
252 result.addPublicTool(TrackSummaryTool)
253 kwargs.setdefault(
"TrackSummaryTool", TrackSummaryTool)
255 if flags.GeoModel.Run < LHCPeriod.Run4
and "PixelToTPIDTool" not in kwargs:
256 from InDetConfig.PixelToTPIDToolConfig
import PixelToTPIDToolCfg
257 kwargs.setdefault(
"PixelToTPIDTool", result.popToolsAndMerge(
260 if flags.Detector.EnableTRT
and "TRT_ElectronPidTool" not in kwargs:
261 from InDetConfig.TRT_ElectronPidToolsConfig
import (
262 GSFBuildTRT_ElectronPidToolCfg)
263 kwargs.setdefault(
"TRT_ElectronPidTool", result.popToolsAndMerge(
266 if ((flags.Detector.EnablePixel
or flags.Detector.EnableITkPixel)
267 and "TestPixelLayerTool" not in kwargs):
268 from InDetConfig.InDetTestPixelLayerConfig
import (
269 InDetTestPixelLayerToolInnerCfg)
270 kwargs.setdefault(
"TestPixelLayerTool", result.popToolsAndMerge(
273 kwargs.setdefault(
"ComputeAdditionalInfo",
True)
274 kwargs.setdefault(
"KeepParameters",
True)
275 kwargs.setdefault(
"BadClusterID", 0)
276 kwargs.setdefault(
"IBLParameterSvc",
277 "IBLParameterSvc" if flags.Detector.GeometryID
else "")
279 result.setPrivateTools(
280 CompFactory.Trk.TrackParticleCreatorTool(name, **kwargs))
◆ InDetTrigParticleCreatorToolCfg()
def python.TrkParticleCreatorConfig.InDetTrigParticleCreatorToolCfg |
( |
|
flags, |
|
|
|
name = "InDetTrigParticleCreatorTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 110 of file TrkParticleCreatorConfig.py.
111 name="InDetTrigParticleCreatorTool",
113 kwargs.setdefault(
"TRT_ElectronPidTool",
None)
◆ InDetTrigParticleCreatorToolFTFCfg()
def python.TrkParticleCreatorConfig.InDetTrigParticleCreatorToolFTFCfg |
( |
|
flags, |
|
|
|
name = "InDetTrigParticleCreatorToolFTF" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 155 of file TrkParticleCreatorConfig.py.
156 name="InDetTrigParticleCreatorToolFTF",
160 if "TrackToVertex" not in kwargs:
161 from TrackToVertex.TrackToVertexConfig
import TrackToVertexCfg
162 kwargs.setdefault(
"TrackToVertex", result.popToolsAndMerge(
165 if "TrackSummaryTool" not in kwargs:
166 from TrkConfig.TrkTrackSummaryToolConfig
import (
167 InDetTrigFastTrackSummaryToolCfg)
168 TrackSummaryTool = result.popToolsAndMerge(
170 result.addPublicTool(TrackSummaryTool)
171 kwargs.setdefault(
"TrackSummaryTool", TrackSummaryTool)
176 kwargs.setdefault(
"TestPixelLayerTool",
"")
178 kwargs.setdefault(
"KeepParameters",
True)
179 kwargs.setdefault(
"ComputeAdditionalInfo",
True)
180 kwargs.setdefault(
"AssociationMapName",
"")
181 kwargs.setdefault(
"DoSharedSiHits", kwargs[
"AssociationMapName"] !=
"")
183 result.setPrivateTools(
184 CompFactory.Trk.TrackParticleCreatorTool(name, **kwargs))
◆ InDetTrigParticleCreatorToolTRTPidCfg()
def python.TrkParticleCreatorConfig.InDetTrigParticleCreatorToolTRTPidCfg |
( |
|
flags, |
|
|
|
name = "InDetTrigParticleCreatorToolTRTPid" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 117 of file TrkParticleCreatorConfig.py.
118 name="InDetTrigParticleCreatorToolTRTPid",
123 kwargs.setdefault(
"PixelToTPIDTool",
None)
125 if "TRT_ElectronPidTool" not in kwargs
and flags.Detector.EnableTRT:
126 from InDetConfig.TRT_ElectronPidToolsConfig
import (
127 TrigTRT_ElectronPidToolCfg)
128 kwargs.setdefault(
"TRT_ElectronPidTool", result.popToolsAndMerge(
131 if "TrackSummaryTool" not in kwargs:
132 from TrkConfig.TrkTrackSummaryToolConfig
import InDetTrigTrackSummaryToolCfg
133 TrackSummaryTool = result.popToolsAndMerge(
135 result.addPublicTool(TrackSummaryTool)
136 kwargs.setdefault(
"TrackSummaryTool", TrackSummaryTool)
138 if 'TestPixelLayerTool' not in kwargs
and flags.Detector.EnablePixel:
139 from InDetConfig.InDetTestPixelLayerConfig
import (
140 InDetTrigTestPixelLayerToolInnerCfg)
141 kwargs.setdefault(
"TestPixelLayerTool", result.popToolsAndMerge(
144 kwargs.setdefault(
"RunningTIDE_Ambi",
False)
146 kwargs.setdefault(
"BadClusterID", 3)
148 kwargs.setdefault(
"KeepParameters",
True)
149 kwargs.setdefault(
"PerigeeExpression",
"BeamLine")
◆ ITkTrackParticleCreatorToolCfg()
def python.TrkParticleCreatorConfig.ITkTrackParticleCreatorToolCfg |
( |
|
flags, |
|
|
|
name = "ITkTrackParticleCreatorTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 189 of file TrkParticleCreatorConfig.py.
190 name="ITkTrackParticleCreatorTool",
192 from BeamSpotConditions.BeamSpotConditionsConfig
import BeamSpotCondAlgCfg
196 if "TrackToVertex" not in kwargs:
197 from TrackToVertex.TrackToVertexConfig
import TrackToVertexCfg
198 kwargs.setdefault(
"TrackToVertex", result.popToolsAndMerge(
201 if "TrackSummaryTool" not in kwargs:
202 from TrkConfig.TrkTrackSummaryToolConfig
import ITkTrackSummaryToolCfg
203 TrackSummaryTool = result.popToolsAndMerge(
205 result.addPublicTool(TrackSummaryTool)
206 kwargs.setdefault(
"TrackSummaryTool", TrackSummaryTool)
208 if "TestPixelLayerTool" not in kwargs
and flags.Detector.EnableITkPixel:
209 from InDetConfig.InDetTestPixelLayerConfig
import (
210 ITkTestPixelLayerToolInnerCfg)
211 kwargs.setdefault(
"TestPixelLayerTool", result.popToolsAndMerge(
214 kwargs.setdefault(
"ComputeAdditionalInfo",
True)
215 kwargs.setdefault(
"AssociationMapName",
"")
216 kwargs.setdefault(
"DoSharedSiHits",
217 flags.Tracking.doSharedHits
and
218 kwargs[
"AssociationMapName"] !=
"")
219 kwargs.setdefault(
"RunningTIDE_Ambi",
True)
222 kwargs.setdefault(
"BadClusterID", 3)
224 kwargs.setdefault(
"KeepParameters",
True)
225 kwargs.setdefault(
"KeepFirstParameters",
False)
226 kwargs.setdefault(
"PerigeeExpression", flags.Tracking.perigeeExpression)
228 kwargs.setdefault(
"IBLParameterSvc",
"")
229 kwargs.setdefault(
"DoITk",
True)
231 result.setPrivateTools(
232 CompFactory.Trk.TrackParticleCreatorTool(name, **kwargs))
◆ MuonCaloParticleCreatorCfg()
def python.TrkParticleCreatorConfig.MuonCaloParticleCreatorCfg |
( |
|
flags, |
|
|
|
name = "MuonCaloParticleCreator" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 376 of file TrkParticleCreatorConfig.py.
379 if "TrackToVertex" not in kwargs:
380 from TrackToVertex.TrackToVertexConfig
import TrackToVertexCfg
381 kwargs.setdefault(
"TrackToVertex", result.popToolsAndMerge(
384 if "TrackSummaryTool" not in kwargs:
385 if flags.Muon.SAMuonTrigger:
386 from TrkConfig.TrkTrackSummaryToolConfig
import (
387 MuonTrackSummaryToolCfg)
388 kwargs.setdefault(
"TrackSummaryTool", result.popToolsAndMerge(
391 from TrkConfig.TrkTrackSummaryToolConfig
import (
392 MuonCombinedTrackSummaryToolCfg)
393 kwargs.setdefault(
"TrackSummaryTool", result.popToolsAndMerge(
396 kwargs.setdefault(
"KeepAllPerigee",
True)
397 kwargs.setdefault(
"PerigeeExpression",
"Origin")
398 kwargs.setdefault(
"IBLParameterSvc",
399 "IBLParameterSvc" if flags.Detector.GeometryID
else "")
401 kwargs.setdefault(
"TrackingVolumesSvc",
"TrackingVolumesSvc")
403 result.setPrivateTools(
404 CompFactory.Trk.TrackParticleCreatorTool(name, **kwargs))
◆ MuonCombinedParticleCreatorCfg()
def python.TrkParticleCreatorConfig.MuonCombinedParticleCreatorCfg |
( |
|
flags, |
|
|
|
name = "MuonCombinedParticleCreator" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 315 of file TrkParticleCreatorConfig.py.
316 name="MuonCombinedParticleCreator",
320 if "TrackSummaryTool" not in kwargs:
321 if flags.Muon.SAMuonTrigger:
322 from TrkConfig.TrkTrackSummaryToolConfig
import (
323 MuonTrackSummaryToolCfg)
324 kwargs.setdefault(
"TrackSummaryTool", result.popToolsAndMerge(
327 from TrkConfig.TrkTrackSummaryToolConfig
import (
328 MuonCombinedTrackSummaryToolCfg)
329 kwargs.setdefault(
"TrackSummaryTool", result.popToolsAndMerge(
332 if "TrackToVertex" not in kwargs:
333 from TrackToVertex.TrackToVertexConfig
import TrackToVertexCfg
334 kwargs.setdefault(
'TrackToVertex', result.popToolsAndMerge(
337 if "MuonSummaryTool" not in kwargs:
338 from MuonConfig.MuonRecToolsConfig
import MuonHitSummaryToolCfg
339 kwargs.setdefault(
"MuonSummaryTool", result.popToolsAndMerge(
342 if not flags.Muon.MuonTrigger:
344 if 'PixelToTPIDTool' not in kwargs
and flags.Detector.EnablePixel:
345 from InDetConfig.PixelToTPIDToolConfig
import PixelToTPIDToolCfg
346 kwargs.setdefault(
"PixelToTPIDTool", result.popToolsAndMerge(
349 if (
'TestPixelLayerTool' not in kwargs
and
350 (flags.Detector.EnablePixel
or flags.Detector.EnableITkPixel)):
351 from InDetConfig.InDetTestPixelLayerConfig
import (
352 InDetTestPixelLayerToolInnerCfg)
353 kwargs.setdefault(
"TestPixelLayerTool", result.popToolsAndMerge(
356 if "TRT_ElectronPidTool" not in kwargs
and flags.Detector.EnableTRT:
357 from InDetConfig.TRT_ElectronPidToolsConfig
import (
358 TRT_ElectronPidToolCfg)
359 kwargs.setdefault(
"TRT_ElectronPidTool", result.popToolsAndMerge(
362 kwargs.setdefault(
"ComputeAdditionalInfo",
True)
364 kwargs.setdefault(
"KeepAllPerigee",
True)
365 if flags.Beam.Type
is BeamType.Cosmics:
366 kwargs.setdefault(
"PerigeeExpression",
"Origin")
367 kwargs.setdefault(
"IBLParameterSvc",
368 "IBLParameterSvc" if flags.Detector.GeometryID
else "")
370 kwargs.setdefault(
"TrackingVolumesSvc",
"TrackingVolumesSvc")
371 result.setPrivateTools(
372 CompFactory.Trk.TrackParticleCreatorTool(name, **kwargs))
◆ MuonParticleCreatorToolCfg()
def python.TrkParticleCreatorConfig.MuonParticleCreatorToolCfg |
( |
|
flags, |
|
|
|
name = "MuonParticleCreatorTool" , |
|
|
** |
kwargs |
|
) |
| |
Muons #####.
Definition at line 287 of file TrkParticleCreatorConfig.py.
290 if "TrackToVertex" not in kwargs:
291 from TrackToVertex.TrackToVertexConfig
import TrackToVertexCfg
292 kwargs.setdefault(
"TrackToVertex", result.popToolsAndMerge(
295 if "TrackSummaryTool" not in kwargs:
296 from TrkConfig.TrkTrackSummaryToolConfig
import MuonTrackSummaryToolCfg
297 kwargs.setdefault(
"TrackSummaryTool", result.popToolsAndMerge(
300 if "MuonSummaryTool" not in kwargs:
301 from MuonConfig.MuonRecToolsConfig
import MuonHitSummaryToolCfg
302 kwargs.setdefault(
"MuonSummaryTool", result.popToolsAndMerge(
305 kwargs.setdefault(
"KeepAllPerigee",
True)
306 kwargs.setdefault(
"PerigeeExpression",
"Origin")
307 kwargs.setdefault(
"IBLParameterSvc",
308 "IBLParameterSvc" if flags.Detector.GeometryID
else "")
310 result.setPrivateTools(
311 CompFactory.Trk.TrackParticleCreatorTool(name, **kwargs))
◆ TrackParticleCreatorToolCfg()
def python.TrkParticleCreatorConfig.TrackParticleCreatorToolCfg |
( |
|
flags, |
|
|
|
name = "InDetxAODParticleCreatorTool" , |
|
|
** |
kwargs |
|
) |
| |
InDet/ITk #####.
Definition at line 14 of file TrkParticleCreatorConfig.py.
15 name="InDetxAODParticleCreatorTool",
18 if flags.Detector.GeometryITk:
19 name = name.replace(
"InDet",
"ITk")
23 from BeamSpotConditions.BeamSpotConditionsConfig
import BeamSpotCondAlgCfg
26 if "TrackToVertex" not in kwargs:
27 from TrackToVertex.TrackToVertexConfig
import TrackToVertexCfg
28 kwargs.setdefault(
"TrackToVertex", result.popToolsAndMerge(
31 if "TrackSummaryTool" not in kwargs:
32 from TrkConfig.TrkTrackSummaryToolConfig
import InDetTrackSummaryToolCfg
33 TrackSummaryTool = result.popToolsAndMerge(
35 result.addPublicTool(TrackSummaryTool)
36 kwargs.setdefault(
"TrackSummaryTool", TrackSummaryTool)
38 if "TRT_ElectronPidTool" not in kwargs
and flags.Detector.EnableTRT:
39 from InDetConfig.TRT_ElectronPidToolsConfig
import (
40 TRT_ElectronPidToolCfg)
41 kwargs.setdefault(
"TRT_ElectronPidTool", result.popToolsAndMerge(
44 if 'PixelToTPIDTool' not in kwargs
and flags.Detector.EnablePixel:
45 from InDetConfig.PixelToTPIDToolConfig
import PixelToTPIDToolCfg
46 kwargs.setdefault(
"PixelToTPIDTool", result.popToolsAndMerge(
49 if 'TestPixelLayerTool' not in kwargs
and flags.Detector.EnablePixel:
50 from InDetConfig.InDetTestPixelLayerConfig
import (
51 InDetTestPixelLayerToolInnerCfg)
52 kwargs.setdefault(
"TestPixelLayerTool", result.popToolsAndMerge(
55 kwargs.setdefault(
"ComputeAdditionalInfo",
True)
56 kwargs.setdefault(
"AssociationMapName",
"")
57 kwargs.setdefault(
"DoSharedSiHits", flags.Tracking.doSharedHits
58 and kwargs[
"AssociationMapName"] !=
"")
59 kwargs.setdefault(
"DoSharedTRTHits", flags.Tracking.doSharedHits
60 and flags.Detector.EnableTRT
61 and kwargs[
"AssociationMapName"] !=
"")
62 kwargs.setdefault(
"RunningTIDE_Ambi", flags.Tracking.doTIDE_Ambi)
65 kwargs.setdefault(
"BadClusterID", 3)
67 kwargs.setdefault(
"KeepParameters",
True)
68 kwargs.setdefault(
"KeepFirstParameters",
False)
69 kwargs.setdefault(
"PerigeeExpression", flags.Tracking.perigeeExpression)
71 result.setPrivateTools(
72 CompFactory.Trk.TrackParticleCreatorTool(name, **kwargs))
◆ TrackParticleCreatorToolNoPIDCfg()
def python.TrkParticleCreatorConfig.TrackParticleCreatorToolNoPIDCfg |
( |
|
flags, |
|
|
|
name = "InDetxAODParticleCreatorToolNoPID" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 101 of file TrkParticleCreatorConfig.py.
102 name="InDetxAODParticleCreatorToolNoPID",
104 kwargs.setdefault(
"TRT_ElectronPidTool",
None)
105 kwargs.setdefault(
"PixelToTPIDTool",
None)
106 kwargs.setdefault(
"TestPixelLayerTool",
None)
◆ TrackParticleCreatorToolPIDCheckCfg()
def python.TrkParticleCreatorConfig.TrackParticleCreatorToolPIDCheckCfg |
( |
|
flags, |
|
|
|
name = "InDetxAODParticleCreatorTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 76 of file TrkParticleCreatorConfig.py.
77 name="InDetxAODParticleCreatorTool",
81 if not flags.Tracking.ActiveConfig.RunTRTPID:
82 kwargs.setdefault(
"TRT_ElectronPidTool",
None)
83 if not flags.Tracking.ActiveConfig.RunPixelPID:
84 kwargs.setdefault(
"PixelToTPIDTool",
None)
85 kwargs.setdefault(
"TestPixelLayerTool",
None)
88 if name ==
"InDetxAODParticleCreatorTool":
89 pixel_pid = flags.Tracking.ActiveConfig.RunPixelPID
90 trt_pid = flags.Tracking.ActiveConfig.RunTRTPID
91 if not trt_pid
and not pixel_pid:
def GSFBuildInDetParticleCreatorToolCfg(flags, name="GSFBuildInDetParticleCreatorTool", isTrigger=False, **kwargs)
def BeamSpotCondAlgCfg(flags, name="BeamSpotCondAlg", **kwargs)
def TrackParticleCreatorToolCfg(flags, name="InDetxAODParticleCreatorTool", **kwargs)
InDet/ITk #####.
def ITkTestPixelLayerToolInnerCfg(flags, name="ITkTestPixelLayerInnerTool", **kwargs)
def ITkTrackParticleCreatorToolCfg(flags, name="ITkTrackParticleCreatorTool", **kwargs)
def MuonParticleCreatorToolCfg(flags, name="MuonParticleCreatorTool", **kwargs)
Muons #####.
def InDetTrigParticleCreatorToolTRTPidCfg(flags, name="InDetTrigParticleCreatorToolTRTPid", **kwargs)
def InDetTrigParticleCreatorToolFTFCfg(flags, name="InDetTrigParticleCreatorToolFTF", **kwargs)
def MuonCaloParticleCreatorCfg(flags, name="MuonCaloParticleCreator", **kwargs)
def InDetTrigParticleCreatorToolCfg(flags, name="InDetTrigParticleCreatorTool", **kwargs)
def InDetTestPixelLayerToolInnerCfg(flags, name="InDetTestPixelLayerToolInner", **kwargs)
def MuonCombinedParticleCreatorCfg(flags, name="MuonCombinedParticleCreator", **kwargs)
def TrackParticleCreatorToolNoPIDCfg(flags, name="InDetxAODParticleCreatorToolNoPID", **kwargs)
def TrackToVertexCfg(flags, name="AtlasTrackToVertexTool", **kwargs)
def TrackParticleCreatorToolPIDCheckCfg(flags, name="InDetxAODParticleCreatorTool", **kwargs)
def InDetTrigTestPixelLayerToolInnerCfg(flags, name="InDetTrigTestPixelLayerToolInner", **kwargs)