Functions | |
def | build_gauge (total_success_rate, minrate=.80, small=False, escaped=False) |
def | build_obj (run, sample, version, plot_path, tier) |
def | build_obj_addr (run, sample, version, plot_path, tier) |
def | directory2html (directory, hashing, standalone, depth=0) |
def | encode_obj_url (url) |
def | fairy_url (run1, run2, sample1, sample2, version1, version2, plot_path, tier1, tier2, draw_opts="", h=250, w=200) |
def | fairy_url_single (run, sample, version, plot_path, tier, draw_opts="", h=250, w=200) |
def | get_aggr_pairs_info (dir_dict, the_aggr_pairs=[]) |
def | get_comparisons (category, directory) |
def | get_dir_stats (directory) |
def | get_missing_objs_section (directory) |
def | get_page_footer () |
def | get_page_header (directory=None, standalone=False, additional_header="") |
def | get_pie_tooltip (directory) |
def | get_rank_section (directory) |
def | get_subdirs_section (directory, hashing_flag) |
def | get_summary_section (directory, matrix_page=True) |
def | get_title_section (directory, hashing_flag, standalone, depth=2) |
def | hash_name (file_name, flag) |
def | make_barchart_summary (dir_dict, name="the_chart", title="DQM directory", the_aggr_pairs=[]) |
def | make_categories_summary (dir_dict, aggregation_rules) |
def | make_summary_table (indir, aggregation_rules, aggregation_rules_twiki, hashing_flag, standalone_flag) |
def | make_twiki_table (dir_dict, aggregation_rules) |
def | plot_size (h=250, w=200) |
Variables | |
argv | |
theargv | |
def directories2html.build_gauge | ( | total_success_rate, | |
minrate = .80 , |
|||
small = False , |
|||
escaped = False |
|||
) |
Definition at line 492 of file directories2html.py.
Referenced by make_categories_summary(), and make_twiki_table().
def directories2html.build_obj | ( | run, | |
sample, | |||
version, | |||
plot_path, | |||
tier | |||
) |
Definition at line 53 of file directories2html.py.
References build_obj_addr(), and encode_obj_url().
Referenced by fairy_url().
def directories2html.build_obj_addr | ( | run, | |
sample, | |||
version, | |||
plot_path, | |||
tier | |||
) |
Definition at line 43 of file directories2html.py.
Referenced by build_obj(), and fairy_url_single().
def directories2html.directory2html | ( | directory, | |
hashing, | |||
standalone, | |||
depth = 0 |
|||
) |
Converts a directory tree into html pages, very nice ones.
Definition at line 430 of file directories2html.py.
References get_comparisons(), get_missing_objs_section(), get_page_footer(), get_page_header(), get_rank_section(), get_subdirs_section(), get_summary_section(), get_title_section(), hash_name(), and join().
def directories2html.encode_obj_url | ( | url | ) |
def directories2html.fairy_url | ( | run1, | |
run2, | |||
sample1, | |||
sample2, | |||
version1, | |||
version2, | |||
plot_path, | |||
tier1, | |||
tier2, | |||
draw_opts = "" , |
|||
h = 250 , |
|||
w = 200 |
|||
) |
Definition at line 57 of file directories2html.py.
References build_obj(), and plot_size().
Referenced by get_comparisons().
def directories2html.fairy_url_single | ( | run, | |
sample, | |||
version, | |||
plot_path, | |||
tier, | |||
draw_opts = "" , |
|||
h = 250 , |
|||
w = 200 |
|||
) |
Definition at line 67 of file directories2html.py.
References build_obj_addr(), and plot_size().
Referenced by get_comparisons().
def directories2html.get_aggr_pairs_info | ( | dir_dict, | |
the_aggr_pairs = [] |
|||
) |
Definition at line 513 of file directories2html.py.
References ALCARECOTkAlBeamHalo_cff.filter, objects.autophobj.float, mps_monitormerge.items, and relativeConstraints.keys.
Referenced by make_barchart_summary(), make_categories_summary(), and make_twiki_table().
def directories2html.get_comparisons | ( | category, | |
directory | |||
) |
Prepare the comparisons between histograms and organise them in the page. Moreover create separate pages with the overlay and the single plots.
Definition at line 280 of file directories2html.py.
References estimatePileup.basename, fairy_url(), and fairy_url_single().
Referenced by directory2html().
def directories2html.get_dir_stats | ( | directory | ) |
Definition at line 167 of file directories2html.py.
Referenced by get_subdirs_section(), and get_summary_section().
def directories2html.get_missing_objs_section | ( | directory | ) |
Method to get missing objects from directory: in case histogram/directory was in one ROOT file but not in other
Definition at line 417 of file directories2html.py.
Referenced by directory2html().
def directories2html.get_page_footer | ( | ) |
Definition at line 116 of file directories2html.py.
Referenced by directory2html(), and make_summary_table().
def directories2html.get_page_header | ( | directory = None , |
|
standalone = False , |
|||
additional_header = "" |
|||
) |
Definition at line 77 of file directories2html.py.
Referenced by directory2html(), and make_summary_table().
def directories2html.get_pie_tooltip | ( | directory | ) |
Definition at line 656 of file directories2html.py.
Referenced by make_summary_table().
def directories2html.get_rank_section | ( | directory | ) |
Definition at line 369 of file directories2html.py.
Referenced by directory2html(), and make_summary_table().
def directories2html.get_subdirs_section | ( | directory, | |
hashing_flag | |||
) |
Definition at line 185 of file directories2html.py.
References get_dir_stats(), hash_name(), and join().
Referenced by directory2html().
Definition at line 220 of file directories2html.py.
References get_dir_stats().
Referenced by directory2html(), and make_summary_table().
def directories2html.get_title_section | ( | directory, | |
hashing_flag, | |||
standalone, | |||
depth = 2 |
|||
) |
Definition at line 121 of file directories2html.py.
References estimatePileup.basename, and hash_name().
Referenced by directory2html().
def directories2html.hash_name | ( | file_name, | |
flag | |||
) |
Definition at line 932 of file directories2html.py.
Referenced by directory2html(), get_subdirs_section(), get_title_section(), and make_summary_table().
def directories2html.make_barchart_summary | ( | dir_dict, | |
name = "the_chart" , |
|||
title = "DQM directory" , |
|||
the_aggr_pairs = [] |
|||
) |
Definition at line 662 of file directories2html.py.
References get_aggr_pairs_info().
Referenced by make_summary_table().
def directories2html.make_categories_summary | ( | dir_dict, | |
aggregation_rules | |||
) |
Definition at line 581 of file directories2html.py.
References build_gauge(), objects.autophobj.float, and get_aggr_pairs_info().
Referenced by make_summary_table().
def directories2html.make_summary_table | ( | indir, | |
aggregation_rules, | |||
aggregation_rules_twiki, | |||
hashing_flag, | |||
standalone_flag | |||
) |
Create a table, with as rows the directories and as columns the samples. Each box in the table will contain a pie chart linking to the directory.
Definition at line 696 of file directories2html.py.
References estimatePileup.basename, ALCARECOTkAlBeamHalo_cff.filter, get_page_footer(), get_page_header(), get_pie_tooltip(), get_rank_section(), get_summary_section(), hash_name(), join(), list(), make_barchart_summary(), make_categories_summary(), and make_twiki_table().
Referenced by ValidationMatrix.do_html().
def directories2html.make_twiki_table | ( | dir_dict, | |
aggregation_rules | |||
) |
Definition at line 621 of file directories2html.py.
References build_gauge(), get_aggr_pairs_info(), and split.
Referenced by make_summary_table().
def directories2html.plot_size | ( | h = 250 , |
|
w = 200 |
|||
) |
Definition at line 40 of file directories2html.py.
Referenced by fairy_url(), and fairy_url_single().
directories2html.argv |
Definition at line 18 of file directories2html.py.
directories2html.theargv |
Definition at line 17 of file directories2html.py.