Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4ShiftedGaussian.hh>
Public Member Functions | |
G4ShiftedGaussian () | |
G4ShiftedGaussian (G4int Verbosity) | |
G4double | G4FindShiftedMean (G4double RequestedMean, G4double RequestedStdDev) |
void | G4InsertShiftedMean (G4double ShiftedMean, G4double RequestedMean, G4double RequestedStdDev) |
void | G4SetVerbosity (G4int WhatVerbosity) |
~G4ShiftedGaussian () | |
Protected Member Functions | |
void | Initialize () |
Protected Attributes | |
std::vector< std::pair< std::pair< G4double, G4double >, G4double > > | ShiftedMean_ |
G4int | Verbosity_ |
G4ShiftedGaussian is a class for storing the shifted values used for sampling a Gaussian distribution and returning only positive values; it is integrated into G4FPYSamplingOps
Definition at line 45 of file G4ShiftedGaussian.hh.
G4ShiftedGaussian::G4ShiftedGaussian | ( | ) |
Default constructor
Definition at line 41 of file G4ShiftedGaussian.cc.
G4ShiftedGaussian::G4ShiftedGaussian | ( | G4int | Verbosity | ) |
Overloaded constructor
Verbosity:
Verbosity levelDefinition at line 50 of file G4ShiftedGaussian.cc.
G4ShiftedGaussian::~G4ShiftedGaussian | ( | ) |
Default deconstructor.
Definition at line 105 of file G4ShiftedGaussian.cc.
Returns the shifted mean that correlates to a RequestedMean
and RequestedStdDev
pair. 0 is returned if there is no associated value.
Definition at line 65 of file G4ShiftedGaussian.cc.
Referenced by G4FPYSamplingOps::CheckAndSetParameters().
void G4ShiftedGaussian::G4InsertShiftedMean | ( | G4double | ShiftedMean, |
G4double | RequestedMean, | ||
G4double | RequestedStdDev ) |
Inserts a ShiftedMean
indexed by the RequestedMean
and RequestedStdDev
Definition at line 84 of file G4ShiftedGaussian.cc.
Referenced by G4FPYSamplingOps::ShiftParameters().
void G4ShiftedGaussian::G4SetVerbosity | ( | G4int | WhatVerbosity | ) |
Sets the verbosity levels
WhichVerbosity:
Combination of levelsSILENT:
All verbose output is repressedUPDATES:
Only high-level internal changes are reportedDAUGHTER_INFO:
Displays information about daughter product samplingNEUTRON_INFO:
Displays information about neutron samplingGAMMA_INFO:
Displays information about gamma samplingALPHA_INFO:
Displays information about alpha samplingMOMENTUM_INFO:
Displays information about momentum balancingEXTRAPOLATION_INTERPOLATION_INFO:
Displays information about any data extrapolation or interpolation that occursDEBUG:
Reports program flow as it steps through functionsPRINT_ALL:
Displays any and all output Definition at line 96 of file G4ShiftedGaussian.cc.
Referenced by G4FPYSamplingOps::G4SetVerbosity().
|
protected |
Initialize is a common function called by all constructors.
Definition at line 59 of file G4ShiftedGaussian.cc.
Referenced by G4ShiftedGaussian(), and G4ShiftedGaussian().
|
protected |
Contains the adjusted mean of the POSITIVE only Gaussian distribution associated with a RequestedMean
and RequestedStdDev
pair.
Definition at line 99 of file G4ShiftedGaussian.hh.
Referenced by G4FindShiftedMean(), and G4InsertShiftedMean().
|
protected |
Verbosity level
Definition at line 101 of file G4ShiftedGaussian.hh.
Referenced by G4SetVerbosity(), G4ShiftedGaussian(), and G4ShiftedGaussian().