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

Public Member Functions

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

Public Attributes

 parserTofPidBeta
 

Detailed Description

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

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

Definition at line 21 of file pidTOFBeta.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 30 of file pidTOFBeta.py.

30 def __init__(self, parserTofPidBeta = argparse.ArgumentParser(add_help = False)):
31 super(TofPidBeta, self).__init__()
32 self.parserTofPidBeta = parserTofPidBeta
33

Member Function Documentation

◆ addArguments()

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

Definition at line 34 of file pidTOFBeta.py.

34 def addArguments(self):
35 """
36 This function allows to add arguments for parser_args() function
37 """
38
39 # Interface
40 groupTofPidbeta = self.parserTofPidBeta.add_argument_group(title = "Data processor options: tof-pid-beta")
41 groupTofPidbeta.add_argument(
42 "--tof-expreso", help = "Expected resolution for the computation of the expected beta", action = "store", type = str,
43 )
44

◆ 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 45 of file pidTOFBeta.py.

45 def parseArgs(self):
46 """
47 This function allows to save the obtained arguments to the parser_args() function
48
49 Returns:
50 Namespace: returns parse_args()
51 """
52
53 return self.parserTofPidBeta.parse_args()

Member Data Documentation

◆ parserTofPidBeta

parserTofPidBeta

Definition at line 32 of file pidTOFBeta.py.


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