20from argcomplete.completers
import ChoicesCompleter
26 Class for Interface -> trackPropagation.cxx Task -> Configurable, Process Functions
29 object (parser_args() object): trackPropagation.cxx Interface
32 def __init__(self, parserTrackPropagation = argparse.ArgumentParser(add_help =
False)):
33 super(TrackPropagation, self).
__init__()
38 This function allows to add arguments for parser_args() function
42 booleanSelections = [
"true",
"false"]
45 groupTrackPropagation = self.
parserTrackPropagation.add_argument_group(title =
"Data processor options: track-propagation")
46 groupTrackPropagation.add_argument(
47 "--isCovariance", help =
"track-propagation : If false, Process without covariance, If true Process with covariance",
48 action =
"store", type = str.lower, choices = (booleanSelections),
49 ).completer = ChoicesCompleter(booleanSelections)
53 This function allows to save the obtained arguments to the parser_args() function
56 Namespace: returns parse_args()
def __init__(self, parserTrackPropagation=argparse.ArgumentParser(add_help=False))