Seem to need abs(x.eta()) in abs(x.eta) when calculating id_Tight for the ak8FatjetType.
Was getting:
NTupleVariable("id_Tight", lambda x : (x.numberOfDaughters()>1 and x.neutralEmEnergyFraction() <0.90 and x.neutralHadronEnergyFraction()<0.90 and x.muonEnergyFraction() < 0.8) and (abs(x.eta)>2.4 or (x.chargedEmEnergyFraction()<0.90 and x.chargedHadronEnergyFraction()>0 and x.chargedMultiplicity()>0)) , help="POG Tight jet ID lep veto"),
TypeError: bad operand type for abs(): 'ROOT.MethodProxy'
Seem to need abs(x.eta()) in abs(x.eta) when calculating id_Tight for the ak8FatjetType.
Was getting: