Definition at line 16 of file runIDTPM_Offl.py.
◆ exit()
| runIDTPM_Offl.MyParser.exit |
( |
| self, |
|
|
| status = 0, |
|
|
| message = None ) |
Definition at line 17 of file runIDTPM_Offl.py.
17 def exit( self, status=0, message=None ):
18 if message:
print(message, end=
'')
19
20 print(
"\n\nStandard runIDTPM.py options:" )
21 oldhelp = subprocess.run( ["runIDTPM.py", "-h"], capture_output=True, text=True ).stdout
22 keep = False
23 newhelp_list = []
24 for line in oldhelp.splitlines():
25 if keep :
26 if "trkAnaCfgFile" in line or "track analysis setup" in line: continue
27 newhelp_list.append(line)
28 elif "options:" in line: keep = True
29 newhelp = "\n".join( newhelp_list )
31 super().exit( status )
32
void print(char *figname, TCanvas *c1)
The documentation for this class was generated from the following file: