type |
min |
max |
mono |
sigma |
alpha |
temp |
ezero |
gradient |
intercept |
biasAlpha |
calculate |
emspec |
diffspec |
applyEneWeight |
Sets energy distribution type
Available at all Geant4 states.
Parameters
EnergyDis | type s | Parameter candidates : Mono Lin Pow Exp CPow Gauss Brem Bbody Cdg User Arb Epn LW |
Sets minimum energy
Available at all Geant4 states.
Parameters
emin | type d | ||
Unit | type s | Omittable : default value = keV | Parameter candidates : eV keV MeV GeV TeV PeV meV J electronvolt kiloelectronvolt megaelectronvolt gigaelectronvolt teraelectronvolt petaelectronvolt millielectronVolt joule |
Sets maximum energy
Available at all Geant4 states.
Parameters
emax | type d | ||
Unit | type s | Omittable : default value = keV | Parameter candidates : eV keV MeV GeV TeV PeV meV J electronvolt kiloelectronvolt megaelectronvolt gigaelectronvolt teraelectronvolt petaelectronvolt millielectronVolt joule |
Sets a monocromatic energy (same as gps/energy)
Available at all Geant4 states.
Parameters
monoenergy | type d | ||
Unit | type s | Omittable : default value = keV | Parameter candidates : eV keV MeV GeV TeV PeV meV J electronvolt kiloelectronvolt megaelectronvolt gigaelectronvolt teraelectronvolt petaelectronvolt millielectronVolt joule |
Sets the standard deviation for Gaussian energy dist.
Available at all Geant4 states.
Parameters
Sigmae | type d | ||
Unit | type s | Omittable : default value = keV | Parameter candidates : eV keV MeV GeV TeV PeV meV J electronvolt kiloelectronvolt megaelectronvolt gigaelectronvolt teraelectronvolt petaelectronvolt millielectronVolt joule |
Sets Alpha (index) for power-law energy dist.
Available at all Geant4 states.
Parameters
alpha | type d |
Sets the temperature for Brem and BBody distributions (in Kelvin)
Available at all Geant4 states.
Parameters
temp | type d |
Sets E_0 for exponential distribution (in MeV)
Available at all Geant4 states.
Parameters
ezero | type d |
Sets the gradient for Lin distribution (in 1/MeV)
Available at all Geant4 states.
Parameters
gradient | type d |
Sets the intercept for Lin distributions (in MeV)
Available at all Geant4 states.
Parameters
intercept | type d |
Sets the power-law index for the energy sampling distri. )
Available at all Geant4 states.
Parameters
arbeint | type d |
Calculates the distributions for Cdg and BBody
Available at all Geant4 states.
True for energy and false for momentum spectra
Available at all Geant4 states.
Parameters
energyspec | type b | Omittable : default value = 1 |
True for differential and flase for integral spectra
Available at all Geant4 states.
Parameters
diffspec | type b | Omittable : default value = 1 |
Apply energy weight.
- Instead of using the Arb type histogram for sampling the energy spectrum,
energy is sampled by Linear distribution, and the Arb type histogram is
used for the weight of the generated particle.
- "/gps/ene/type LW" automatically applies this command.
- If this command has to be explicitly used, "/gps/ene/type" distribution mush be Lin.
Available at all Geant4 states.
Parameters
flag | type b | Omittable : default value = 1 |