Support nanoAOD weight collections
Is it possible something's missing from the nanoAOD decorators for weight collections? They are "LHEScaleWeight", "LHEPdfWeight", "LHEReweightingWeight", "PSWeight"
and are simple arrays of floats with the size of the array given by nXXXX
.
When I try to do:
qcdScaleSyst = op.systematic(op.c_float(1.), name="qcdScale", var0=tree.LHEScaleWeight[0], var1=tree.LHEScaleWeight[1])
I get:
TypeError: 'FloatProxy' object does not support indexing
But looking into decorateNanoAOD
it's not obvious to me how to add this kind of collections...