Classes | |
class | Chi2Test |
class | ComparisonError |
class | KolmogorovTest |
class | StatisticalTest |
StatisticalTests. More... | |
Functions | |
def | auth_download_file (url, chunk_size=1048576) |
def | auth_wget (url) |
-----------------— Recursife file downloader --------------------— More... | |
def | check_disk_for_space (work_path, size_needed) |
def | get_relval_cmssw_version (file) |
def | get_relval_id (file) |
def | get_relval_max_version (files) |
def | get_relval_version (file) |
-------------—— Make files pairs: RelVal utils ---------------—— More... | |
def | get_relvaldata_cmssw_version (file) |
def | get_relvaldata_id (file) |
-----------—— Make files pairs: RelValData utils --------------—— More... | |
def | get_relvaldata_max_version (files) |
def | get_relvaldata_version (file) |
def | get_size_to_download (work_path, files_with_urls) |
def | get_version (filename) |
def | init_database (db_path) |
Utils. More... | |
def | is_relvaldata (files) |
--------------------— Make file pairs -----------------------— More... | |
def | make_file_pairs (files1, files2) |
def | recursive_search_online (url, rel1, frags1, rel2, frags2) |
def | search_on_disk (work_path, rel1, frags1, rel2, frags2) |
def | show_status_bar (total_size) |
Variables | |
comparison_errors | |
Exception definitions. More... | |
tests | |
Help functions for ValidationMatrix_v2.py. Author: Albertas Gimbutas, Vilnius University (LT) e-mail: albertasgim@gmail.com
def utils_v2.auth_download_file | ( | url, | |
chunk_size = 1048576 |
|||
) |
Definition at line 198 of file utils_v2.py.
References estimatePileup.basename, join(), and edm.print().
def utils_v2.auth_wget | ( | url | ) |
-----------------— Recursife file downloader --------------------—
Definition at line 184 of file utils_v2.py.
References cmsRelvalreport.exit, and edm.print().
Referenced by recursive_search_online().
def utils_v2.check_disk_for_space | ( | work_path, | |
size_needed | |||
) |
Checks afs file system for space.
Definition at line 460 of file utils_v2.py.
Referenced by ValidationMatrix_v2.ReleaseComparison.compare().
def utils_v2.get_relval_cmssw_version | ( | file | ) |
def utils_v2.get_relval_id | ( | file | ) |
Returns unique relval ID (dataset name) for a given file.
Definition at line 96 of file utils_v2.py.
def utils_v2.get_relval_max_version | ( | files | ) |
Returns file with maximum version at a) beggining of the file, e.g. DQM_V000M b) at the end of run, e.g. _run2012-vM. M has to be max.
Definition at line 78 of file utils_v2.py.
References get_relval_version().
def utils_v2.get_relval_version | ( | file | ) |
-------------—— Make files pairs: RelVal utils ---------------——
Returns tuple (CMSSW version, run version) for specified file.
Definition at line 71 of file utils_v2.py.
References createfilelist.int.
Referenced by get_relval_max_version().
def utils_v2.get_relvaldata_cmssw_version | ( | file | ) |
Returns tuple (CMSSW release, GR_R version) for specified RelValData file.
Definition at line 40 of file utils_v2.py.
Referenced by get_version().
def utils_v2.get_relvaldata_id | ( | file | ) |
-----------—— Make files pairs: RelValData utils --------------——
Returns unique relvaldata ID for a given file.
Definition at line 30 of file utils_v2.py.
def utils_v2.get_relvaldata_max_version | ( | files | ) |
Returns file with maximum version at a) beggining of the file, e.g. DQM_V000M b) at the end of run, e.g. _run2012-vM. M has to be max.
Definition at line 58 of file utils_v2.py.
References get_relvaldata_version().
def utils_v2.get_relvaldata_version | ( | file | ) |
Returns tuple (CMSSW version, run version) for specified file.
Definition at line 49 of file utils_v2.py.
References createfilelist.int.
Referenced by get_relvaldata_max_version().
def utils_v2.get_size_to_download | ( | work_path, | |
files_with_urls | |||
) |
Returns file list to download and total size to download.
Definition at line 444 of file utils_v2.py.
References createfilelist.int, join(), and edm.print().
Referenced by ValidationMatrix_v2.ReleaseComparison.compare().
def utils_v2.get_version | ( | filename | ) |
Returns CMSSW and GR_R versions for the given filename.
Definition at line 433 of file utils_v2.py.
References get_relval_cmssw_version(), get_relvaldata_cmssw_version(), is_relvaldata(), join(), and digitizers_cfi.strip.
Referenced by ValidationMatrix_v2.ReleaseComparison.compare().
def utils_v2.init_database | ( | db_path | ) |
Definition at line 389 of file utils_v2.py.
References estimatePileup.basename, and edm.print().
Referenced by ValidationMatrix_v2.ReleaseComparison.compare().
def utils_v2.is_relvaldata | ( | files | ) |
--------------------— Make file pairs -----------------------—
Definition at line 102 of file utils_v2.py.
References any().
Referenced by get_version(), and make_file_pairs().
def utils_v2.make_file_pairs | ( | files1, | |
files2 | |||
) |
Definition at line 106 of file utils_v2.py.
References mps_setup.append, cmsPerfStripChart.dict, cmsRelvalreport.exit, is_relvaldata(), edm.print(), and str.
Referenced by ValidationMatrix_v2.ReleaseComparison.compare().
def utils_v2.recursive_search_online | ( | url, | |
rel1, | |||
frags1, | |||
rel2, | |||
frags2 | |||
) |
Recursively searches for files, that matches the pattern.
Definition at line 214 of file utils_v2.py.
References Vispa.Plugins.EdmBrowser.EdmDataAccessor.all(), auth_wget(), cmsPerfStripChart.dict, join(), and edm.print().
Referenced by ValidationMatrix_v2.ReleaseComparison.compare().
def utils_v2.search_on_disk | ( | work_path, | |
rel1, | |||
frags1, | |||
rel2, | |||
frags2 | |||
) |
Definition at line 254 of file utils_v2.py.
References Vispa.Plugins.EdmBrowser.EdmDataAccessor.all(), cmsRelvalreport.exit, and edm.print().
Referenced by ValidationMatrix_v2.ReleaseComparison.compare().
def utils_v2.show_status_bar | ( | total_size | ) |
utils_v2.comparison_errors |
Exception definitions.
Definition at line 283 of file utils_v2.py.
utils_v2.tests |
Definition at line 386 of file utils_v2.py.
Referenced by QTestHandle.attachTests(), QTestConfigure.enableTests(), and QTestConfigure.~QTestConfigure().