/gps/ene/

Commands

type
min
max
mono
sigma
alpha
temp
ezero
gradient
intercept
biasAlpha
calculate
emspec
diffspec
applyEneWeight

type [EnergyDis]

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

min [emin] [Unit]

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

max [emax] [Unit]

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

mono [monoenergy] [Unit]

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

sigma [Sigmae] [Unit]

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

alpha [alpha]

Sets Alpha (index) for power-law energy dist.

Available at all Geant4 states.

Parameters
alpha type d

temp [temp]

Sets the temperature for Brem and BBody distributions (in Kelvin)

Available at all Geant4 states.

Parameters
temp type d

ezero [ezero]

Sets E_0 for exponential distribution (in MeV)

Available at all Geant4 states.

Parameters
ezero type d

gradient [gradient]

Sets the gradient for Lin distribution (in 1/MeV)

Available at all Geant4 states.

Parameters
gradient type d

intercept [intercept]

Sets the intercept for Lin distributions (in MeV)

Available at all Geant4 states.

Parameters
intercept type d

biasAlpha [arbeint]

Sets the power-law index for the energy sampling distri. )

Available at all Geant4 states.

Parameters
arbeint type d

calculate

Calculates the distributions for Cdg and BBody

Available at all Geant4 states.

emspec [energyspec]

True for energy and false for momentum spectra

Available at all Geant4 states.

Parameters
energyspec type b Omittable : default value = 1

diffspec [diffspec]

True for differential and flase for integral spectra

Available at all Geant4 states.

Parameters
diffspec type b Omittable : default value = 1

applyEneWeight [flag]

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