ATLAS Offline Software
Loading...
Searching...
No Matches
pyroot Namespace Reference

Functions

 _help_and_exit (reason=None)
 explanation of the options --------------------------------------------—

Variables

str __author__ = 'Sebastien Binet (binet@cern.ch)'
str __doc__ = 'For details about pyroot.py, run "less `which pyroot.py`"'
str _useropts = "bidc:hv"
 recognized user options __________________________________________________
list _userlongopts
 scripts
 option handling ------------------------------------------------------—
 opts
 option handling ------------------------------------------------------—
int runBatch = 0
 display = None
str command = ""
list userOpts = []
 optlist
 process user options
 args
 process user options
str defOptions = ""
 argv
 for the benefit of PyROOT
 path
 python interpreter configuration --------------------------------------—
 ps1
 fhistory = os.path.expanduser( '~/.pyroot.history' )

Function Documentation

◆ _help_and_exit()

pyroot._help_and_exit ( reason = None)
protected

explanation of the options --------------------------------------------—

Definition at line 25 of file pyroot.py.

25def _help_and_exit( reason = None ):
26 print ("""Accepted command line options:
27 -b, --batch ... batch mode
28 -i, --interactive ... interactive mode [default]
29 --no-display prompt, but no graphics display
30 -c, --command ... one-liner, runs before any scripts
31 -h, --help ... print this help message
32 -,-- [arg1,...] ... additional arguments passed directly
33 to user scripts (left untouched)
34 [<file1>.py [<file2>.py [...]]] ... scripts to run""")
35
36 sys.exit( 1 )
37
38

Variable Documentation

◆ __author__

str pyroot.__author__ = 'Sebastien Binet (binet@cern.ch)'
private

Definition at line 11 of file pyroot.py.

◆ __doc__

str pyroot.__doc__ = 'For details about pyroot.py, run "less `which pyroot.py`"'
private

Definition at line 12 of file pyroot.py.

◆ _userlongopts

list pyroot._userlongopts
protected
Initial value:
1= [ "batch", "interactive", "no-display", "debug=", "command=",
2 "help", "version",]

Definition at line 20 of file pyroot.py.

◆ _useropts

str pyroot._useropts = "bidc:hv"
protected

recognized user options __________________________________________________

Definition at line 19 of file pyroot.py.

◆ args

pyroot.args

process user options

Definition at line 59 of file pyroot.py.

◆ argv

pyroot.argv

for the benefit of PyROOT

Definition at line 88 of file pyroot.py.

◆ command

pyroot.command = ""

Definition at line 43 of file pyroot.py.

◆ defOptions

str pyroot.defOptions = ""

Definition at line 73 of file pyroot.py.

◆ display

int pyroot.display = None

Definition at line 42 of file pyroot.py.

◆ fhistory

pyroot.fhistory = os.path.expanduser( '~/.pyroot.history' )

Definition at line 100 of file pyroot.py.

◆ optlist

pyroot.optlist

process user options

Definition at line 59 of file pyroot.py.

◆ opts

pyroot.opts

option handling ------------------------------------------------------—

Definition at line 40 of file pyroot.py.

◆ path

pyroot.path

python interpreter configuration --------------------------------------—

Definition at line 94 of file pyroot.py.

◆ ps1

pyroot.ps1

Definition at line 99 of file pyroot.py.

◆ runBatch

int pyroot.runBatch = 0

Definition at line 41 of file pyroot.py.

◆ scripts

pyroot.scripts

option handling ------------------------------------------------------—

Definition at line 40 of file pyroot.py.

◆ userOpts

list pyroot.userOpts = []

Definition at line 44 of file pyroot.py.