Classes | |
class | Plot |
class | RootTree |
Define classes and generators #######################################. More... | |
Functions | |
def | duration_to_string (start, end) |
def | join_cuts (list_of_cuts) |
def | main () |
def | make_all_hists_all_files (list_of_RootTrees, list_of_Plots, cut_for_all_files, list_of_cutSets) |
def | tree2hists_main (config_file) |
Define the main program #############################################. More... | |
def | write_default_T2H_config () |
Variables | |
__license__ | |
Create ROOT Histograms from one or more ROOT TTrees or TNtuples. Options are specified in the given configuration file.
def python.rootplot.tree2hists.duration_to_string | ( | start, | |
end | |||
) |
Definition at line 91 of file tree2hists.py.
Referenced by python.rootplot.tree2hists.tree2hists_main().
def python.rootplot.tree2hists.join_cuts | ( | list_of_cuts | ) |
Joins list of cuts (strings) into something ROOT can handle. Example: given ('1<2','','5>4') returns '1<2&&5>4'
Definition at line 82 of file tree2hists.py.
References join().
Referenced by python.rootplot.tree2hists.make_all_hists_all_files().
def python.rootplot.tree2hists.main | ( | ) |
Definition at line 286 of file tree2hists.py.
References reco.print(), split, python.rootplot.tree2hists.tree2hists_main(), and python.rootplot.tree2hists.write_default_T2H_config().
def python.rootplot.tree2hists.make_all_hists_all_files | ( | list_of_RootTrees, | |
list_of_Plots, | |||
cut_for_all_files, | |||
list_of_cutSets | |||
) |
Open root files one at a time, make plots, then close them.
Definition at line 151 of file tree2hists.py.
References join(), and python.rootplot.tree2hists.join_cuts().
Referenced by python.rootplot.tree2hists.tree2hists_main().
def python.rootplot.tree2hists.tree2hists_main | ( | config_file | ) |
Define the main program #############################################.
Definition at line 211 of file tree2hists.py.
References python.rootplot.tree2hists.duration_to_string(), and python.rootplot.tree2hists.make_all_hists_all_files().
Referenced by python.rootplot.tree2hists.main().
def python.rootplot.tree2hists.write_default_T2H_config | ( | ) |
Writes configuration file for tree2hists
Definition at line 101 of file tree2hists.py.
Referenced by python.rootplot.tree2hists.main().
|
private |
Definition at line 13 of file tree2hists.py.