CMS 3D CMS Logo

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

Functions

def add_to_blacklist
 
def call_compare_using_files
 
def check_root_files
 
def count_alive_processes
 
def do_comparisons_threaded
 
def do_html
 
def do_reports
 
def get_clean_fileanames
 
def get_filenames_from_pool
 
def get_roofiles_in_dir
 
def guess_blacklists
 
def guess_params
 
def name2globaltag
 
def name2run
 
def name2runskim
 
def name2sample
 
def name2version
 

Variables

string action = "store"
 —HASHING—## More...
 
string all_samples = ""
 
 argv = sys.argv
 
 default = ref_samples,
 
string dest = "ref_samples"
 
string help = "The samples that act as reference (comma separated list)"
 
 hlt = False
 
string in_dir = ""
 
int n_processes = 1
 
int n_threads = 1
 
string out_dir = ""
 
tuple parser = OptionParser(usage="usage: %prog [options]")
 
string ref_samples = ""
 
int run = -1
 
string stat_test = "Chi2"
 
string test_samples = ""
 
float test_threshold = 0.00001
 

Function Documentation

def ValidationMatrix.add_to_blacklist (   blacklist,
  pattern,
  target,
  blist_piece 
)

Definition at line 125 of file ValidationMatrix.py.

def ValidationMatrix.call_compare_using_files (   args)
Creates shell command to compare two files using compare_using_files.py
script and calls it.

Definition at line 272 of file ValidationMatrix.py.

def ValidationMatrix.check_root_files (   names_list)

Definition at line 116 of file ValidationMatrix.py.

def ValidationMatrix.count_alive_processes (   p_list)

Definition at line 267 of file ValidationMatrix.py.

def ValidationMatrix.do_comparisons_threaded (   options)

Definition at line 313 of file ValidationMatrix.py.

def ValidationMatrix.do_html (   options,
  hashing_flag,
  standalone 
)

Definition at line 419 of file ValidationMatrix.py.

def ValidationMatrix.do_reports (   indir)

Definition at line 391 of file ValidationMatrix.py.

def ValidationMatrix.get_clean_fileanames (   ref_samples,
  test_samples 
)

Definition at line 252 of file ValidationMatrix.py.

def ValidationMatrix.get_filenames_from_pool (   all_samples)

Definition at line 198 of file ValidationMatrix.py.

def ValidationMatrix.get_roofiles_in_dir (   directory)

Definition at line 189 of file ValidationMatrix.py.

def ValidationMatrix.guess_blacklists (   samples,
  ver1,
  ver2,
  hlt 
)
Build a blacklist for each sample accordind to a set of rules

Definition at line 148 of file ValidationMatrix.py.

def ValidationMatrix.guess_params (   ref_filenames,
  test_filenames 
)

Definition at line 67 of file ValidationMatrix.py.

def ValidationMatrix.name2globaltag (   filename)

Definition at line 61 of file ValidationMatrix.py.

def ValidationMatrix.name2run (   filename)

Definition at line 49 of file ValidationMatrix.py.

def ValidationMatrix.name2runskim (   filename)

Definition at line 53 of file ValidationMatrix.py.

def ValidationMatrix.name2sample (   filename)

Definition at line 41 of file ValidationMatrix.py.

def ValidationMatrix.name2version (   filename)

Definition at line 45 of file ValidationMatrix.py.

Variable Documentation

string ValidationMatrix.action = "store"

—HASHING—##

– USE CSS files in web access, for stand-alone usage –##

–Blacklist File –##

Definition at line 464 of file ValidationMatrix.py.

string ValidationMatrix.all_samples = ""

Definition at line 449 of file ValidationMatrix.py.

ValidationMatrix.argv = sys.argv

Definition at line 23 of file ValidationMatrix.py.

ValidationMatrix.default = ref_samples,

Definition at line 466 of file ValidationMatrix.py.

string ValidationMatrix.dest = "ref_samples"

Definition at line 465 of file ValidationMatrix.py.

string ValidationMatrix.help = "The samples that act as reference (comma separated list)"

Definition at line 467 of file ValidationMatrix.py.

ValidationMatrix.hlt = False

Definition at line 457 of file ValidationMatrix.py.

string ValidationMatrix.in_dir = ""

Definition at line 452 of file ValidationMatrix.py.

int ValidationMatrix.n_processes = 1

Definition at line 450 of file ValidationMatrix.py.

int ValidationMatrix.n_threads = 1

Definition at line 453 of file ValidationMatrix.py.

string ValidationMatrix.out_dir = ""

Definition at line 451 of file ValidationMatrix.py.

tuple ValidationMatrix.parser = OptionParser(usage="usage: %prog [options]")

Definition at line 461 of file ValidationMatrix.py.

string ValidationMatrix.ref_samples = ""

Definition at line 447 of file ValidationMatrix.py.

int ValidationMatrix.run = -1

Definition at line 454 of file ValidationMatrix.py.

string ValidationMatrix.stat_test = "Chi2"

Definition at line 455 of file ValidationMatrix.py.

string ValidationMatrix.test_samples = ""

Definition at line 448 of file ValidationMatrix.py.

float ValidationMatrix.test_threshold = 0.00001

Definition at line 456 of file ValidationMatrix.py.