Functions | |
def | build_gauge_js (rate, w=100, minrate=.80, add_rate=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_js | ( | rate, | |
w = 100 , |
|||
minrate = .80 , |
|||
add_rate = False |
|||
) |
Definition at line 512 of file directories2html.py.
References definitions.gauge_cmap, createfilelist.int, and to_hex().
Referenced by make_categories_summary(), and make_twiki_table().
def directories2html.build_obj | ( | run, | |
sample, | |||
version, | |||
plot_path, | |||
tier | |||
) |
Definition at line 59 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 49 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 452 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 63 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 73 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 543 of file directories2html.py.
References ALCARECOEcalPhiSym_cff.float, 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 302 of file directories2html.py.
References fairy_url(), and fairy_url_single().
Referenced by directory2html().
def directories2html.get_dir_stats | ( | directory | ) |
Definition at line 189 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 439 of file directories2html.py.
Referenced by directory2html().
def directories2html.get_page_footer | ( | ) |
Definition at line 141 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 83 of file directories2html.py.
References SiStripPI.min.
Referenced by directory2html(), and make_summary_table().
def directories2html.get_pie_tooltip | ( | directory | ) |
Definition at line 686 of file directories2html.py.
Referenced by make_summary_table().
def directories2html.get_rank_section | ( | directory | ) |
Definition at line 391 of file directories2html.py.
References isotrackApplyRegressor.range.
Referenced by directory2html(), and make_summary_table().
def directories2html.get_subdirs_section | ( | directory, | |
hashing_flag | |||
) |
Definition at line 207 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 242 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 146 of file directories2html.py.
References hash_name().
Referenced by directory2html().
def directories2html.hash_name | ( | file_name, | |
flag | |||
) |
Definition at line 961 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 692 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 611 of file directories2html.py.
References build_gauge_js(), ALCARECOEcalPhiSym_cff.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 726 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(), SiStripPI.min, isotrackApplyRegressor.range, and submitPVValidationJobs.split().
Referenced by ValidationMatrix.do_html().
def directories2html.make_twiki_table | ( | dir_dict, | |
aggregation_rules | |||
) |
Definition at line 651 of file directories2html.py.
References build_gauge_js(), get_aggr_pairs_info(), and submitPVValidationJobs.split().
def directories2html.plot_size | ( | h = 250 , |
|
w = 200 |
|||
) |
Definition at line 46 of file directories2html.py.
Referenced by fairy_url(), and fairy_url_single().
directories2html.argv |
Definition at line 21 of file directories2html.py.
directories2html.theargv |
Definition at line 20 of file directories2html.py.