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 |
|||
) |
Definition at line 200 of file utils_v2.py.
References join(), and print().
def utils_v2.auth_wget | ( | url | ) |
-----------------— Recursife file downloader --------------------—
Definition at line 186 of file utils_v2.py.
References beamvalidation.exit(), print(), 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 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.
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.
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 join(), and 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.
def utils_v2.init_database | ( | db_path | ) |
Definition at line 391 of file utils_v2.py.
References print().
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 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 bitset_utilities.append(), beamvalidation.exit(), is_relvaldata(), 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 python.cmstools.all(), auth_wget(), join(), and 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 python.cmstools.all(), beamvalidation.exit(), and print().
Referenced by ValidationMatrix_v2.ReleaseComparison.compare().
def utils_v2.show_status_bar | ( | total_size | ) |
Shows download status.
Definition at line 480 of file utils_v2.py.
dictionary utils_v2.comparison_errors |
dictionary utils_v2.tests = {KolmogorovTest.name: KolmogorovTest, Chi2Test.name: Chi2Test} |
Definition at line 388 of file utils_v2.py.