sanedecayrescaling.particle module

provides the wrapperclass to compare and modify evtgen source files

class sanedecayrescaling.particle.ParticleDecays(particle, *args, **kwargs)

Bases: object

Todo

Description of class ParticleDecays

check_sanity()
get_branching_fraction(daughters)

get the branching fraction for a specific decay if available

returns:
  • branching_fraction: float
  • branching_fraction_error_plus: float
  • branching_fraction_error_minus: float
read_evtgen_source(path_to_source)

extract data from a evtgen source file

read_pdg_reference(path_to_reference_file)

extract the decays from a reference file and store them in local var