File indexing completed on 2025-01-18 09:12:09
0001
0002
0003 from pathlib import Path
0004
0005 import acts
0006 import acts.examples
0007
0008 from truth_tracking_kalman import runTruthTrackingKalman
0009
0010 u = acts.UnitConstants
0011
0012 if "__main__" == __name__:
0013 detector = acts.examples.TelescopeDetector(
0014 bounds=[200, 200],
0015 positions=[30, 60, 90, 120, 150, 180, 210, 240, 270],
0016 stereos=[0] * 9,
0017 )
0018 trackingGeometry = detector.trackingGeometry()
0019
0020 srcdir = Path(__file__).resolve().parent.parent.parent.parent
0021
0022 field = acts.ConstantBField(acts.Vector3(0, 0, 2 * u.T))
0023
0024 runTruthTrackingKalman(
0025 trackingGeometry,
0026 field,
0027 digiConfigFile=srcdir
0028 / "Examples/Algorithms/Digitization/share/default-smearing-config-telescope.json",
0029 outputDir=Path.cwd(),
0030 ).run()