analyzer.modules.common.muons

Attributes

Classes

IdWps

str(object='') -> str

IsoWps

str(object='') -> str

MuonMaker

Select muons based on kinematics, ID, and isolation criteria.

Module Contents

class analyzer.modules.common.muons.IdWps[source]

Bases: str, enum.Enum

str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.

loose = 'looseId'[source]
medium = 'mediumId'[source]
tight = 'tightId'[source]
class analyzer.modules.common.muons.IsoWps[source]

Bases: str, enum.Enum

str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.

very_loose = 'very_loose'[source]
loose = 'loose'[source]
medium = 'medium'[source]
tight = 'tight'[source]
very_tight = 'very_tight'[source]
very_very_tight = 'very_very_tight'[source]
analyzer.modules.common.muons.cut_mapping[source]
class analyzer.modules.common.muons.MuonMaker[source]

Bases: analyzer.core.analysis_modules.AnalyzerModule

Select muons based on kinematics, ID, and isolation criteria.

This analyzer filters muons in an event according to minimum transverse momentum, maximum pseudorapidity, a chosen ID working point, and optional isolation requirements.

Parameters

input_colColumn

Column containing the input muon collection.

output_colColumn

Column where the selected muons will be stored.

id_working_pointIdWps

Muon ID working point (loose, medium, tight).

min_ptfloat, optional

Minimum transverse momentum in GeV, by default 10.

max_abs_etafloat, optional

Maximum absolute pseudorapidity, by default 2.4.

max_mini_isofloat, optional

Maximum mini-isolation, by default 0.1.

iso_working_pointIsoWps or None, optional

Optional isolation working point. If provided, muons must meet the corresponding isolation requirement.

input_col: analyzer.core.columns.Column[source]
output_col: analyzer.core.columns.Column[source]
id_working_point: IdWps[source]
min_pt: float = 10[source]
max_abs_eta: float = 2.4[source]
max_mini_iso: float = 0.1[source]
iso_working_point: IsoWps | None = None[source]
lint()[source]
run(columns, params)[source]
inputs(metadata)[source]
outputs(metadata)[source]
adlExport(metadata)[source]