4def setupArgParser():
5 from argparse import ArgumentParser
6 from AthenaConfiguration.TestDefaults import defaultConditionsTags, defaultGeometryTags, defaultTestFiles
7 parser = ArgumentParser()
8 parser.add_argument("--inputFile", "-i", default= defaultTestFiles.EVNT,
9 help="Input file to run on ", nargs="+")
10 parser.add_argument("--geoModelFile", default = "", help="GeoModel SqLite file containing the muon geometry.")
11 parser.add_argument("--outRootFile", default="NewGeoModelDump.root", help="Output ROOT file to dump the geomerty")
12 parser.add_argument("--condTag", default=defaultConditionsTags.RUN3_MC, help="Conditions tag to use",
13 choices=[defaultConditionsTags.RUN3_MC,
14 defaultConditionsTags.RUN3_DATA,
15 defaultConditionsTags.RUN4_MC ])
16 parser.add_argument("--geoTag", default=defaultGeometryTags.RUN3, help="Geometry tag to use", choices=[defaultGeometryTags.RUN4,
17 defaultGeometryTags.RUN3])
18 return parser
19