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