O2-DQ User Interface 1.0.0
Loading...
Searching...
No Matches
TrackPropagation Class Reference
Inheritance diagram for TrackPropagation:

Public Member Functions

def __init__ (self, parserTrackPropagation=argparse.ArgumentParser(add_help=False))
 
def addArguments (self)
 
def parseArgs (self)
 

Public Attributes

 parserTrackPropagation
 

Detailed Description

Class for Interface -> trackPropagation.cxx Task -> Configurable, Process Functions

Args:
    object (parser_args() object): trackPropagation.cxx Interface

Definition at line 23 of file trackPropagation.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  parserTrackPropagation = argparse.ArgumentParser(add_help = False) 
)

Definition at line 32 of file trackPropagation.py.

32 def __init__(self, parserTrackPropagation = argparse.ArgumentParser(add_help = False)):
33 super(TrackPropagation, self).__init__()
34 self.parserTrackPropagation = parserTrackPropagation
35

Member Function Documentation

◆ addArguments()

def addArguments (   self)
This function allows to add arguments for parser_args() function

Definition at line 36 of file trackPropagation.py.

36 def addArguments(self):
37 """
38 This function allows to add arguments for parser_args() function
39 """
40
41 # Predefined Selections
42 booleanSelections = ["true", "false"]
43
44 # Interface
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)
50

◆ parseArgs()

def parseArgs (   self)
This function allows to save the obtained arguments to the parser_args() function

Returns:
    Namespace: returns parse_args()

Definition at line 51 of file trackPropagation.py.

51 def parseArgs(self):
52 """
53 This function allows to save the obtained arguments to the parser_args() function
54
55 Returns:
56 Namespace: returns parse_args()
57 """
58
59 return self.parserTrackPropagation.parse_args()

Member Data Documentation

◆ parserTrackPropagation

parserTrackPropagation

Definition at line 34 of file trackPropagation.py.


The documentation for this class was generated from the following file: