19#ifndef _FPDistribution_
20#define _FPDistribution_
64 void Add(
double E,
unsigned Rec);
122 void Add(
int Z,
int A,
int I,
double Yield);
144 bool FindZA(
int Z,
int A,
int I,
int SF);
Header file for FissionProduct class.
Header file for ZAI and ZAIReaction classes.
A distributio of Fission Products.
Definition FPDistribution.hxx:105
int GetNZAI()
Definition FPDistribution.hxx:137
string fASCIIFileName
ASCII file where access data to binary file are stored.
Definition FPDistribution.hxx:171
void BuildMap()
Fill a map of availlable fissionable species.
Definition FPDistribution.cxx:166
int fI
isomeric state of the fissile
Definition FPDistribution.hxx:165
void SetBinaryFileName(string name="FPyield.bin")
Definition FPDistribution.hxx:153
void SetASCIIFileName(string name="FPavailable.dat")
Definition FPDistribution.hxx:149
string fBinaryFileName
binary file where data (FP and yields) are stored
Definition FPDistribution.hxx:172
~FPDistribution()
Add a new FP to the FPs list with given yield.
Definition FPDistribution.cxx:70
int fA
Nucleon number of the fissile.
Definition FPDistribution.hxx:164
int fNFP
Number of FP (fZAI.size())
Definition FPDistribution.hxx:170
void DeleteYields()
Definition FPDistribution.cxx:97
int fSF
1 for Spontaneous Fission, 0 else
Definition FPDistribution.hxx:169
vector< double > fE
vector of energy groups
Definition FPDistribution.hxx:168
void Add(int Z, int A, int I, double Yield)
Definition FPDistribution.cxx:124
double Yield(int i)
Definition FPDistribution.hxx:125
int FindZAIinVector(int aZ, int aA, int aI)
Definition FPDistribution.cxx:109
map< int, map< int, map< int, map< int, FPRecord * > > > > fAvaillableFP
map of availlable fissionable species
Definition FPDistribution.hxx:173
void FindClosestZA()
Find the closest fissile available.
Definition FPDistribution.cxx:216
int GetNFP()
Definition FPDistribution.hxx:133
vector< double > GetEnergyGroups()
Definition FPDistribution.cxx:379
vector< double > fYield
vector of yield for each FP
Definition FPDistribution.hxx:167
bool FindZA(int Z, int A, int I, int SF)
returns true if the fissionable species Z,A is availlable
Definition FPDistribution.cxx:201
ZAI * GetZAI(int i)
Definition FPDistribution.hxx:129
void SetSpontaneousFission(int SF)
Definition FPDistribution.hxx:145
bool fIsMapBuild
Definition FPDistribution.hxx:174
int fZ
Proton number of the fissile.
Definition FPDistribution.hxx:163
void ReadYield(double E)
read the FP Yield for the (closest of) E fission energy
Definition FPDistribution.cxx:353
vector< ZAI * > fZAI
vector of FP
Definition FPDistribution.hxx:166
void ReadYieldFromRecord(unsigned rec)
Definition FPDistribution.cxx:313
A record in the data file where Fission Product are defined.
Definition FPDistribution.hxx:50
int GetNE()
Definition FPDistribution.hxx:66
short int fNE
Number of available Energy for FP yields for the fissile.
Definition FPDistribution.hxx:85
vector< double > fE
Energy array for FP yields for the fissile.
Definition FPDistribution.hxx:86
vector< unsigned > fEStartRec
starting record in binary file of FP yields
Definition FPDistribution.hxx:87
~FPRecord()
Add an energy dependent FP yield.
Definition FPDistribution.cxx:40
unsigned GetStartRecord()
Definition FPDistribution.hxx:78
void Add(double E, unsigned Rec)
Definition FPDistribution.cxx:47
unsigned GetERecord(int i)
Definition FPDistribution.hxx:74
double GetE(int i)
Definition FPDistribution.hxx:70
unsigned fStartRecord
starting record in binary file of FP yields
Definition FPDistribution.hxx:84
A Fission Product ZAI with its yield.
Definition FissionProduct.hxx:40
A ZAI defined a (Z, A, Isomere) for a Nucleus.
Definition ZAI.hxx:118
the namespace of the Standard C++