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 92 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 83 of file tree2hists.py.
References join().
Referenced by python.rootplot.tree2hists.make_all_hists_all_files().
def python.rootplot.tree2hists.main | ( | ) |
Definition at line 287 of file tree2hists.py.
References print(), submitPVValidationJobs.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 152 of file tree2hists.py.
References join(), python.rootplot.tree2hists.join_cuts(), and print().
Referenced by python.rootplot.tree2hists.tree2hists_main().
def python.rootplot.tree2hists.tree2hists_main | ( | config_file | ) |
Define the main program #############################################.
Definition at line 212 of file tree2hists.py.
References python.rootplot.tree2hists.duration_to_string(), python.rootplot.tree2hists.make_all_hists_all_files(), and print().
Referenced by python.rootplot.tree2hists.main().
def python.rootplot.tree2hists.write_default_T2H_config | ( | ) |
Writes configuration file for tree2hists
Definition at line 102 of file tree2hists.py.
References print().
Referenced by python.rootplot.tree2hists.main().
|
private |
Definition at line 14 of file tree2hists.py.