ATLAS Offline Software
Loading...
Searching...
No Matches
ActsProtoTrackCreationAndFitConfig Namespace Reference

Functions

ComponentAccumulator ActsTruthGuidedProtoTrackCreatorToolCfg (flags, str name="ActsTruthGuidedProtoTrackCreatorTool", **kwargs)
ComponentAccumulator ActsProtoTackCreationAndFitAlgCfg (flags, str name="ActsProtoTrackCreationAndFitAlg", **kwargs)
ComponentAccumulator ActsProtoTrackReportingAlgCfg (flags, str name="ActsProtoTrackReportingAlg", **kwargs)
 SetupHistSvc (flags, streamName, dataFile)

Variables

str ACTSProtoTrackChainTrackKey = "ACTSProtoTrackChainTestTracks"
str FinalProtoTrackChainTracksKey = "TrkProtoTrackChainTestTracks"
str FinalProtoTrackChainxAODTracksKey = "xAODProtoTrackChainTestTracks"
 flags = initConfigFlags()
 EnableCalo
 EnableHGTD
 doRotCorrection
 doAthenaToActsSpacePoint
 doAthenaToActsCluster
 plotsDefFileList
 plotsCommonValuesFile
 OutputFileName
 doWriteAOD_IDTPM
 trkAnaCfgFile
 TrigTrkKey
 override respective configurations from trkAnaCfgFile
 doExample
 Files
 GlobalTag
 DumpEvtStore
 top_acc = MainServicesCfg(flags)
str acts_tracks = "ActsTracks" if not flags.Acts.doAmbiguityResolution else "ActsResolvedTracks"
 withDetails
 True
 summariseProps
 OutputLevel
 sc = top_acc.run(flags.Exec.MaxEvents)

Function Documentation

◆ ActsProtoTackCreationAndFitAlgCfg()

ComponentAccumulator ActsProtoTackCreationAndFitAlgCfg ( flags,
str name = "ActsProtoTrackCreationAndFitAlg",
** kwargs )

Definition at line 14 of file ActsProtoTrackCreationAndFitConfig.py.

16 **kwargs) -> ComponentAccumulator:
17 acc = ComponentAccumulator()
18
19 from PixelGeoModelXml.ITkPixelGeoModelConfig import ITkPixelReadoutGeometryCfg
20 acc.merge(ITkPixelReadoutGeometryCfg(flags))
21
22 from StripGeoModelXml.ITkStripGeoModelConfig import ITkStripReadoutGeometryCfg
23 acc.merge(ITkStripReadoutGeometryCfg(flags))
24
25 kwargs.setdefault('PixelClusterContainer', 'ITkPixelClusters')
26 kwargs.setdefault('StripClusterContainer', 'ITkStripClusters')
27 kwargs.setdefault('ACTSTracksLocation', 'EFTestTracks')
28
29 if 'ActsFitter' not in kwargs:
30 from ActsConfig.ActsTrackFittingConfig import ActsFitterCfg
31 kwargs.setdefault("ActsFitter", acc.popToolsAndMerge(ActsFitterCfg(flags,
32 ReverseFilteringPt=0,
33 OutlierChi2Cut=30)))
34
35 if 'PatternBuilder' not in kwargs:
36 kwargs.setdefault('PatternBuilder', acc.popToolsAndMerge(ActsTruthGuidedProtoTrackCreatorToolCfg(flags)))
37
38 acc.addEventAlgo(CompFactory.ActsTrk.ProtoTrackCreationAndFitAlg(name,**kwargs),
39 primary=True)
40 return acc
41

◆ ActsProtoTrackReportingAlgCfg()

ComponentAccumulator ActsProtoTrackReportingAlgCfg ( flags,
str name = "ActsProtoTrackReportingAlg",
** kwargs )

Definition at line 42 of file ActsProtoTrackCreationAndFitConfig.py.

44 **kwargs) -> ComponentAccumulator:
45 acc = ComponentAccumulator()
46 kwargs.setdefault("ProtoTracksLocation", "ProtoTracksCollection")
47 kwargs.setdefault("copyParametersFromFit", True)
48 acc.addEventAlgo(CompFactory.ActsTrk.ProtoTrackReportingAlg(name,**kwargs),
49 primary=True)
50 return acc
51

◆ ActsTruthGuidedProtoTrackCreatorToolCfg()

ComponentAccumulator ActsTruthGuidedProtoTrackCreatorToolCfg ( flags,
str name = "ActsTruthGuidedProtoTrackCreatorTool",
** kwargs )

Definition at line 6 of file ActsProtoTrackCreationAndFitConfig.py.

8 **kwargs) -> ComponentAccumulator:
9 acc = ComponentAccumulator()
10 kwargs.setdefault('PRD_MultiTruthCollections', ["PRD_MultiTruthITkPixel","PRD_MultiTruthITkStrip"])
11 acc.setPrivateTools(CompFactory.ActsTrk.TruthGuidedProtoTrackCreatorTool(name, **kwargs))
12 return acc
13

◆ SetupHistSvc()

SetupHistSvc ( flags,
streamName,
dataFile )

Definition at line 54 of file ActsProtoTrackCreationAndFitConfig.py.

54 def SetupHistSvc(flags, streamName, dataFile):
55 acc = ComponentAccumulator()
56 histSvc = CompFactory.THistSvc(Output= ["{streamName} DATAFILE='{data_file}', OPT='RECREATE'".format(streamName=streamName, data_file = dataFile )])
57 acc.addService(histSvc, primary=True)
58 return acc
59

Variable Documentation

◆ acts_tracks

str ActsProtoTrackCreationAndFitConfig.acts_tracks = "ActsTracks" if not flags.Acts.doAmbiguityResolution else "ActsResolvedTracks"

Definition at line 136 of file ActsProtoTrackCreationAndFitConfig.py.

◆ ACTSProtoTrackChainTrackKey

str ActsProtoTrackCreationAndFitConfig.ACTSProtoTrackChainTrackKey = "ACTSProtoTrackChainTestTracks"

Definition at line 61 of file ActsProtoTrackCreationAndFitConfig.py.

◆ doAthenaToActsCluster

ActsProtoTrackCreationAndFitConfig.doAthenaToActsCluster

Definition at line 82 of file ActsProtoTrackCreationAndFitConfig.py.

◆ doAthenaToActsSpacePoint

ActsProtoTrackCreationAndFitConfig.doAthenaToActsSpacePoint

Definition at line 81 of file ActsProtoTrackCreationAndFitConfig.py.

◆ doExample

ActsProtoTrackCreationAndFitConfig.doExample

Definition at line 98 of file ActsProtoTrackCreationAndFitConfig.py.

◆ doRotCorrection

ActsProtoTrackCreationAndFitConfig.doRotCorrection

Definition at line 75 of file ActsProtoTrackCreationAndFitConfig.py.

◆ doWriteAOD_IDTPM

ActsProtoTrackCreationAndFitConfig.doWriteAOD_IDTPM

Definition at line 91 of file ActsProtoTrackCreationAndFitConfig.py.

◆ DumpEvtStore

ActsProtoTrackCreationAndFitConfig.DumpEvtStore

Definition at line 107 of file ActsProtoTrackCreationAndFitConfig.py.

◆ EnableCalo

ActsProtoTrackCreationAndFitConfig.EnableCalo

Definition at line 72 of file ActsProtoTrackCreationAndFitConfig.py.

◆ EnableHGTD

ActsProtoTrackCreationAndFitConfig.EnableHGTD

Definition at line 73 of file ActsProtoTrackCreationAndFitConfig.py.

◆ Files

ActsProtoTrackCreationAndFitConfig.Files

Definition at line 102 of file ActsProtoTrackCreationAndFitConfig.py.

◆ FinalProtoTrackChainTracksKey

str ActsProtoTrackCreationAndFitConfig.FinalProtoTrackChainTracksKey = "TrkProtoTrackChainTestTracks"

Definition at line 62 of file ActsProtoTrackCreationAndFitConfig.py.

◆ FinalProtoTrackChainxAODTracksKey

str ActsProtoTrackCreationAndFitConfig.FinalProtoTrackChainxAODTracksKey = "xAODProtoTrackChainTestTracks"

Definition at line 63 of file ActsProtoTrackCreationAndFitConfig.py.

◆ flags

ActsProtoTrackCreationAndFitConfig.flags = initConfigFlags()

Definition at line 66 of file ActsProtoTrackCreationAndFitConfig.py.

◆ GlobalTag

ActsProtoTrackCreationAndFitConfig.GlobalTag

Definition at line 105 of file ActsProtoTrackCreationAndFitConfig.py.

◆ OutputFileName

ActsProtoTrackCreationAndFitConfig.OutputFileName

Definition at line 90 of file ActsProtoTrackCreationAndFitConfig.py.

◆ OutputLevel

ActsProtoTrackCreationAndFitConfig.OutputLevel

Definition at line 175 of file ActsProtoTrackCreationAndFitConfig.py.

◆ plotsCommonValuesFile

ActsProtoTrackCreationAndFitConfig.plotsCommonValuesFile

Definition at line 89 of file ActsProtoTrackCreationAndFitConfig.py.

◆ plotsDefFileList

ActsProtoTrackCreationAndFitConfig.plotsDefFileList

Definition at line 88 of file ActsProtoTrackCreationAndFitConfig.py.

◆ sc

ActsProtoTrackCreationAndFitConfig.sc = top_acc.run(flags.Exec.MaxEvents)

Definition at line 178 of file ActsProtoTrackCreationAndFitConfig.py.

◆ summariseProps

ActsProtoTrackCreationAndFitConfig.summariseProps

Definition at line 170 of file ActsProtoTrackCreationAndFitConfig.py.

◆ top_acc

ActsProtoTrackCreationAndFitConfig.top_acc = MainServicesCfg(flags)

Definition at line 112 of file ActsProtoTrackCreationAndFitConfig.py.

◆ TrigTrkKey

ActsProtoTrackCreationAndFitConfig.TrigTrkKey

override respective configurations from trkAnaCfgFile

Definition at line 95 of file ActsProtoTrackCreationAndFitConfig.py.

◆ trkAnaCfgFile

ActsProtoTrackCreationAndFitConfig.trkAnaCfgFile

Definition at line 92 of file ActsProtoTrackCreationAndFitConfig.py.

◆ True

ActsProtoTrackCreationAndFitConfig.True

Definition at line 170 of file ActsProtoTrackCreationAndFitConfig.py.

◆ withDetails

ActsProtoTrackCreationAndFitConfig.withDetails

Definition at line 170 of file ActsProtoTrackCreationAndFitConfig.py.