Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:10:09

0001 #!/usr/bin/env python3
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, trackingGeometry, decorators = acts.examples.TelescopeDetector.create(
0014         bounds=[200, 200],
0015         positions=[30, 60, 90, 120, 150, 180, 210, 240, 270],
0016         stereos=[0] * 9,
0017     )
0018 
0019     srcdir = Path(__file__).resolve().parent.parent.parent.parent
0020 
0021     field = acts.ConstantBField(acts.Vector3(0, 0, 2 * u.T))
0022 
0023     runTruthTrackingKalman(
0024         trackingGeometry,
0025         field,
0026         digiConfigFile=srcdir
0027         / "Examples/Algorithms/Digitization/share/default-smearing-config-telescope.json",
0028         outputDir=Path.cwd(),
0029     ).run()