Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
rootprint Namespace Reference

Command line to print ROOT files contents on ps,pdf or png,gif... More...

Functions

 execute ()
 get_argparse ()

Variables

str description = "Print ROOT files contents on ps,pdf or pictures files"
str DIRECTORY_HELP = "put output files in a subdirectory named DIRECTORY."
str DIVIDE_HELP = "divide the canvas ont the format 'x','y' (ex: 2,2)"
str DRAW_HELP = "specify draw option"
str EPILOG
str FORMAT_HELP = "specify output format (ex: pdf, png)."
str OUTPUT_HELP = "merge files in a file named OUTPUT (only for ps and pdf)."
str RECURSIVE_HELP = "Traverse file recursively entering any TDirectory."
str SIZE_HELP = "specify canvas size on the format 'width'x'height' (ex: 600x400)"
str STYLE_HELP = "specify a C file name which define a style"
str VERBOSE_HELP = "print informations about the running"

Detailed Description

Command line to print ROOT files contents on ps,pdf or png,gif...

Function Documentation

◆ execute()

rootprint.execute ( )

Definition at line 55 of file rootprint.py.

◆ get_argparse()

rootprint.get_argparse ( )

Definition at line 40 of file rootprint.py.

Variable Documentation

◆ description

str rootprint.description = "Print ROOT files contents on ps,pdf or pictures files"

Definition at line 14 of file rootprint.py.

◆ DIRECTORY_HELP

str rootprint.DIRECTORY_HELP = "put output files in a subdirectory named DIRECTORY."

Definition at line 16 of file rootprint.py.

◆ DIVIDE_HELP

str rootprint.DIVIDE_HELP = "divide the canvas ont the format 'x','y' (ex: 2,2)"

Definition at line 17 of file rootprint.py.

◆ DRAW_HELP

str rootprint.DRAW_HELP = "specify draw option"

Definition at line 18 of file rootprint.py.

◆ EPILOG

str rootprint.EPILOG
Initial value:
1= """Examples:
2- rootprint example.root:hist
3 Create a pdf file named 'hist.pdf' which contain the histogram 'hist'.
4
5- rootprint -d histograms example.root:hist
6 Create a pdf file named 'hist.pdf' which contain the histogram 'hist' and put it in the directory 'histograms' (create it if not already exists).
7
8- rootprint -f png example.root:hist
9 Create a png file named 'hist.png' which contain the histogram 'hist'.
10
11- rootprint -o histograms.pdf example.root:hist*
12 Create a pdf file named 'histograms.pdf' which contain all histograms whose name starts with 'hist'. It works also with postscript.
13"""

Definition at line 26 of file rootprint.py.

◆ FORMAT_HELP

str rootprint.FORMAT_HELP = "specify output format (ex: pdf, png)."

Definition at line 19 of file rootprint.py.

◆ OUTPUT_HELP

str rootprint.OUTPUT_HELP = "merge files in a file named OUTPUT (only for ps and pdf)."

Definition at line 20 of file rootprint.py.

◆ RECURSIVE_HELP

str rootprint.RECURSIVE_HELP = "Traverse file recursively entering any TDirectory."

Definition at line 24 of file rootprint.py.

◆ SIZE_HELP

str rootprint.SIZE_HELP = "specify canvas size on the format 'width'x'height' (ex: 600x400)"

Definition at line 21 of file rootprint.py.

◆ STYLE_HELP

str rootprint.STYLE_HELP = "specify a C file name which define a style"

Definition at line 22 of file rootprint.py.

◆ VERBOSE_HELP

str rootprint.VERBOSE_HELP = "print informations about the running"

Definition at line 23 of file rootprint.py.