gen_top_decay#

Producers that determine the generator-level particles related to a top quark decay.

Classes:

gen_top_decay_products(*args[, ...])

class gen_top_decay_products(*args, requires_func=law.util.no_value, setup_func=law.util.no_value, sandbox=law.util.no_value, call_force=law.util.no_value, pick_cached_result=law.util.no_value, inst_dict=None, **kwargs)[source]#

Bases: Producer

Methods:

call_func(events, **kwargs)

Creates a new ragged column "gen_top_decay" with one element per hard top quark.

skip_func()

Custom skip function that checks whether the dataset is a MC simulation containing top quarks in the first place.

Attributes:

data_only

mc_only

nominal_only

produces

shifts_only

uses

call_func(events, **kwargs)#

Creates a new ragged column “gen_top_decay” with one element per hard top quark. Each element is a GenParticleArray with five or more objects in a distinct order: top quark, bottom quark, W boson, down-type quark or charged lepton, up-type quark or neutrino, and any additional decay produces of the W boson (if any, then most likly photon radiations). Per event, the structure will be similar to:

[
    # event 1
    [
        # top 1
        [t1, b1, W1, q1/l, q2/n(, additional_w_decay_products)],
        # top 2
        [...],
    ],
    # event 2
    ...
]
Return type:

Array

data_only = False#
mc_only = False#
nominal_only = False#
produces = {'gen_top_decay'}#
shifts_only = None#
skip_func()#

Custom skip function that checks whether the dataset is a MC simulation containing top quarks in the first place.

Return type:

bool

uses = {'GenPart.genPartIdxMother', 'GenPart.pdgId', 'GenPart.statusFlags'}#