Geant4
10.02.p02
|
G4ENDFYieldDataContainer is a simple data storage class that handles the memory management internally. More...
#include <G4ENDFYieldDataContainer.hh>
Public Member Functions | |
G4ENDFYieldDataContainer (G4int YieldSlots) | |
Default constructor. More... | |
G4FFGEnumerations::MetaState | GetMetaState (void) |
Get the meta state. More... | |
G4int | GetProduct (void) |
Get the product. More... | |
G4double * | GetYieldError (void) |
Get the yield error. More... | |
G4double * | GetYieldProbability (void) |
Get the yield probability. More... | |
G4int | GetYieldSlots (void) |
Get the number of yield slots. More... | |
void | SetMetaState (G4FFGEnumerations::MetaState MetaState) |
Set the meta state. More... | |
void | SetProduct (G4int Product) |
Set the product. More... | |
void | SetYieldError (G4double *YieldError) |
Set the yield error. More... | |
void | SetYieldProbability (G4double *YieldProbability) |
Set the yield probability. More... | |
void | SetYieldSlots (G4int NumberOfSlots) |
Set the number of yield slots. More... | |
~G4ENDFYieldDataContainer (void) | |
Default deconstructor. More... | |
Protected Attributes | |
G4int | YieldSlots_ |
The number of energy groups, or yield slots, that are stored. More... | |
G4int | Product_ |
ZZZAAA identifier of the stored isotope. More... | |
G4FFGEnumerations::MetaState | MetaState_ |
Metastable state information of the stored isotope. More... | |
G4double * | YieldProbability_ |
Array of yield probabilities, one per yield slot. More... | |
G4double * | YieldError_ |
Array of the yield probability errors, one per yield slot. More... | |
G4ENDFYieldDataContainer is a simple data storage class that handles the memory management internally.
One instance stores the information for one fission product. In the event of a non-spontaneous fission, it can store the yield probabilities and errors at each of the fission- inducing particles energy levels. For ENDF data and neutron-induced fission these energies are typically 0.0253 eV, 1 MeV, and 5 MeV.
Definition at line 47 of file G4ENDFYieldDataContainer.hh.
G4ENDFYieldDataContainer::G4ENDFYieldDataContainer | ( | G4int | YieldSlots | ) |
Default constructor.
Definition at line 40 of file G4ENDFYieldDataContainer.cc.
References G4FFGEnumerations::GROUND_STATE, MetaState_, Product_, YieldError_, YieldProbability_, and YieldSlots_.
G4ENDFYieldDataContainer::~G4ENDFYieldDataContainer | ( | void | ) |
Default deconstructor.
Definition at line 112 of file G4ENDFYieldDataContainer.cc.
References YieldError_, and YieldProbability_.
G4FFGEnumerations::MetaState G4ENDFYieldDataContainer::GetMetaState | ( | void | ) |
Get the meta state.
Definition at line 51 of file G4ENDFYieldDataContainer.cc.
References MetaState_.
Referenced by G4FissionProductYieldDist::SortProbability().
G4int G4ENDFYieldDataContainer::GetProduct | ( | void | ) |
Get the product.
Definition at line 57 of file G4ENDFYieldDataContainer.cc.
References Product_.
Referenced by G4FissionProductYieldDist::SortProbability().
G4double * G4ENDFYieldDataContainer::GetYieldError | ( | void | ) |
Get the yield error.
Definition at line 63 of file G4ENDFYieldDataContainer.cc.
References YieldError_.
G4double * G4ENDFYieldDataContainer::GetYieldProbability | ( | void | ) |
Get the yield probability.
Definition at line 69 of file G4ENDFYieldDataContainer.cc.
References YieldProbability_.
Referenced by G4FissionProductYieldDist::SortProbability().
G4int G4ENDFYieldDataContainer::GetYieldSlots | ( | void | ) |
Get the number of yield slots.
Definition at line 75 of file G4ENDFYieldDataContainer.cc.
References YieldSlots_.
void G4ENDFYieldDataContainer::SetMetaState | ( | G4FFGEnumerations::MetaState | MetaState | ) |
Set the meta state.
Definition at line 81 of file G4ENDFYieldDataContainer.cc.
References MetaState_.
Referenced by G4ENDFTapeRead::ReadInData().
void G4ENDFYieldDataContainer::SetProduct | ( | G4int | Product | ) |
Set the product.
Definition at line 87 of file G4ENDFYieldDataContainer.cc.
References Product_.
Referenced by G4ENDFTapeRead::ReadInData().
void G4ENDFYieldDataContainer::SetYieldError | ( | G4double * | YieldError | ) |
Set the yield error.
Definition at line 93 of file G4ENDFYieldDataContainer.cc.
References G4ArrayOps::Copy(), YieldError_, and YieldSlots_.
Referenced by G4ENDFTapeRead::ReadInData().
void G4ENDFYieldDataContainer::SetYieldProbability | ( | G4double * | YieldProbability | ) |
Set the yield probability.
Definition at line 99 of file G4ENDFYieldDataContainer.cc.
References G4ArrayOps::Copy(), YieldProbability_, and YieldSlots_.
Referenced by G4ENDFTapeRead::ReadInData().
void G4ENDFYieldDataContainer::SetYieldSlots | ( | G4int | NumberOfSlots | ) |
Set the number of yield slots.
|
protected |
Metastable state information of the stored isotope.
Definition at line 83 of file G4ENDFYieldDataContainer.hh.
Referenced by G4ENDFYieldDataContainer(), GetMetaState(), and SetMetaState().
|
protected |
ZZZAAA identifier of the stored isotope.
Definition at line 81 of file G4ENDFYieldDataContainer.hh.
Referenced by G4ENDFYieldDataContainer(), GetProduct(), and SetProduct().
|
protected |
Array of the yield probability errors, one per yield slot.
Definition at line 87 of file G4ENDFYieldDataContainer.hh.
Referenced by G4ENDFYieldDataContainer(), GetYieldError(), SetYieldError(), and ~G4ENDFYieldDataContainer().
|
protected |
Array of yield probabilities, one per yield slot.
Definition at line 85 of file G4ENDFYieldDataContainer.hh.
Referenced by G4ENDFYieldDataContainer(), GetYieldProbability(), SetYieldProbability(), and ~G4ENDFYieldDataContainer().
|
protected |
The number of energy groups, or yield slots, that are stored.
Definition at line 79 of file G4ENDFYieldDataContainer.hh.
Referenced by G4ENDFYieldDataContainer(), GetYieldSlots(), SetYieldError(), and SetYieldProbability().