Classes | |
class | Chi2Test |
class | ComparisonError |
class | KolmogorovTest |
class | StatisticalTest |
StatisticalTests. More... | |
Functions | |
def | auth_download_file |
def | auth_wget |
-----------------— Recursife file downloader --------------------— More... | |
def | check_disk_for_space |
def | get_relval_cmssw_version |
def | get_relval_id |
def | get_relval_max_version |
def | get_relval_version |
-------------—— Make files pairs: RelVal utils ---------------—— More... | |
def | get_relvaldata_cmssw_version |
def | get_relvaldata_id |
-----------—— Make files pairs: RelValData utils --------------—— More... | |
def | get_relvaldata_max_version |
def | get_relvaldata_version |
def | get_size_to_download |
def | get_version |
def | init_database |
Utils. More... | |
def | is_relvaldata |
--------------------— Make file pairs -----------------------— More... | |
def | make_file_pairs |
def | recursive_search_online |
def | search_on_disk |
def | show_status_bar |
Variables | |
dictionary | comparison_errors |
Exception definitions. More... | |
dictionary | tests = {KolmogorovTest.name: KolmogorovTest, Chi2Test.name: Chi2Test} |
def utils_v2.auth_download_file | ( | url, | |
chunk_size = 1048576 |
|||
) |
def utils_v2.auth_wget | ( | url | ) |
-----------------— Recursife file downloader --------------------—
Definition at line 183 of file utils_v2.py.
References cmsRelvalreport.exit, and SiPixelLorentzAngle_cfi.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 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.
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.
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 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(), and join().
Referenced by ValidationMatrix_v2.ReleaseComparison.compare().
def utils_v2.init_database | ( | db_path | ) |
Definition at line 388 of file utils_v2.py.
Referenced by ValidationMatrix_v2.ReleaseComparison.compare(), and compare_using_files_v2.RootFileComparison.was_compared().
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 python.multivaluedict.append(), python.multivaluedict.dict, cmsRelvalreport.exit, and is_relvaldata().
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 cond::ecalcond.all, auth_wget(), python.multivaluedict.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 cond::ecalcond.all, and cmsRelvalreport.exit.
Referenced by ValidationMatrix_v2.ReleaseComparison.compare().
def utils_v2.show_status_bar | ( | total_size | ) |
dictionary utils_v2.comparison_errors |
dictionary utils_v2.tests = {KolmogorovTest.name: KolmogorovTest, Chi2Test.name: Chi2Test} |
Definition at line 385 of file utils_v2.py.
Referenced by QTestHandle.attachTests(), and QTestConfigure.enableTests().