Accessing an object's index
It's currently not obvious to me how to best define a collection that excludes another collection. Say we have b jets:
bJets = op.select(tree.Jet, lambda jet: jet.btagDeepFlavB >= 0.277)
It seems the only way to define anti-tagged jets would currently be:
lightJets = op.select(tree.Jet, lambda jet: jet.btagDeepFlavB < 0.277)
But it seems more intuitive/readable to take all jets and exclude the b-tagged jets, e.g. sth like:
lightJets = op.select(tree.Jet, lambda jet: op.NOT(op.rng_any(bJets, lambda bj: bj.idx == jet.idx)))
Is there a way to access the index like that?