10 flight_time_estimation =
""
13 n_loops = float(
"nan")
16 """Configure the basf2 job script using the translated command-line arguments"""
20 argument_parser.add_argument(
22 "--flight-time-estimation",
23 choices=[
"none",
"outwards",
"downwards"],
24 default=argparse.SUPPRESS,
25 dest=
"flight_time_estimation",
26 help=(
"Choose which estimation method for the time of flight should be use. \n"
27 "* 'none' no time of flight corrections\n"
28 "* 'outwards' means the minimal time needed to travel to the wire from the interaction point \n"
29 "* 'downwards' means the minimal time needed to travel to the wire from the y = 0 plane downwards \n")
32 argument_parser.add_argument(
37 help=(
"Choose to block all wire hits but the ones located on the {mc_loops} first loops")
40 return argument_parser
44 Sets up a path that plays back pregenerated events or generates events
45 based on the properties in the base class.
49 wire_hit_preparer = path.add_module(
"TFCDC_WireHitPreparer",