36 def addArguments(self):
37 """
38 This function allows to add arguments for parser_args() function
39 """
40
41
42 itsMatchingSelections = ["0", "1", "2"]
43
44
45 groupTrackSelectionTask = self.parserTrackSelectionTask.add_argument_group(title = "Data processor options: track-selection")
46 groupTrackSelectionTask.add_argument(
47 "--itsMatching",
48 help = "condition for ITS matching (0: Run2 SPD kAny, 1: Run3ITSibAny, 2: Run3ITSallAny, 3: Run3ITSall7Layers)",
49 action = "store", type = str, choices = (itsMatchingSelections),
50 ).completer = ChoicesCompleter(itsMatchingSelections)
51