3 from pathlib
import Path
16 u = acts.UnitConstants
18 if "__main__" == __name__:
19 detector, trackingGeometry, decorators = acts.examples.TelescopeDetector.create(
21 positions=[30, 60, 90, 120, 150, 180, 210, 240, 270],
25 field = acts.ConstantBField(acts.Vector3(0, 0, 2 * u.T))
27 outputDir = Path.cwd() /
"telescope_simulation"
28 if not outputDir.exists():
31 for geant, postfix
in [(
False,
"fatras"), (
True,
"geant4")]:
32 rnd = acts.examples.RandomNumbers(seed=42)
43 outputDirRoot=outputDir / postfix,
53 outputDirRoot=outputDir / postfix,
54 outputDirCsv=outputDir / postfix,
55 logLevel=acts.logging.VERBOSE,
63 outputDirRoot=outputDir / postfix,