CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
directories2html Namespace Reference

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
 

Function Documentation

def directories2html.build_gauge (   total_success_rate,
  minrate = .80,
  small = False,
  escaped = False 
)

Definition at line 492 of file directories2html.py.

def directories2html.build_obj (   run,
  sample,
  version,
  plot_path,
  tier 
)

Definition at line 53 of file directories2html.py.

def directories2html.build_obj_addr (   run,
  sample,
  version,
  plot_path,
  tier 
)

Definition at line 43 of file directories2html.py.

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.

def directories2html.encode_obj_url (   url)

Definition at line 35 of file directories2html.py.

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.

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.

def directories2html.get_aggr_pairs_info (   dir_dict,
  the_aggr_pairs = [] 
)

Definition at line 513 of file directories2html.py.

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.

def directories2html.get_dir_stats (   directory)

Definition at line 167 of file directories2html.py.

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.

def directories2html.get_page_footer ( )

Definition at line 116 of file directories2html.py.

def directories2html.get_page_header (   directory = None,
  standalone = False,
  additional_header = "" 
)

Definition at line 77 of file directories2html.py.

def directories2html.get_pie_tooltip (   directory)

Definition at line 656 of file directories2html.py.

def directories2html.get_rank_section (   directory)

Definition at line 369 of file directories2html.py.

def directories2html.get_subdirs_section (   directory,
  hashing_flag 
)

Definition at line 185 of file directories2html.py.

def directories2html.get_summary_section (   directory,
  matrix_page = True 
)

Definition at line 220 of file directories2html.py.

def directories2html.get_title_section (   directory,
  hashing_flag,
  standalone,
  depth = 2 
)

Definition at line 121 of file directories2html.py.

def directories2html.hash_name (   file_name,
  flag 
)

Definition at line 932 of file directories2html.py.

def directories2html.make_barchart_summary (   dir_dict,
  name = "the_chart",
  title = "DQM directory",
  the_aggr_pairs = [] 
)

Definition at line 662 of file directories2html.py.

def directories2html.make_categories_summary (   dir_dict,
  aggregation_rules 
)

Definition at line 581 of file directories2html.py.

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.

def directories2html.make_twiki_table (   dir_dict,
  aggregation_rules 
)

Definition at line 621 of file directories2html.py.

def directories2html.plot_size (   h = 250,
  w = 200 
)

Definition at line 40 of file directories2html.py.

Variable Documentation

directories2html.theargv = sys.argv

Definition at line 17 of file directories2html.py.