Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
truth_tracking_telescope.py
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file truth_tracking_telescope.py
1 #!/usr/bin/env python3
2 
3 from pathlib import Path
4 
5 import acts
6 import acts.examples
7 
8 from truth_tracking_kalman import runTruthTrackingKalman
9 
10 u = acts.UnitConstants
11 
12 if "__main__" == __name__:
13  detector, trackingGeometry, decorators = acts.examples.TelescopeDetector.create(
14  bounds=[200, 200],
15  positions=[30, 60, 90, 120, 150, 180, 210, 240, 270],
16  stereos=[0] * 9,
17  )
18 
19  srcdir = Path(__file__).resolve().parent.parent.parent.parent
20 
21  field = acts.ConstantBField(acts.Vector3(0, 0, 2 * u.T))
22 
24  trackingGeometry,
25  field,
26  digiConfigFile=srcdir
27  / "Examples/Algorithms/Digitization/share/default-smearing-config-telescope.json",
28  outputDir=Path.cwd(),
29  ).run()