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 197 of file utils_v2.py.
References estimatePileup.basename, and join().
def utils_v2.auth_wget | ( | url | ) |
-----------------— Recursife file downloader --------------------—
Definition at line 183 of file utils_v2.py.
References cmsRelvalreport.exit.
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 459 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 95 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 77 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 70 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 39 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 29 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 57 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 48 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 443 of file utils_v2.py.
References createfilelist.int, and join().
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 432 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 388 of file utils_v2.py.
References estimatePileup.basename.
Referenced by ValidationMatrix_v2.ReleaseComparison.compare().
def utils_v2.is_relvaldata | ( | files | ) |
--------------------— Make file pairs -----------------------—
Definition at line 101 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 105 of file utils_v2.py.
References mps_setup.append, cmsPerfStripChart.dict, cmsRelvalreport.exit, is_relvaldata(), and harvestTrackValidationPlots.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 213 of file utils_v2.py.
References Vispa.Plugins.EdmBrowser.EdmDataAccessor.all(), auth_wget(), cmsPerfStripChart.dict, and join().
Referenced by ValidationMatrix_v2.ReleaseComparison.compare().
def utils_v2.search_on_disk | ( | work_path, | |
rel1, | |||
frags1, | |||
rel2, | |||
frags2 | |||
) |
Definition at line 253 of file utils_v2.py.
References Vispa.Plugins.EdmBrowser.EdmDataAccessor.all(), and cmsRelvalreport.exit.
Referenced by ValidationMatrix_v2.ReleaseComparison.compare().
def utils_v2.show_status_bar | ( | total_size | ) |
utils_v2.comparison_errors |
Exception definitions.
Definition at line 282 of file utils_v2.py.
utils_v2.tests |
Definition at line 385 of file utils_v2.py.
Referenced by QTestHandle.attachTests(), QTestConfigure.enableTests(), and QTestConfigure.~QTestConfigure().