DAS
3.0
Das Analysis System
|
Functions | |
def | get_corr_inputs (input_dict, corr_obj) |
Variables | |
__this_dir__ = os.path.dirname(__file__) | |
dictionary | example_value_dict |
string | jec = "Summer19UL16_V7_MC" |
string | algo = "AK4PFchs" |
string | algo_ak8 = "AK8PFPuppi" |
string | lvl = "L2Relative" |
string | lvl_compound = "L1L2L3Res" |
string | unc = "Total" |
fname = os.path.join(__this_dir__, "../POG/JME/2016postVFP_UL/jet_jerc.json.gz") | |
cset = core.CorrectionSet.from_file(os.path.join(fname)) | |
fname_ak8 = os.path.join(__this_dir__, "../POG/JME/2016postVFP_UL/fatJet_jerc.json.gz") | |
cset_ak8 = core.CorrectionSet.from_file(os.path.join(fname_ak8)) | |
fname_jersmear = os.path.join(__this_dir__, "../POG/JME/jer_smear.json.gz") | |
cset_jersmear = core.CorrectionSet.from_file(os.path.join(fname_jersmear)) | |
string | key = "{}_{}_{}".format(jec, lvl, algo) |
string | key_ak8 = "{}_{}_{}".format(jec, lvl, algo_ak8) |
sf = cset[key] | |
sf_ak8 = cset_ak8[key_ak8] | |
list | sf_input_names = [inp.name for inp in sf.inputs] |
def | inputs = get_corr_inputs(example_value_dict, sf) |
string | jer = "Summer20UL16_JRV3_MC" |
jersf_value = sf.evaluate(*inputs) | |
jer_value = sf.evaluate(*inputs) | |
string | key_jersmear = "JERSmear" |
sf_jersmear = cset_jersmear[key_jersmear] | |
jersmear_factor = sf_jersmear.evaluate(*inputs) | |
def jercExample.get_corr_inputs | ( | input_dict, | |
corr_obj | |||
) |
Helper function for getting values of input variables given a dictionary and a correction object.
|
private |
string algo = "AK4PFchs" |
string algo_ak8 = "AK8PFPuppi" |
cset = core.CorrectionSet.from_file(os.path.join(fname)) |
cset_ak8 = core.CorrectionSet.from_file(os.path.join(fname_ak8)) |
cset_jersmear = core.CorrectionSet.from_file(os.path.join(fname_jersmear)) |
dictionary example_value_dict |
fname = os.path.join(__this_dir__, "../POG/JME/2016postVFP_UL/jet_jerc.json.gz") |
fname_ak8 = os.path.join(__this_dir__, "../POG/JME/2016postVFP_UL/fatJet_jerc.json.gz") |
fname_jersmear = os.path.join(__this_dir__, "../POG/JME/jer_smear.json.gz") |
def inputs = get_corr_inputs(example_value_dict, sf) |
string jec = "Summer19UL16_V7_MC" |
string jer = "Summer20UL16_JRV3_MC" |
JER-related examples #.
jer_value = sf.evaluate(*inputs) |
jersf_value = sf.evaluate(*inputs) |
jersmear_factor = sf_jersmear.evaluate(*inputs) |
string key_jersmear = "JERSmear" |
string lvl = "L2Relative" |
string lvl_compound = "L1L2L3Res" |
list sf_input_names = [inp.name for inp in sf.inputs] |
sf_jersmear = cset_jersmear[key_jersmear] |
string unc = "Total" |