Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ENDFYieldDataContainer Class Reference

#include <G4ENDFYieldDataContainer.hh>

Public Member Functions

 G4ENDFYieldDataContainer (G4int YieldSlots)
 
G4FFGEnumerations::MetaState GetMetaState ()
 
G4int GetProduct ()
 
G4doubleGetYieldError ()
 
G4doubleGetYieldProbability ()
 
G4int GetYieldSlots ()
 
void SetMetaState (G4FFGEnumerations::MetaState MetaState)
 
void SetProduct (G4int Product)
 
void SetYieldError (G4double *YieldError)
 
void SetYieldProbability (G4double *YieldProbability)
 
void SetYieldSlots (G4int NumberOfSlots)
 
 ~G4ENDFYieldDataContainer ()
 

Protected Attributes

G4int YieldSlots_
 
G4int Product_
 
G4FFGEnumerations::MetaState MetaState_
 
G4doubleYieldProbability_
 
G4doubleYieldError_
 

Detailed Description

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 46 of file G4ENDFYieldDataContainer.hh.

Constructor & Destructor Documentation

◆ G4ENDFYieldDataContainer()

G4ENDFYieldDataContainer::G4ENDFYieldDataContainer ( G4int YieldSlots)

◆ ~G4ENDFYieldDataContainer()

G4ENDFYieldDataContainer::~G4ENDFYieldDataContainer ( )

Default deconstructor

Definition at line 101 of file G4ENDFYieldDataContainer.cc.

102{
103 delete[] YieldProbability_;
104 delete[] YieldError_;
105}

Member Function Documentation

◆ GetMetaState()

G4FFGEnumerations::MetaState G4ENDFYieldDataContainer::GetMetaState ( )

Get the meta state

Definition at line 49 of file G4ENDFYieldDataContainer.cc.

50{
51 return MetaState_;
52}

Referenced by G4FissionProductYieldDist::SortProbability().

◆ GetProduct()

G4int G4ENDFYieldDataContainer::GetProduct ( )

Get the product

Definition at line 54 of file G4ENDFYieldDataContainer.cc.

55{
56 return Product_;
57}

Referenced by G4FissionProductYieldDist::SortProbability().

◆ GetYieldError()

G4double * G4ENDFYieldDataContainer::GetYieldError ( )

Get the yield error

Definition at line 59 of file G4ENDFYieldDataContainer.cc.

60{
61 return YieldError_;
62}

◆ GetYieldProbability()

G4double * G4ENDFYieldDataContainer::GetYieldProbability ( )

Get the yield probability

Definition at line 64 of file G4ENDFYieldDataContainer.cc.

65{
66 return YieldProbability_;
67}

Referenced by G4FissionProductYieldDist::SortProbability().

◆ GetYieldSlots()

G4int G4ENDFYieldDataContainer::GetYieldSlots ( )

Get the number of yield slots

Definition at line 69 of file G4ENDFYieldDataContainer.cc.

70{
71 return YieldSlots_;
72}

◆ SetMetaState()

void G4ENDFYieldDataContainer::SetMetaState ( G4FFGEnumerations::MetaState MetaState)

Set the meta state

Definition at line 74 of file G4ENDFYieldDataContainer.cc.

◆ SetProduct()

void G4ENDFYieldDataContainer::SetProduct ( G4int Product)

Set the product

Definition at line 79 of file G4ENDFYieldDataContainer.cc.

80{
81 Product_ = Product;
82}

◆ SetYieldError()

void G4ENDFYieldDataContainer::SetYieldError ( G4double * YieldError)

Set the yield error

Definition at line 84 of file G4ENDFYieldDataContainer.cc.

85{
87}
void Copy(G4int Elements, T *To, T *From)
Definition G4ArrayOps.hh:60

◆ SetYieldProbability()

void G4ENDFYieldDataContainer::SetYieldProbability ( G4double * YieldProbability)

Set the yield probability

Definition at line 89 of file G4ENDFYieldDataContainer.cc.

90{
92}

◆ SetYieldSlots()

void G4ENDFYieldDataContainer::SetYieldSlots ( G4int NumberOfSlots)

Set the number of yield slots

Member Data Documentation

◆ MetaState_

G4FFGEnumerations::MetaState G4ENDFYieldDataContainer::MetaState_
protected

Metastable state information of the stored isotope

Definition at line 82 of file G4ENDFYieldDataContainer.hh.

Referenced by G4ENDFYieldDataContainer(), GetMetaState(), and SetMetaState().

◆ Product_

G4int G4ENDFYieldDataContainer::Product_
protected

ZZZAAA identifier of the stored isotope

Definition at line 80 of file G4ENDFYieldDataContainer.hh.

Referenced by G4ENDFYieldDataContainer(), GetProduct(), and SetProduct().

◆ YieldError_

G4double* G4ENDFYieldDataContainer::YieldError_
protected

Array of the yield probability errors, one per yield slot

Definition at line 86 of file G4ENDFYieldDataContainer.hh.

Referenced by G4ENDFYieldDataContainer(), GetYieldError(), SetYieldError(), and ~G4ENDFYieldDataContainer().

◆ YieldProbability_

G4double* G4ENDFYieldDataContainer::YieldProbability_
protected

Array of yield probabilities, one per yield slot

Definition at line 84 of file G4ENDFYieldDataContainer.hh.

Referenced by G4ENDFYieldDataContainer(), GetYieldProbability(), SetYieldProbability(), and ~G4ENDFYieldDataContainer().

◆ YieldSlots_

G4int G4ENDFYieldDataContainer::YieldSlots_
protected

The number of energy groups, or yield slots, that are stored

Definition at line 78 of file G4ENDFYieldDataContainer.hh.

Referenced by G4ENDFYieldDataContainer(), GetYieldSlots(), SetYieldError(), and SetYieldProbability().


The documentation for this class was generated from the following files: