36 def addArguments(self):
37 """
38 This function allows to add arguments for parser_args() function
39 """
40
41
42 ft0Selections = ["FT0", "NoFT0", "OnlyFT0", "Run2"]
43
44
45 groupTofEventTime = self.parserTofEventTime.add_argument_group(title = "Data processor options: tof-event-time")
46 groupTofEventTime.add_argument(
47 "--FT0",
48 help = "FT0: Process with FT0, NoFT0: Process without FT0, OnlyFT0: Process only with FT0, Run2: Process with Run2 data",
49 action = "store", type = str, choices = ft0Selections,
50 ).completer = ChoicesCompleter(ft0Selections)
51