|
Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4ENDFTapeRead.hh>
Public Member Functions | |
| G4ENDFTapeRead (const G4String &FileLocation, const G4String &FileName, G4FFGEnumerations::YieldType WhichYield, G4FFGEnumerations::FissionCause WhichCause) | |
| G4ENDFTapeRead (const G4String &FileLocation, const G4String &FileName, G4FFGEnumerations::YieldType WhichYield, G4FFGEnumerations::FissionCause WhichCause, G4int Verbosity) | |
| G4ENDFTapeRead (std::istringstream &dataStream, G4FFGEnumerations::YieldType WhichYield, G4FFGEnumerations::FissionCause WhichCause, G4int Verbosity) | |
| G4double * | G4GetEnergyGroupValues () const |
| G4int | G4GetNumberOfEnergyGroups () const |
| G4int | G4GetNumberOfFissionProducts () const |
| G4ENDFYieldDataContainer * | G4GetYield (G4int WhichYield) const |
| void | G4SetVerbosity (G4int WhatVerbosity) |
| ~G4ENDFTapeRead () | |
Protected Member Functions | |
| void | Initialize (const G4String &dataFile) |
| void | Initialize (std::istringstream &dataStream) |
G4ENDFTapeRead is a class designed to read in data from unformatted ENDF data tapes for MT = 454 or MT = 459, which correspond to independent fission yields and cumulative fission yields, respectively. The data is stored internally and can be recalled one product at a time by calling G4GetNextYield().
Definition at line 47 of file G4ENDFTapeRead.hh.
| G4ENDFTapeRead::G4ENDFTapeRead | ( | const G4String & | FileLocation, |
| const G4String & | FileName, | ||
| G4FFGEnumerations::YieldType | WhichYield, | ||
| G4FFGEnumerations::FissionCause | WhichCause ) |
Default constructor
FileLocation: the absolute path to the fileFileName: the name of the data fileWhichYield: INDEPENDENT or CUMULATIVE WhichCause: SPONTANEOUS or N_INDUCED Definition at line 47 of file G4ENDFTapeRead.cc.
| G4ENDFTapeRead::G4ENDFTapeRead | ( | const G4String & | FileLocation, |
| const G4String & | FileName, | ||
| G4FFGEnumerations::YieldType | WhichYield, | ||
| G4FFGEnumerations::FissionCause | WhichCause, | ||
| G4int | Verbosity ) |
Overloaded constructor
FileLocation: the absolute path to the fileFileName: the name of the data fileWhichYield: INDEPENDENT or CUMULATIVE WhichCause: SPONTANEOUS or N_INDUCED Verbosity: Verbosity levelDefinition at line 58 of file G4ENDFTapeRead.cc.
| G4ENDFTapeRead::G4ENDFTapeRead | ( | std::istringstream & | dataStream, |
| G4FFGEnumerations::YieldType | WhichYield, | ||
| G4FFGEnumerations::FissionCause | WhichCause, | ||
| G4int | Verbosity ) |
Overloaded constructor
DataFile: The absolute path to the data fileWhichYield: INDEPENDENT or CUMULATIVE WhichCause: SPONTANEOUS or N_INDUCED Verbosity: Verbosity levelDefinition at line 69 of file G4ENDFTapeRead.cc.
| G4ENDFTapeRead::~G4ENDFTapeRead | ( | ) |
Default Deconstructor
Definition at line 524 of file G4ENDFTapeRead.cc.
| G4double * G4ENDFTapeRead::G4GetEnergyGroupValues | ( | ) | const |
Returns and array containing the values of each of the energy groups
Definition at line 110 of file G4ENDFTapeRead.cc.
| G4int G4ENDFTapeRead::G4GetNumberOfEnergyGroups | ( | ) | const |
Returns the number of energy yield groups that were extracted from the ENDF tape file
Definition at line 118 of file G4ENDFTapeRead.cc.
| G4int G4ENDFTapeRead::G4GetNumberOfFissionProducts | ( | ) | const |
Returns the number of fission products that were extracted from the ENDF tape file
Definition at line 126 of file G4ENDFTapeRead.cc.
| G4ENDFYieldDataContainer * G4ENDFTapeRead::G4GetYield | ( | G4int | WhichYield | ) | const |
Returns the data for the requested fission product
WhichYield: 0-based index of the fission product for which to get the yield dataDefinition at line 136 of file G4ENDFTapeRead.cc.
| void G4ENDFTapeRead::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 149 of file G4ENDFTapeRead.cc.
|
protected |
Initialize is a common function called by all constructors.
Definition at line 80 of file G4ENDFTapeRead.cc.
Referenced by G4ENDFTapeRead(), G4ENDFTapeRead(), G4ENDFTapeRead(), and Initialize().
|
protected |
Initialize is a common function calles by all constructors
Definition at line 88 of file G4ENDFTapeRead.cc.