20from argcomplete.completers
import ChoicesCompleter
26 Class for Interface -> multiplicityTable.cxx Task -> Configurable, Process Functions
29 object (parser_args() object): multiplicityTable.cxx Interface
32 def __init__(self, parserMultiplicityTable = argparse.ArgumentParser(add_help =
False)):
33 super(MultiplicityTable, self).
__init__()
38 This function allows to add arguments for parser_args() function
42 booleanSelections = [
"true",
"false"]
45 groupMultiplicityTable = self.
parserMultiplicityTable.add_argument_group(title =
"Data processor options: multiplicity-table")
46 groupMultiplicityTable.add_argument(
47 "--isVertexZeq", help =
"if true: do vertex Z eq mult table", action =
"store", type = str.lower, choices = (booleanSelections),
48 ).completer = ChoicesCompleter(booleanSelections)
52 This function allows to save the obtained arguments to the parser_args() function
55 Namespace: returns parse_args()
def __init__(self, parserMultiplicityTable=argparse.ArgumentParser(add_help=False))