Skip to content
Snippets Groups Projects
Commit f5dd81b9 authored by Ke Li's avatar Ke Li
Browse files

use the trackinggeometry tool which has enabled the alignment condition algorithm

parent 8945b958
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ from AthenaConfiguration.ComponentFactory import CompFactory ...@@ -8,6 +8,7 @@ from AthenaConfiguration.ComponentFactory import CompFactory
from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg
from MagFieldServices.MagFieldServicesConfig import MagneticFieldSvcCfg from MagFieldServices.MagFieldServicesConfig import MagneticFieldSvcCfg
from FaserActsGeometry.ActsGeometryConfig import ActsTrackingGeometrySvcCfg from FaserActsGeometry.ActsGeometryConfig import ActsTrackingGeometrySvcCfg
from FaserActsGeometry.ActsGeometryConfig import ActsTrackingGeometryToolCfg
def FaserActsAlignmentCondAlgCfg(flags, **kwargs): def FaserActsAlignmentCondAlgCfg(flags, **kwargs):
...@@ -72,7 +73,11 @@ def CKF2Cfg(flags, **kwargs): ...@@ -72,7 +73,11 @@ def CKF2Cfg(flags, **kwargs):
actsExtrapolationTool = CompFactory.FaserActsExtrapolationTool("FaserActsExtrapolationTool") actsExtrapolationTool = CompFactory.FaserActsExtrapolationTool("FaserActsExtrapolationTool")
actsExtrapolationTool.MaxSteps = 1000 actsExtrapolationTool.MaxSteps = 1000
actsExtrapolationTool.TrackingGeometryTool = CompFactory.FaserActsTrackingGeometryTool("TrackingGeometryTool")
#use the tracking geometry tool which has enabled the alignment condition algo
result, actsTrackingGeometryTool = ActsTrackingGeometryToolCfg(flags)
actsExtrapolationTool.TrackingGeometryTool = actsTrackingGeometryTool
acc.merge(result)
trajectory_performance_writer_tool = CompFactory.PerformanceWriterTool("PerformanceWriterTool") trajectory_performance_writer_tool = CompFactory.PerformanceWriterTool("PerformanceWriterTool")
trajectory_performance_writer_tool.ExtrapolationTool = actsExtrapolationTool trajectory_performance_writer_tool.ExtrapolationTool = actsExtrapolationTool
...@@ -95,6 +100,7 @@ def CKF2Cfg(flags, **kwargs): ...@@ -95,6 +100,7 @@ def CKF2Cfg(flags, **kwargs):
ckf.RootTrajectoryStatesWriterTool = trajectory_states_writer_tool ckf.RootTrajectoryStatesWriterTool = trajectory_states_writer_tool
ckf.RootTrajectorySummaryWriterTool = trajectory_summary_writer_tool ckf.RootTrajectorySummaryWriterTool = trajectory_summary_writer_tool
ckf.PerformanceWriterTool = trajectory_performance_writer_tool ckf.PerformanceWriterTool = trajectory_performance_writer_tool
ckf.TrackingGeometryTool=actsTrackingGeometryTool
ckf.isMC = flags.Input.isMC ckf.isMC = flags.Input.isMC
ckf.SummaryWriter = True ckf.SummaryWriter = True
ckf.StatesWriter = False ckf.StatesWriter = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment