|
string | fname = "../POG/TAU/2018_ReReco/tau.json.gz" |
|
| data = file.read().strip() |
|
| cset = _core.CorrectionSet.from_string(data) |
|
| corr1 = cset["DeepTau2017v2p1VSjet"] |
|
| corr2 = cset["DeepTau2017v2p1VSe"] |
|
| corr3 = cset["tau_trigger"] |
|
| corr4 = cset["tau_energy_scale"] |
|
| pt |
|
| eta |
|
| dm |
|
| genmatch |
|
| wp |
|
| syst |
|
| sf1 = corr1.evaluate(pt,dm,1,wp,"nom","pt") |
|
| sf2 = corr1.evaluate(pt,dm,5,wp,"nom","pt") |
|
| sf3 = corr2.evaluate(eta,1,wp,syst) |
|
| sf4 = corr2.evaluate(eta,5,wp,syst) |
|
| sf5 = corr3.evaluate(pt,dm,"etau",wp,"sf",syst) |
|
| tes1 = corr4.evaluate(pt,eta,dm,1,"DeepTau2017v2p1",syst) |
|
| tes2 = corr4.evaluate(pt,eta,dm,5,"DeepTau2017v2p1",syst) |
|