Open
Description
This may well be a problem in the type info sent down the wire, not here. But this is straight from the xaod_usage
and I'm seeing:
all_particles = (ds_dijet
.SelectMany(lambda e: e.TruthParticles("TruthParticles"))
.Where(lambda tp: (tp.pt() / 1000) > 10)
.Select(lambda tp: {
'pt': tp.pt() / 1000.0,
'pdgId': abs(tp.pdgId()),
})
.AsAwkwardArray()
.value())
And I'm seeing two errors:
Method pdgId not found on object <class 'func_adl_servicex_xaodr21.xAOD.jet_v1.Jet_v1'>
And a crash (probably during C++ compilation).