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 200 of file utils_v2.py.
References join(), and edm.print().
def utils_v2.auth_wget | ( | url | ) |
-----------------— Recursife file downloader --------------------—
Definition at line 186 of file utils_v2.py.
References beamvalidation.exit(), edm.print(), and readEcalDQMStatus.read.
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 462 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 98 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 80 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 73 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 42 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 32 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 60 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 51 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 446 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 435 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 391 of file utils_v2.py.
References edm.print().
Referenced by ValidationMatrix_v2.ReleaseComparison.compare().
def utils_v2.is_relvaldata | ( | files | ) |
--------------------— Make file pairs -----------------------—
Definition at line 104 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 108 of file utils_v2.py.
References mps_setup.append, beamvalidation.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 216 of file utils_v2.py.
References Vispa.Plugins.EdmBrowser.EdmDataAccessor.all(), auth_wget(), 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 256 of file utils_v2.py.
References Vispa.Plugins.EdmBrowser.EdmDataAccessor.all(), beamvalidation.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 285 of file utils_v2.py.
utils_v2.tests |
Definition at line 388 of file utils_v2.py.
Referenced by QTestHandle.attachTests(), QTestConfigure.enableTests(), and QTestConfigure.~QTestConfigure().