A "vector" of FPDistribution.
More...
#include <FPDistribution.hxx>
A "vector" of FPDistribution.
It contains a vector of ZAI* and the one to one correspondant vector yield for each ZAI. The data are extracted from ENDF B6 file (endfb6-y.asc) and stored in binary in a file (the name of this file is set by SetBinaryFileName() method, default being FPYield.bin). In order to find quickly the wanted yield in this file, an ascii file (the name of this file is set by SetASCIIFileName() method, default being FPavailable.dat) stores for each fissionable species (either normal fission or spontaneous fission) the position of record in the binary file. The MURE/Evo/FP/GenerateFPYield.C create these 2 files (FPavailable.dat and FPYield.bin) providing the endfb6-y.asc
- Author
- PTO
- Version
- 0.1
FPDistribution::FPDistribution |
( |
int |
Z, |
|
|
int |
A |
|
) |
| |
Normal Constructor.
- Parameters
-
Z | : number of protons of the fissile nucleus |
A | : number of nucleons of the fissile nucleus |
FPDistribution::~FPDistribution |
( |
| ) |
|
Add a new FP to the FPs list with given yield.
normal destructor
void FPDistribution::Add |
( |
int |
Z, |
|
|
int |
A, |
|
|
int |
I, |
|
|
double |
Yield |
|
) |
| |
- Parameters
-
Z | : number of protons of FP |
A | : number of nucleons (A=0 means natural isotopes) of FP |
I | : Isomeric state (0=ground state, 1 =first excited, ...) |
Yield | : production of this FP for a given fissil isotope |
Add a new FP to the FPs list.
void FPDistribution::BuildMap |
( |
| ) |
|
|
private |
Fill a map of availlable fissionable species.
void FPDistribution::FindClosestZA |
( |
| ) |
|
Find the closest fissile available.
bool FPDistribution::FindZA |
( |
int |
Z, |
|
|
int |
A, |
|
|
int |
SF |
|
) |
| |
returns true if the fissionable species Z,A is availlable
int FPDistribution::GetNFP |
( |
| ) |
|
|
inline |
ZAI* FPDistribution::GetZAI |
( |
int |
i | ) |
|
|
inline |
void FPDistribution::ReadYield |
( |
double |
E | ) |
|
read the FP Yield for the (closest of) E fission energy
void FPDistribution::SetASCIIFileName |
( |
string |
name = "FPavailable.dat" | ) |
|
|
inline |
void FPDistribution::SetBinaryFileName |
( |
string |
name = "FPyield.bin" | ) |
|
|
inline |
void FPDistribution::SetSpontaneousFission |
( |
int |
SF | ) |
|
|
inline |
Say that the Spontaneous fission is requiered.
double FPDistribution::Yield |
( |
int |
i | ) |
|
|
inline |
returns the yield for the ith FP
Nucleon number of the fissile.
string FPDistribution::fASCIIFileName |
|
private |
ASCII file where access data to binary file are stored.
map<int,map<int,map<int,FPRecord*> > > FPDistribution::fAvaillableFP |
|
private |
map of availlable fissionable species
string FPDistribution::fBinaryFileName |
|
private |
binary file where data (FP and yields) are stored
Number of FP (fZAI.size())
1 for Spontaneous Fission, 0 else
vector<double> FPDistribution::fYield |
|
private |
vector of yield for each FP
Proton number of the fissile.
vector<ZAI*> FPDistribution::fZAI |
|
private |
The documentation for this class was generated from the following files: