ATLAS Offline Software
Functions | Variables
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)
 
def SetupHistSvc (flags, streamName, dataFile)
 

Variables

 ACTSProtoTrackChainTrackKey
 
 FinalProtoTrackChainTracksKey
 
 FinalProtoTrackChainxAODTracksKey
 
 flags
 
 EnableCalo
 
 doAthenaToActsSpacePoint
 
 doAthenaToActsCluster
 
 doRotCorrection
 
 plotsDefFileList
 
 plotsCommonValuesFile
 
 OutputFileName
 
 doWriteAOD_IDTPM
 
 trkAnaCfgFile
 
 TrigTrkKey
 override respective configurations from trkAnaCfgFile More...
 
 doExample
 
 Files
 
 DumpEvtStore
 
 top_acc
 
 streamName
 
 dataFile
 
 ACTSTracksLocation
 
 acts_tracks
 
 name
 
 AssociationMapOut
 
 TrackToTruthAssociationMap
 
 prefix
 
 TrackParticlesOutKey
 
 TrackToTruthAssociationMaps
 
 TrackParticleContainerName
 
 withDetails
 
 True
 
 summariseProps
 
 OutputLevel
 
 sc
 

Function Documentation

◆ ActsProtoTackCreationAndFitAlgCfg()

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

Definition at line 14 of file ActsProtoTrackCreationAndFitConfig.py.

15  name: str = "ActsProtoTrackCreationAndFitAlg",
16  **kwargs) -> ComponentAccumulator:
17  acc = ComponentAccumulator()
18 
19  from ActsConfig.ActsGeometryConfig import ActsDetectorElementToActsGeometryIdMappingAlgCfg
21  kwargs.setdefault('DetectorElementToActsGeometryIdMapKey', 'DetectorElementToActsGeometryIdMap')
22 
23  from PixelGeoModelXml.ITkPixelGeoModelConfig import ITkPixelReadoutGeometryCfg
24  acc.merge(ITkPixelReadoutGeometryCfg(flags))
25 
26  from StripGeoModelXml.ITkStripGeoModelConfig import ITkStripReadoutGeometryCfg
27  acc.merge(ITkStripReadoutGeometryCfg(flags))
28 
29  kwargs.setdefault('PixelClusterContainer', 'ITkPixelClusters')
30  kwargs.setdefault('StripClusterContainer', 'ITkStripClusters')
31  kwargs.setdefault('ACTSTracksLocation', 'EFTestTracks')
32 
33  if "TrackingGeometryTool" not in kwargs:
34  from ActsConfig.ActsGeometryConfig import ActsTrackingGeometryToolCfg
35  kwargs.setdefault(
36  "TrackingGeometryTool",
37  acc.popToolsAndMerge(ActsTrackingGeometryToolCfg(flags)),
38  ) # PrivateToolHandle
39 
40  if 'ExtrapolationTool' not in kwargs:
41  from ActsConfig.ActsGeometryConfig import ActsExtrapolationToolCfg
42  kwargs.setdefault(
43  "ExtrapolationTool",
44  acc.popToolsAndMerge(ActsExtrapolationToolCfg(flags, MaxSteps=10000)),
45  ) # PrivateToolHandle
46 
47  if 'ActsFitter' not in kwargs:
48  from ActsConfig.ActsTrackFittingConfig import ActsFitterCfg
49  kwargs.setdefault("ActsFitter", acc.popToolsAndMerge(ActsFitterCfg(flags,
50  ReverseFilteringPt=0,
51  OutlierChi2Cut=30)))
52 
53  if 'PatternBuilder' not in kwargs:
54  kwargs.setdefault('PatternBuilder', acc.popToolsAndMerge(ActsTruthGuidedProtoTrackCreatorToolCfg(flags)))
55 
56  acc.addEventAlgo(CompFactory.ActsTrk.ProtoTrackCreationAndFitAlg(name,**kwargs),
57  primary=True)
58  return acc
59 

◆ ActsProtoTrackReportingAlgCfg()

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

Definition at line 60 of file ActsProtoTrackCreationAndFitConfig.py.

61  name: str = "ActsProtoTrackReportingAlg",
62  **kwargs) -> ComponentAccumulator:
63  acc = ComponentAccumulator()
64  kwargs.setdefault("ProtoTracksLocation", "ProtoTracksCollection")
65  kwargs.setdefault("copyParametersFromFit", True)
66  acc.addEventAlgo(CompFactory.ActsTrk.ProtoTrackReportingAlg(name,**kwargs),
67  primary=True)
68  return acc
69 

◆ ActsTruthGuidedProtoTrackCreatorToolCfg()

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

Definition at line 6 of file ActsProtoTrackCreationAndFitConfig.py.

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

◆ SetupHistSvc()

def ActsProtoTrackCreationAndFitConfig.SetupHistSvc (   flags,
  streamName,
  dataFile 
)

Definition at line 73 of file ActsProtoTrackCreationAndFitConfig.py.

73  def SetupHistSvc(flags, streamName, dataFile):
74  acc = ComponentAccumulator()
75  histSvc = CompFactory.THistSvc(Output= ["{streamName} DATAFILE='{data_file}', OPT='RECREATE'".format(streamName=streamName, data_file = dataFile )])
76  acc.addService(histSvc, primary=True)
77  return acc
78 

Variable Documentation

◆ acts_tracks

ActsProtoTrackCreationAndFitConfig.acts_tracks

Definition at line 149 of file ActsProtoTrackCreationAndFitConfig.py.

◆ ACTSProtoTrackChainTrackKey

ActsProtoTrackCreationAndFitConfig.ACTSProtoTrackChainTrackKey

Definition at line 80 of file ActsProtoTrackCreationAndFitConfig.py.

◆ ACTSTracksLocation

ActsProtoTrackCreationAndFitConfig.ACTSTracksLocation

Definition at line 141 of file ActsProtoTrackCreationAndFitConfig.py.

◆ AssociationMapOut

ActsProtoTrackCreationAndFitConfig.AssociationMapOut

Definition at line 153 of file ActsProtoTrackCreationAndFitConfig.py.

◆ dataFile

ActsProtoTrackCreationAndFitConfig.dataFile

Definition at line 140 of file ActsProtoTrackCreationAndFitConfig.py.

◆ doAthenaToActsCluster

ActsProtoTrackCreationAndFitConfig.doAthenaToActsCluster

Definition at line 96 of file ActsProtoTrackCreationAndFitConfig.py.

◆ doAthenaToActsSpacePoint

ActsProtoTrackCreationAndFitConfig.doAthenaToActsSpacePoint

Definition at line 95 of file ActsProtoTrackCreationAndFitConfig.py.

◆ doExample

ActsProtoTrackCreationAndFitConfig.doExample

Definition at line 114 of file ActsProtoTrackCreationAndFitConfig.py.

◆ doRotCorrection

ActsProtoTrackCreationAndFitConfig.doRotCorrection

Definition at line 98 of file ActsProtoTrackCreationAndFitConfig.py.

◆ doWriteAOD_IDTPM

ActsProtoTrackCreationAndFitConfig.doWriteAOD_IDTPM

Definition at line 107 of file ActsProtoTrackCreationAndFitConfig.py.

◆ DumpEvtStore

ActsProtoTrackCreationAndFitConfig.DumpEvtStore

Definition at line 120 of file ActsProtoTrackCreationAndFitConfig.py.

◆ EnableCalo

ActsProtoTrackCreationAndFitConfig.EnableCalo

Definition at line 91 of file ActsProtoTrackCreationAndFitConfig.py.

◆ Files

ActsProtoTrackCreationAndFitConfig.Files

Definition at line 118 of file ActsProtoTrackCreationAndFitConfig.py.

◆ FinalProtoTrackChainTracksKey

ActsProtoTrackCreationAndFitConfig.FinalProtoTrackChainTracksKey

Definition at line 81 of file ActsProtoTrackCreationAndFitConfig.py.

◆ FinalProtoTrackChainxAODTracksKey

ActsProtoTrackCreationAndFitConfig.FinalProtoTrackChainxAODTracksKey

Definition at line 82 of file ActsProtoTrackCreationAndFitConfig.py.

◆ flags

ActsProtoTrackCreationAndFitConfig.flags

Definition at line 85 of file ActsProtoTrackCreationAndFitConfig.py.

◆ name

ActsProtoTrackCreationAndFitConfig.name

Definition at line 151 of file ActsProtoTrackCreationAndFitConfig.py.

◆ OutputFileName

ActsProtoTrackCreationAndFitConfig.OutputFileName

Definition at line 106 of file ActsProtoTrackCreationAndFitConfig.py.

◆ OutputLevel

ActsProtoTrackCreationAndFitConfig.OutputLevel

Definition at line 186 of file ActsProtoTrackCreationAndFitConfig.py.

◆ plotsCommonValuesFile

ActsProtoTrackCreationAndFitConfig.plotsCommonValuesFile

Definition at line 105 of file ActsProtoTrackCreationAndFitConfig.py.

◆ plotsDefFileList

ActsProtoTrackCreationAndFitConfig.plotsDefFileList

Definition at line 104 of file ActsProtoTrackCreationAndFitConfig.py.

◆ prefix

ActsProtoTrackCreationAndFitConfig.prefix

Definition at line 161 of file ActsProtoTrackCreationAndFitConfig.py.

◆ sc

ActsProtoTrackCreationAndFitConfig.sc

Definition at line 189 of file ActsProtoTrackCreationAndFitConfig.py.

◆ streamName

ActsProtoTrackCreationAndFitConfig.streamName

Definition at line 140 of file ActsProtoTrackCreationAndFitConfig.py.

◆ summariseProps

ActsProtoTrackCreationAndFitConfig.summariseProps

Definition at line 181 of file ActsProtoTrackCreationAndFitConfig.py.

◆ top_acc

ActsProtoTrackCreationAndFitConfig.top_acc

Definition at line 126 of file ActsProtoTrackCreationAndFitConfig.py.

◆ TrackParticleContainerName

ActsProtoTrackCreationAndFitConfig.TrackParticleContainerName

Definition at line 171 of file ActsProtoTrackCreationAndFitConfig.py.

◆ TrackParticlesOutKey

ActsProtoTrackCreationAndFitConfig.TrackParticlesOutKey

Definition at line 165 of file ActsProtoTrackCreationAndFitConfig.py.

◆ TrackToTruthAssociationMap

ActsProtoTrackCreationAndFitConfig.TrackToTruthAssociationMap

Definition at line 157 of file ActsProtoTrackCreationAndFitConfig.py.

◆ TrackToTruthAssociationMaps

ActsProtoTrackCreationAndFitConfig.TrackToTruthAssociationMaps

Definition at line 170 of file ActsProtoTrackCreationAndFitConfig.py.

◆ TrigTrkKey

ActsProtoTrackCreationAndFitConfig.TrigTrkKey

override respective configurations from trkAnaCfgFile

Definition at line 111 of file ActsProtoTrackCreationAndFitConfig.py.

◆ trkAnaCfgFile

ActsProtoTrackCreationAndFitConfig.trkAnaCfgFile

Definition at line 108 of file ActsProtoTrackCreationAndFitConfig.py.

◆ True

ActsProtoTrackCreationAndFitConfig.True

Definition at line 181 of file ActsProtoTrackCreationAndFitConfig.py.

◆ withDetails

ActsProtoTrackCreationAndFitConfig.withDetails

Definition at line 181 of file ActsProtoTrackCreationAndFitConfig.py.

ActsProtoTrackCreationAndFitConfig.SetupHistSvc
def SetupHistSvc(flags, streamName, dataFile)
Definition: ActsProtoTrackCreationAndFitConfig.py:73
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
vtune_athena.format
format
Definition: vtune_athena.py:14
ActsProtoTrackCreationAndFitConfig.ActsTruthGuidedProtoTrackCreatorToolCfg
ComponentAccumulator ActsTruthGuidedProtoTrackCreatorToolCfg(flags, str name="ActsTruthGuidedProtoTrackCreatorTool", **kwargs)
Definition: ActsProtoTrackCreationAndFitConfig.py:6
ActsProtoTrackCreationAndFitConfig.ActsProtoTrackReportingAlgCfg
ComponentAccumulator ActsProtoTrackReportingAlgCfg(flags, str name="ActsProtoTrackReportingAlg", **kwargs)
Definition: ActsProtoTrackCreationAndFitConfig.py:60
ActsProtoTrackCreationAndFitConfig.ActsProtoTackCreationAndFitAlgCfg
ComponentAccumulator ActsProtoTackCreationAndFitAlgCfg(flags, str name="ActsProtoTrackCreationAndFitAlg", **kwargs)
Definition: ActsProtoTrackCreationAndFitConfig.py:14
ActsGeometryConfig.ActsExtrapolationToolCfg
ComponentAccumulator ActsExtrapolationToolCfg(flags, str name="ActsExtrapolationTool", **kwargs)
Definition: ActsGeometryConfig.py:109
ActsGeometryConfig.ActsTrackingGeometryToolCfg
ComponentAccumulator ActsTrackingGeometryToolCfg(flags, str name="ActsTrackingGeometryTool")
Definition: ActsGeometryConfig.py:100
ITkPixelGeoModelConfig.ITkPixelReadoutGeometryCfg
def ITkPixelReadoutGeometryCfg(flags, setGeometryAlignable=False, setAlignmentFolderName="/Indet/Align")
Definition: ITkPixelGeoModelConfig.py:39
ActsGeometryConfig.ActsDetectorElementToActsGeometryIdMappingAlgCfg
ComponentAccumulator ActsDetectorElementToActsGeometryIdMappingAlgCfg(flags, str name="ActsDetectorElementToActsGeometryIdMappingAlg", **kwargs)
Definition: ActsGeometryConfig.py:257
ITkStripGeoModelConfig.ITkStripReadoutGeometryCfg
def ITkStripReadoutGeometryCfg(flags, setGeometryAlignable=False, setAlignmentFolderName="/Indet/Align")
Definition: ITkStripGeoModelConfig.py:39
ActsTrackFittingConfig.ActsFitterCfg
ComponentAccumulator ActsFitterCfg(flags, str name="ActsKalmanFitter", **kwargs)
Definition: ActsTrackFittingConfig.py:8