Functions | |
def | build_gauge |
def | build_obj |
def | build_obj_addr |
def | directory2html |
def | encode_obj_url |
def | fairy_url |
def | fairy_url_single |
def | get_aggr_pairs_info |
def | get_comparisons |
def | get_dir_stats |
def | get_missing_objs_section |
def | get_page_footer |
def | get_page_header |
def | get_pie_tooltip |
def | get_rank_section |
def | get_subdirs_section |
def | get_summary_section |
def | get_title_section |
def | hash_name |
def | make_barchart_summary |
def | make_categories_summary |
def | make_summary_table |
def | make_twiki_table |
def | plot_size |
Variables | |
theargv = sys.argv | |
def directories2html.build_gauge | ( | total_success_rate, | |
minrate = .80 , |
|||
small = False , |
|||
escaped = False |
|||
) |
Definition at line 495 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 56 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 46 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 433 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 60 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 70 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 516 of file directories2html.py.
References mps_monitormerge.items, relativeConstraints.keys, and print().
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 283 of file directories2html.py.
References fairy_url(), and fairy_url_single().
Referenced by directory2html().
def directories2html.get_dir_stats | ( | directory | ) |
Definition at line 170 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 420 of file directories2html.py.
Referenced by directory2html().
def directories2html.get_page_footer | ( | ) |
Definition at line 119 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 80 of file directories2html.py.
Referenced by directory2html(), and make_summary_table().
def directories2html.get_pie_tooltip | ( | directory | ) |
Definition at line 659 of file directories2html.py.
Referenced by make_summary_table().
def directories2html.get_rank_section | ( | directory | ) |
Definition at line 372 of file directories2html.py.
References sistrip::SpyUtilities.range().
Referenced by directory2html(), and make_summary_table().
def directories2html.get_subdirs_section | ( | directory, | |
hashing_flag | |||
) |
Definition at line 188 of file directories2html.py.
References get_dir_stats(), hash_name(), and join().
Referenced by directory2html().
def directories2html.get_summary_section | ( | directory, | |
matrix_page = True |
|||
) |
Definition at line 223 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 124 of file directories2html.py.
References hash_name().
Referenced by directory2html().
def directories2html.hash_name | ( | file_name, | |
flag | |||
) |
Definition at line 935 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 665 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 584 of file directories2html.py.
References build_gauge(), 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 699 of file directories2html.py.
References get_page_footer(), get_page_header(), get_pie_tooltip(), get_rank_section(), get_summary_section(), hash_name(), join(), make_barchart_summary(), make_categories_summary(), make_twiki_table(), and sistrip::SpyUtilities.range().
Referenced by ValidationMatrix.do_html().
def directories2html.make_twiki_table | ( | dir_dict, | |
aggregation_rules | |||
) |
Definition at line 624 of file directories2html.py.
References build_gauge(), get_aggr_pairs_info(), and submitPVValidationJobs.split().
Referenced by make_summary_table().
def directories2html.plot_size | ( | h = 250 , |
|
w = 200 |
|||
) |
Definition at line 43 of file directories2html.py.
Referenced by fairy_url(), and fairy_url_single().
directories2html.theargv = sys.argv |
Definition at line 20 of file directories2html.py.