higgs_dna.selections package
Submodules
higgs_dna.selections.jet_selections module
higgs_dna.selections.lepton_selections module
higgs_dna.selections.object_selections module
- higgs_dna.selections.object_selections.delta_r_mask(first: Array, second: Array, threshold: float) Array[source]
Select objects from first which are at least threshold away from all objects in second. The result is a mask (i.e., a boolean array) of the same shape as first.
- Parameters:
first (coffea.nanoevents.methods.candidate.PtEtaPhiMCandidate) – objects which are required to be at least threshold away from all objects in second
second (coffea.nanoevents.methods.candidate.PtEtaPhiMCandidate) – objects which are all objects in first must be at leats threshold away from
threshold (float) – minimum delta R between objects
- Returns:
boolean array of objects in objects1 which pass delta_R requirement
- Return type:
coffea.nanoevents.methods.candidate.PtEtaPhiMCandidate