Main routine of the script.
Arguments:
- `argv`: arguments passed to the main routine
Definition at line 8 of file mps_prepare_input_db.py.
10 """Main routine of the script.
13 - `argv`: arguments passed to the main routine
20 description=
"Prepare input db file for MillePede workflow.")
21 parser.add_argument(
"-g",
"--global-tag", dest=
"global_tag", required=
True,
23 help=
"global tag to extract the alignment payloads")
24 parser.add_argument(
"-r",
"--run-number", dest=
"run_number", required=
True,
25 metavar=
"INTEGER", type=int,
26 help=
"run number to select IOV")
27 parser.add_argument(
"-o",
"--output-db", dest=
"output_db",
28 default=
"alignment_input.db", metavar=
"PATH",
29 help=
"name of the output file (default: '%(default)s')")
30 args = parser.parse_args(argv)
32 mps_tools.create_single_iov_db(args.global_tag,