|
ATLAS Offline Software
|
◆ ActsToTrkConverterToolCfg()
ComponentAccumulator ActsEventCnvConfig.ActsToTrkConverterToolCfg |
( |
|
flags, |
|
|
str |
name = "ActsToTrkConverterTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 6 of file ActsEventCnvConfig.py.
7 name: str =
"ActsToTrkConverterTool",
8 **kwargs) -> ComponentAccumulator:
12 if flags.Detector.GeometryITk
and 'TrackingGeometryTool' not in kwargs:
13 from ActsConfig.ActsGeometryConfig
import ActsTrackingGeometryToolCfg
17 kwargs.setdefault(
"TrackingGeometryTool",
"")
19 if flags.Muon.usePhaseIIGeoSetup:
20 kwargs.setdefault(
"ExtractMuonSurfaces",
True)
22 acc.setPrivateTools(CompFactory.ActsTrk.ActsToTrkConverterTool(name, **kwargs))
◆ ActsToTrkConvertorAlgCfg()
ComponentAccumulator ActsEventCnvConfig.ActsToTrkConvertorAlgCfg |
( |
|
flags, |
|
|
str |
name = "ActsToTrkConvertorAlg" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 37 of file ActsEventCnvConfig.py.
38 name: str =
"ActsToTrkConvertorAlg",
39 **kwargs) -> ComponentAccumulator:
44 kwargs.setdefault(
'ACTSTracksLocation',
'ActsTracks' if not flags.Acts.doAmbiguityResolution
else 'ActsResolvedTracks')
46 if 'TrackingGeometryTool' not in kwargs:
47 from ActsConfig.ActsGeometryConfig
import ActsTrackingGeometryToolCfg
50 if 'ATLASConverterTool' not in kwargs:
51 from ActsConfig.ActsEventCnvConfig
import ActsToTrkConverterToolCfg
54 if 'BoundaryCheckTool' not in kwargs:
55 if flags.Detector.GeometryITk:
56 from InDetConfig.InDetBoundaryCheckToolConfig
import ITkBoundaryCheckToolCfg
59 from InDetConfig.InDetBoundaryCheckToolConfig
import InDetBoundaryCheckToolCfg
62 if 'SummaryTool' not in kwargs:
63 from TrkConfig.TrkTrackSummaryToolConfig
import InDetTrackSummaryToolCfg
66 if flags.Acts.doRotCorrection
and 'RotCreatorTool' not in kwargs:
67 if flags.Detector.GeometryITk:
68 from TrkConfig.TrkRIO_OnTrackCreatorConfig
import ITkRotCreatorCfg
69 kwargs.setdefault(
"RotCreatorTool", acc.popToolsAndMerge(
ITkRotCreatorCfg(flags, name=
"ActsRotCreatorTool")))
71 from TrkConfig.TrkRIO_OnTrackCreatorConfig
import InDetRotCreatorCfg
72 kwargs.setdefault(
"RotCreatorTool", acc.popToolsAndMerge(
InDetRotCreatorCfg(flags, name=
"ActsRotCreatorTool")))
74 acc.addEventAlgo(CompFactory.ActsTrk.ActsToTrkConvertorAlg(name, **kwargs))
◆ RunTrackConversion()
def ActsEventCnvConfig.RunTrackConversion |
( |
|
flags, |
|
|
|
track_collections = [] , |
|
|
|
outputfile = 'dump.json' |
|
) |
| |
Definition at line 77 of file ActsEventCnvConfig.py.
78 from TrkConfig.TrackCollectionReadConfig
import TrackCollectionReadCfg
79 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
80 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
86 for collection
in track_collections:
90 from TrkEventCnvTools.TrkEventCnvToolsConfig
import TrkEventCnvSuperToolCfg
94 from MuonConfig.MuonGeometryConfig
import MuonGeoModelCfg
99 flags, OutputLevel=1, TrackCollectionKeys=track_collections)
103 from DumpEventDataToJSON.DumpEventDataToJSONConfig
import DumpEventDataToJSONAlgCfg
105 flags, doExtrap=
False, OutputLevel=1,
106 TrackCollectionKeys=track_collections,
107 CscPrepRawDataKey=
"",
109 sTgcPrepRawDataKey=
"",
110 MdtPrepRawDataKey=
"",
111 RpcPrepRawDataKey=
"",
112 TgcPrepRawDataKey=
"",
113 PixelPrepRawDataKey=
"",
114 SctPrepRawDataKey=
"",
115 TrtPrepRawDataKey=
"",
116 CaloCellContainerKey=[
""],
117 CaloClusterContainerKeys=[
""],
118 MuonContainerKeys=[
""],
119 JetContainerKeys=[
""],
120 TrackParticleContainerKeys=[
""],
121 OutputLocation=outputfile,
124 cfg.printConfig(withDetails=
True, summariseProps=
True)
127 if not sc.isSuccess():
129 sys.exit(
"Execution failed")
◆ TrkToActsConvertorAlgCfg()
ComponentAccumulator ActsEventCnvConfig.TrkToActsConvertorAlgCfg |
( |
|
flags, |
|
|
str |
name = "" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 26 of file ActsEventCnvConfig.py.
28 **kwargs) -> ComponentAccumulator:
31 if 'ConvertorTool' not in kwargs:
34 acc.addEventAlgo(CompFactory.ActsTrk.TrkToActsConvertorAlg(name, **kwargs))
◆ args
◆ CheckDependencies
ActsEventCnvConfig.CheckDependencies |
◆ Files
◆ flags
◆ GlobalTag
ActsEventCnvConfig.GlobalTag |
◆ keep_beampipe
ActsEventCnvConfig.keep_beampipe |
◆ None
◆ ShowDataDeps
ActsEventCnvConfig.ShowDataDeps |
◆ ShowDataFlow
ActsEventCnvConfig.ShowDataFlow |
◆ toggle_geometry
ActsEventCnvConfig.toggle_geometry |
◆ True
◆ use_metadata
ActsEventCnvConfig.use_metadata |
def ITkRotCreatorCfg(flags, name='ITkRotCreator', **kwargs)
def RunTrackConversion(flags, track_collections=[], outputfile='dump.json')
def InDetRotCreatorCfg(flags, name='InDetRotCreator', **kwargs)
ComponentAccumulator ActsToTrkConverterToolCfg(flags, str name="ActsToTrkConverterTool", **kwargs)
ComponentAccumulator TrkToActsConvertorAlgCfg(flags, str name="", **kwargs)
def MainServicesCfg(flags, LoopMgr='AthenaEventLoopMgr')
ComponentAccumulator ActsToTrkConvertorAlgCfg(flags, str name="ActsToTrkConvertorAlg", **kwargs)
def DumpEventDataToJSONAlgCfg(flags, doExtrap=False, doACTSEDM=True, **kwargs)
ComponentAccumulator ActsTrackingGeometryToolCfg(flags, str name="ActsTrackingGeometryTool")
def MuonGeoModelCfg(flags)
def TrackCollectionReadCfg(flags, key)