higgs_dna.selections package
Submodules
higgs_dna.selections.jet_selections module
- higgs_dna.selections.jet_selections.jetvetomap(self, events, logger, dataset_name, year='2022preEE')[source]
Jet veto map
higgs_dna.selections.lepton_selections module
- higgs_dna.selections.lepton_selections.select_electrons(self, electrons: Array, diphotons: Array) Array[source]
higgs_dna.selections.object_selections module
- higgs_dna.selections.object_selections.delta_phi_mask(Phi1: Array, Phi2: Array, threshold: float) Array[source]
- 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