9 import g4py.emcalculator
 
   16 g4py.ExN03pl.Construct()
 
   23 gRunManager.Initialize()
 
   24 gRunManagerKernel.RunInitialization()
 
   28 for n 
in range(-3, 4):
 
   29   for i 
in range(10,99):
 
   30     elist.append(i/10.*10.**n *MeV)
 
   34 xsection_list= g4py.emcalculator.CalculatePhotonCrossSection(material, elist, 1)
 
   39 for x 
in xsection_list:
 
   40   xlist_tot.append((x[0]/MeV, x[1][
"tot"]/(cm2/g)))
 
   41   xlist_comp.append((x[0]/MeV, x[1][
"compt"]/(cm2/g)))
 
   42   xlist_pe.append((x[0]/MeV, x[1][
"phot"]/(cm2/g)))
 
   43   xlist_conv.append((x[0]/MeV, x[1][
"conv"]/(cm2/g)))
 
   48                         "Cross Section (cm^{2}/g)")
 
   50                         "Cross Section (cm^{2}/g)", 1)
 
   52                         "Cross Section (cm^{2}/g)", 7)
 
   54                         "Cross Section (cm^{2}/g)", 3)
 
const G4ParticleDefinition const G4Material *G4double range