Functions | |
def | get_mille_lines |
def | get_num_evts_per_dataset |
def | get_num_evts_per_merged_dataset |
def | merge_datasets |
def | print_merging_scheme |
def | print_num_evts_per_dataset |
Variables | |
tuple | merged_datasets = merge_datasets(num_evts_per_dataset) |
tuple | mille_lines = get_mille_lines() |
string | mps_db = "mps.db" |
tuple | num_evts_per_dataset = get_num_evts_per_dataset(mille_lines) |
tuple | num_evts_per_merged_dataset = get_num_evts_per_merged_dataset(merged_datasets,num_evts_per_dataset) |
def mps_list_evts.get_mille_lines | ( | ) |
Return list of mps.db lines that correspond to a mille job
Definition at line 24 of file mps_list_evts.py.
def mps_list_evts.get_num_evts_per_dataset | ( | mille_lines | ) |
Return number of events per dataset Returns a dict `<dataset>:<num_evts>', where <dataset> is the label in the last field of the mille line.
Definition at line 41 of file mps_list_evts.py.
def mps_list_evts.get_num_evts_per_merged_dataset | ( | merged_datasets, | |
num_evts_per_dataset | |||
) |
Return number of events per merged dataset Returns a dict `<merged_dataset>:<num_evts>'; see comments to function `merge_datasets' for an explanation of <merged_dataset>.
Definition at line 60 of file mps_list_evts.py.
def mps_list_evts.merge_datasets | ( | num_evts_per_dataset | ) |
Return dict `<merged_dataset> : list of <dataset>' Associates all datasets in `num_evts_per_dataset' that belong by their name to the same PD but to a different run era. For example: isolated_mu_runa_v1, isolated_mu_runb_v1, isolated_mu_runc_v2 --> isolated_mu The returned dict has as value a list of the merged datasets.
Definition at line 77 of file mps_list_evts.py.
References python.multivaluedict.append().
def mps_list_evts.print_merging_scheme | ( | merged_datasets | ) |
Print number of events per merged dataset See comments to function `merge_datasets' for an explanation of what is meant by merged dataset.
Definition at line 100 of file mps_list_evts.py.
def mps_list_evts.print_num_evts_per_dataset | ( | num_evts_per_dataset | ) |
Print number of events per dataset See comments to function `get_num_evts_per_dataset' for an explanation of what is meant by dataset.
Definition at line 114 of file mps_list_evts.py.
tuple mps_list_evts.merged_datasets = merge_datasets(num_evts_per_dataset) |
Definition at line 150 of file mps_list_evts.py.
tuple mps_list_evts.mille_lines = get_mille_lines() |
Definition at line 148 of file mps_list_evts.py.
list mps_list_evts.mps_db = "mps.db" |
Definition at line 21 of file mps_list_evts.py.
tuple mps_list_evts.num_evts_per_dataset = get_num_evts_per_dataset(mille_lines) |
Definition at line 149 of file mps_list_evts.py.
tuple mps_list_evts.num_evts_per_merged_dataset = get_num_evts_per_merged_dataset(merged_datasets,num_evts_per_dataset) |
Definition at line 151 of file mps_list_evts.py.