Geant4 11.1.1
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 (void)
 
G4int GetProduct (void)
 
G4doubleGetYieldError (void)
 
G4doubleGetYieldProbability (void)
 
G4int GetYieldSlots (void)
 
void SetMetaState (G4FFGEnumerations::MetaState MetaState)
 
void SetProduct (G4int Product)
 
void SetYieldError (G4double *YieldError)
 
void SetYieldProbability (G4double *YieldProbability)
 
void SetYieldSlots (G4int NumberOfSlots)
 
 ~G4ENDFYieldDataContainer (void)
 

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

Constructor & Destructor Documentation

◆ G4ENDFYieldDataContainer()

G4ENDFYieldDataContainer::G4ENDFYieldDataContainer ( G4int  YieldSlots)

◆ ~G4ENDFYieldDataContainer()

G4ENDFYieldDataContainer::~G4ENDFYieldDataContainer ( void  )

Default deconstructor

Definition at line 111 of file G4ENDFYieldDataContainer.cc.

113{
114 delete[] YieldProbability_;
115 delete[] YieldError_;
116}

Member Function Documentation

◆ GetMetaState()

G4FFGEnumerations::MetaState G4ENDFYieldDataContainer::GetMetaState ( void  )

Get the meta state

Definition at line 50 of file G4ENDFYieldDataContainer.cc.

52{
53 return MetaState_;
54}

Referenced by G4FissionProductYieldDist::SortProbability().

◆ GetProduct()

G4int G4ENDFYieldDataContainer::GetProduct ( void  )

Get the product

Definition at line 56 of file G4ENDFYieldDataContainer.cc.

58{
59 return Product_;
60}

Referenced by G4FissionProductYieldDist::SortProbability().

◆ GetYieldError()

G4double * G4ENDFYieldDataContainer::GetYieldError ( void  )

Get the yield error

Definition at line 62 of file G4ENDFYieldDataContainer.cc.

64{
65 return YieldError_;
66}

◆ GetYieldProbability()

G4double * G4ENDFYieldDataContainer::GetYieldProbability ( void  )

Get the yield probability

Definition at line 68 of file G4ENDFYieldDataContainer.cc.

70{
71 return YieldProbability_;
72}

Referenced by G4FissionProductYieldDist::SortProbability().

◆ GetYieldSlots()

G4int G4ENDFYieldDataContainer::GetYieldSlots ( void  )

Get the number of yield slots

Definition at line 74 of file G4ENDFYieldDataContainer.cc.

76{
77 return YieldSlots_;
78}

◆ SetMetaState()

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

Set the meta state

Definition at line 80 of file G4ENDFYieldDataContainer.cc.

◆ SetProduct()

void G4ENDFYieldDataContainer::SetProduct ( G4int  Product)

Set the product

Definition at line 86 of file G4ENDFYieldDataContainer.cc.

88{
89 Product_ = Product;
90}

◆ SetYieldError()

void G4ENDFYieldDataContainer::SetYieldError ( G4double YieldError)

Set the yield error

Definition at line 92 of file G4ENDFYieldDataContainer.cc.

94{
96}
void Copy(G4int Elements, T *To, T *From)
Definition: G4ArrayOps.hh:63

◆ SetYieldProbability()

void G4ENDFYieldDataContainer::SetYieldProbability ( G4double YieldProbability)

Set the yield probability

Definition at line 98 of file G4ENDFYieldDataContainer.cc.

100{
102}

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

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

◆ Product_

G4int G4ENDFYieldDataContainer::Product_
protected

ZZZAAA identifier of the stored isotope

Definition at line 81 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 87 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 85 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 79 of file G4ENDFYieldDataContainer.hh.

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


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