9 from acts
import GeometryContext, logging
14 rnd = acts.examples.RandomNumbers(seed=42)
16 alg = acts.examples.VolumeAssociationTest(
17 name=
"VolumeAssociation",
21 randomRange=[1100, 3100],
25 sequencer.addAlgorithm(alg)
31 p = argparse.ArgumentParser()
36 default=
"odd-light.gdml",
37 help=
"GDML input file (optional)",
44 help=
"Match string for sensitive surfaces",
51 help=
"Match string for passive surfaces",
54 "-n",
"--events", type=int, default=1000, help=
"Number of events to generate"
56 p.add_argument(
"-t",
"--tests", type=int, default=10000, help=
"Tests per track")
62 [elements, ssurfaces, psurfaces] = acts_g4.convertSurfaces(
63 args.input, [args.sensitives], [args.passives]
65 odd = odd_light.get_detector(geoContext, ssurfaces, psurfaces, logging.INFO)
70 if "__main__" == __name__: