Skip to content
Snippets Groups Projects
Commit 48012215 authored by Xiaocong Ai's avatar Xiaocong Ai Committed by FASER Reco
Browse files

update CKF2Config

parent cb43097d
No related branches found
No related tags found
1 merge request!418alma9-dev merge
......@@ -79,9 +79,10 @@ def CKF2Cfg(flags, **kwargs):
actsExtrapolationTool.TrackingGeometryTool = actsTrackingGeometryTool
acc.merge(result)
trajectory_performance_writer_tool = CompFactory.PerformanceWriterTool("PerformanceWriterTool")
trajectory_performance_writer_tool.ExtrapolationTool = actsExtrapolationTool
trajectory_performance_writer_tool.noDiagnostics = kwargs.get("noDiagnostics", True)
#@todo
#trajectory_performance_writer_tool = CompFactory.PerformanceWriterTool("PerformanceWriterTool")
#trajectory_performance_writer_tool.ExtrapolationTool = actsExtrapolationTool
#trajectory_performance_writer_tool.noDiagnostics = kwargs.get("noDiagnostics", True)
ckf = CompFactory.CKF2(**kwargs)
kalman_fitter1 = CompFactory.KalmanFitterTool(name="fitterTool1")
......@@ -99,7 +100,8 @@ def CKF2Cfg(flags, **kwargs):
ckf.ActsLogging = "INFO"
ckf.RootTrajectoryStatesWriterTool = trajectory_states_writer_tool
ckf.RootTrajectorySummaryWriterTool = trajectory_summary_writer_tool
ckf.PerformanceWriterTool = trajectory_performance_writer_tool
#todo
#ckf.PerformanceWriterTool = trajectory_performance_writer_tool
ckf.TrackingGeometryTool=actsTrackingGeometryTool
ckf.isMC = flags.Input.isMC
ckf.noDiagnostics = kwargs.get("noDiagnostics", True)
......
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