gen_top_decay
#
Producers that determine the generator-level particles related to a top quark decay.
Classes:
|
- 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.
Custom skip function that checks whether the dataset is a MC simulation containing top quarks in the first place.
Attributes:
- 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:
- 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:
- uses = {'GenPart.genPartIdxMother', 'GenPart.pdgId', 'GenPart.statusFlags'}#