scale#
Column production methods related to the renormalization and factorization scales.
Classes:
|
Flag to denote which type of weights to output in the |
|
|
|
|
|
- class ScaleWeightOutput(value)[source]#
Bases:
StrEnumFlag to denote which type of weights to output in the
murmuf_weightsproducer. Options:single: Produces {mur,muf}_weight{,_up,_down}.correlated: Produces murmuf_weight{,_up,_down}.single_correlated: Produces {mur,muf,murmuf}_weight{,_up,_down}.raw: Produces all combinations mur_{nom,up,down}_muf_{nom,up,down}.
Attributes:
- single = 'single'#
- raw = 'raw'#
- class murmuf_weights(*args, **kwargs)[source]#
Bases:
ProducerAttributes:
Methods:
call_func(events, **kwargs)Producer that reads out mur and muf uncertainties on an event-by-event basis.
init_func(**kwargs)Default init function.
skip_func(**kwargs)Default skip function.
update_cls_dict(cls_name, cls_dict, get_attr)- cache_instances = True#
- call_func(events, **kwargs)#
Producer that reads out mur and muf uncertainties on an event-by-event basis. This producer assumes that the nominal entry is always the 5th LHEScaleWeight entry and that the nominal weight is already included in the LHEWeight. Can only be called with MC datasets.
- Return type:
- mc_only: bool = True#
- scale_weight_output = 'single_correlated'#
- static update_cls_dict(cls_name, cls_dict, get_attr)#
- uses = {'LHEScaleWeight'}#
- class murmuf_weights_raw(*args, **kwargs)#
Bases:
murmuf_weightsAttributes:
Methods:
skip_func(**kwargs)Default skip function.
- cache_instances = True#
- scale_weight_output = 'raw'#
- class murmuf_envelope_weights(*args, **kwargs)[source]#
Bases:
ProducerAttributes:
Methods:
call_func(events, **kwargs)Producer that determines the envelope of the mur/muf up and down variations on an event-by-event basis.
skip_func(**kwargs)Default skip function.
update_cls_dict(cls_name, cls_dict, get_attr)- cache_instances = True#
- call_func(events, **kwargs)#
Producer that determines the envelope of the mur/muf up and down variations on an event-by-event basis. See
murmuf_weightsfor details on the assumptions made about the LHEScaleWeight vector.- Return type:
- envelope_columns = ['mur_down_muf_down', 'mur_down_muf_nom', 'mur_nom_muf_down', 'mur_nom_muf_nom', 'mur_nom_muf_up', 'mur_up_muf_nom', 'mur_up_muf_up']#
- mc_only: bool = True#
- produces = {'murmuf_envelope_weight{,_up,_down}'}#
- static update_cls_dict(cls_name, cls_dict, get_attr)#
- uses = {<class 'columnflow.production.cms.scale.murmuf_weights_raw'>}#