|
Geant4-11
|
Functions | |
| def | CalculateDEDX (part, mat, elist, verbose=0, plist=["eIoni", "eBrem", "muIoni", "muBrems", "hIoni"]) |
| def | CalculatePhotonCrossSection (mat, elist, verbose=0, plist=["compt", "", "phot", "conv"]) |
Variables | |
| list | __all__ = [ 'CalculatePhotonCrossSection', 'CalculateDEDX' ] |
# ================================================================== # Python module (Python3) # # Calculation of photon cross section and stopping power for # chared particles # # Q, 2005 # ==================================================================
| def emcalculator.CalculateDEDX | ( | part, | |
| mat, | |||
| elist, | |||
verbose = 0, |
|||
plist = ["eIoni", "eBrem", "muIoni", "muBrems", "hIoni"] |
|||
| ) |
Calculate stopping powers for a give particle, material and
a list of energy, returing stopping power for the components of
"Ionization", "Radiation" and total one.
Arguments:
part: particle name
mat: material name
elist: list of energy
verbose: verbose level [0]
plist: list of process name
(electron ionization/electron brems/
muon ionization/muon brems/hadron ionization) [StandardEM set]
Keys of index:
"ioni": ionization
"brems": Bremsstrahlung
"tot": total
Example:
dedx_list= CalculateDEDX(...)
value= dedx_list[energy_index]["ioni"]
Definition at line 87 of file emcalculator.py.
References CalculateDEDX(), and print().
Referenced by CalculateDEDX().
| def emcalculator.CalculatePhotonCrossSection | ( | mat, | |
| elist, | |||
verbose = 0, |
|||
plist = ["compt", "", "phot", "conv"] |
|||
| ) |
Calculate photon cross section for a given material and
a list of energy, returing a list of cross sections for
the components of "Copmton scattering", "rayleigh scattering",
"photoelectric effect", "pair creation" and total one.
Arguments:
mat: material name
elist: list of energy
verbose: verbose level [0]
plist: list of process name
(compton/rayleigh/photoelectic/conversion) [StandardEM set]
Keys of index:
"compt": Compton Scattering
"rayleigh": Rayleigh Scattering
"phot" : photoelectric effect
"conv" : pair Creation
"tot" : total
Example:
xsec_list= CalculatePhotonCrossSection(...)
value= xsec_list[energy_index]["compt"]
Definition at line 21 of file emcalculator.py.
References CalculatePhotonCrossSection(), and print().
Referenced by CalculatePhotonCrossSection().
|
private |
Definition at line 16 of file emcalculator.py.