9 import g4py.emcalculator
16 g4py.ExN03pl.Construct()
23 gRunManager.Initialize()
24 gRunManagerKernel.RunInitialization()
28 for n
in range(-3, 3):
29 for i
in range(10,99):
30 elist.append(i/10.*10.**n *MeV)
34 dedx_list= g4py.emcalculator.CalculateDEDX(pname, material, elist, 1)
40 xlist_tot.append((x[0], x[1][
"tot"]/(MeV*cm2/g)))
41 xlist_ioni.append((x[0], x[1][
"ioni"]/(MeV*cm2/g)))
42 xlist_brems.append((x[0], x[1][
"brems"]/(MeV*cm2/g)))
47 "dE/dX (MeV cm^{2}/g)")
49 "dE/dX (MeV cm^{2}/g)", 1)
51 "dE/dX (MeV cm^{2}/g)", 3)
const G4ParticleDefinition const G4Material *G4double range