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

Public Member Functions

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

Public Attributes

 parserMultiplicityTable
 

Detailed Description

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

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

Definition at line 23 of file multiplicityTable.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 32 of file multiplicityTable.py.

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

Member Function Documentation

◆ addArguments()

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

Definition at line 36 of file multiplicityTable.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 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)
49

◆ 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 50 of file multiplicityTable.py.

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

Member Data Documentation

◆ parserMultiplicityTable

parserMultiplicityTable

Definition at line 34 of file multiplicityTable.py.


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