Definition at line 2 of file L1TCommon.py.
4 stringTemplate =
"{plot} " + \
5 "'{var} efficiency; Offline E_{{T}}^{{miss}} (GeV); {var} efficiency'" + \
6 " {num_path} {den_path}"
7 for variable, thresholds
in variables.items():
8 for plot
in plots[variable]:
9 for threshold
in thresholds:
10 plotName =
'{0}_threshold_{1}'.
format(plot, threshold)
11 varName = plot.replace(
'efficiency',
'')
12 yield stringTemplate.format(
15 num_path=
'efficiency_raw/' + plotName +
'_Num',
16 den_path=
'efficiency_raw/' + plotName +
'_Den',
def generateEfficiencyStrings