sanedecayrescaling.translate_particles module¶
provide class hep_translator
-
class
sanedecayrescaling.translate_particles.HepTranslator¶ Bases:
objecttranslate particle names from one set into another
-
pdg_alt_names= {}¶
-
pdg_anti_particle_dict= {'D0': 'Dbar0', 'nu(e)': 'nubar(e)', 'pi+': 'pi-', 'nu(mu)': 'nubar(mu)', 'e+': 'e-', 'nu(tau)': 'nubar(tau)', 'K+': 'K-', 'tau+': 'tau-', 'K*(892)+': 'K*(892)-', 'n': 'nbar', 'rho+': 'rho-', 'p': 'pbar', 'D(s)+': 'D_s-', 'K0': 'Kbar0', 'K*(892)0': 'Kbar*(892)0', 'D*(2010)+': 'D*(2010)-', 'mu+': 'mu-', 'D+': 'D-'}¶
-
pdg_evtgen_dict= {'nu(e)': 'nu_e', 'K(1)(1270)+': 'K_1+', 'a(2)(1320)+': 'a_2+', 'a(2)(1320)-': 'a_2-', 'D(s0)*(2317)-': 'D_s0*-', 'D(s0)*(2317)+': 'D_s0*+', 'a(2)0': 'a_20', 'b(1)(1235)0': 'b_10', 'D(2)*(2460)0': 'D_2*0', 'eta(c)': 'eta_c', 'D*(2010)-': 'D*-', 'D(2)*(2460)+': 'D_2*+', 'b(1)(1235)+': 'b_1+', 'b(1)(1235)-': 'b_1-', 'D*(2010)+': 'D*+', 'D(2)*(2460)-': 'D_2*-', 'a(2)-': 'a_2-', 'D(0)*(2400)+': 'D_0*+', 'a(2)+': 'a_2+', 'D(0)*(2400)-': 'D_0*-', 'Xi(c)0': 'Xi_c0', 'Xibar(c)0': 'anti-Xi_c0', 'K*(892)-': 'K*-', 'eta(c)(2S)': 'eta_c(2S)', 'K*(892)+': 'K*+', 'D(2)*0': 'D_2*0', 'p': 'p+', 'D(s)+': 'D_s+', 'D(s)-': 'D_s-', 'K*(892)0': 'K*0', 'Dbar*(2007)0': 'anti-D*0', 'nbar': 'anti-n0', 'b(1)-': 'b_1-', 'D(1)(2420)0': "D'_10", 'D(s1)(2536)+': "D'_s1+", 'D(s1)(2536)-': "D'_s1-", 'b(1)+': 'b_1+', 'f(2)(1270)': 'f_2', 'D(1)(2420)+': "D'_1+", 'b(1)0': 'b_10', 'D(1)(2420)-': "D'_1-", 'a(1)-': 'a_1-', 'a(1)+': 'a_1+', 'nu(tau)': 'nu_tau', 'K(1)(1270)0': "anti-K'_10", 'Dbar0': 'anti-D0', 'D(2)*-': 'D_2*-', 'K(L)0': 'K_L0', 'phi(1020)': 'phi', 'K(1)(1270)-': 'K_1-', 'D(2)*+': 'D_2*+', 'a(1)0': 'a_10', "eta'(958)": "eta'", 'D(s)*-': 'D_s*-', 'a(2)(1320)0': 'a_20', 'D(s)*+': 'D_s*+', 'nubar(mu)': 'anti-nu_mu', 'a(1)(1260)+': 'a_1+', 'a(1)(1260)-': 'a_1-', 'Kbar0': 'anti-K0', 'a(1)(1260)0': 'a_10', 'D*(2010)+-': 'D*+-', 'J/psi(1S)': 'J/psi', 'D(1)0': 'D_10', 'Kbar*(892)0': 'anti-K*0', 'D(1)-': 'D_1-', 'f(1)(1285)': 'f_1', 'D(1)+': 'D_1+', 'chi(c2)': 'chi_c2', 'f(0)(980)': 'f_0', 'Lambda(c)-': 'anti-Lambda_c-', 'Lambda(c)+': 'Lambda_c+', 'pbar': 'anti-p-', 'chi(c1)': 'chi_c1', 'Lambda': 'Lambda0', 'nu(mu)': 'nu_mu', 'K(1)(1400)0': "K'_10", 'n': 'n0', 'K(1)(1400)+': "K'_1+", 'Lambdabar': 'anti-Lambda0', 'K(1)(1400)-': "K'_1-", 'f(0)(1500)': 'f_0(1500)', 'nubar(e)': 'anti-nu_e', 'D(0)*(2400)0': 'D_0*0', 'chi(c0)': 'chi_c0', 'a(0)+': 'a_0+', 'D(0)*0': 'D_0*0', 'a(0)-': 'a_0-', 'D(0)*+': 'D_0*+', 'a(0)0': 'a_00', 'D(0)*-': 'D_0*-', 'D(s1)(2460)+': 'D_s1+', 'D(s1)(2460)-': 'D_s1-', 'nubar(tau)': 'anti-nu_tau', 'D*(2007)0': 'D*0', 'K(0)*(1430)0': 'K_0*0', 'K(S)0': 'K_S0', 'Kbar*0': 'anti-K*0', 'K(0)*(1430)+': 'K_0*+', 'K(0)*(1430)-': 'K_0*-'}¶
-
translate_evtgen_to_pdg(evtgen_particle_name)¶ Return the name of the particle in an pdg ASCII-File
Parameters: evtgen_particle_name (string) – name of a particle in the evtgen decay.dec
-
translate_pdg_anti_particle(pdg_particle_name)¶ Translate the name of a particle to it’s anti-particle
-
translate_pdg_to_evtgen(pdg_particle_name)¶ Return the name of the particle in an EvtGen Decay-File
Parameters: pdg_particle_name (string) – name of a particle in the pdg ascii-file
-