1 #ifndef _FPDistribution_
2 #define _FPDistribution_
39 void Add(
double E,
unsigned Rec);
42 double GetE(
int i){
return fE[i];}
85 void Add(
int Z,
int A,
int I,
double Yield);
87 double Yield(
int i){
return fYield[i];}
90 void ReadYield(
double E);
92 bool FindZA(
int Z,
int A,
int SF);
void SetASCIIFileName(string name="FPavailable.dat")
set ASCII file
Definition: FPDistribution.hxx:94
void SetBinaryFileName(string name="FPyield.bin")
set Binary file
Definition: FPDistribution.hxx:95
vector< double > fYield
vector of yield for each FP
Definition: FPDistribution.hxx:102
A "vector" of FPDistribution.
Definition: FPDistribution.hxx:68
vector< double > fE
Energy array for FP yields for the fissile.
Definition: FPDistribution.hxx:49
int fA
Nucleon number of the fissile.
Definition: FPDistribution.hxx:100
int GetNFP()
returns the number of FP
Definition: FPDistribution.hxx:89
unsigned GetERecord(int i)
starting record in binary file of FP yields for Energy i
Definition: FPDistribution.hxx:43
unsigned fStartRecord
starting record in binary file of FP yields
Definition: FPDistribution.hxx:47
int fZ
Proton number of the fissile.
Definition: FPDistribution.hxx:99
string fBinaryFileName
binary file where data (FP and yields) are stored
Definition: FPDistribution.hxx:106
ZAI * GetZAI(int i)
returns the ith FP's ZAI
Definition: FPDistribution.hxx:88
short int fNE
Number of available Energy for FP yields for the fissile.
Definition: FPDistribution.hxx:48
string fASCIIFileName
ASCII file where access data to binary file are stored.
Definition: FPDistribution.hxx:105
int fNFP
Number of FP (fZAI.size())
Definition: FPDistribution.hxx:104
A ZAI defined a (Z,A,Isomere) for a Nucleus.
Definition: ZAI.hxx:62
int fSF
1 for Spontaneous Fission, 0 else
Definition: FPDistribution.hxx:103
double Yield(int i)
returns the yield for the ith FP
Definition: FPDistribution.hxx:87
vector< unsigned > fEStartRec
starting record in binary file of FP yields
Definition: FPDistribution.hxx:50
unsigned GetStartRecord()
starting record in binary file of FP yields
Definition: FPDistribution.hxx:44
A record in the data file where Fission Product are define.
Definition: FPDistribution.hxx:25
double GetE(int i)
Energy array for FP yields for the fissile.
Definition: FPDistribution.hxx:42
vector< ZAI * > fZAI
vector of FP
Definition: FPDistribution.hxx:101
void SetSpontaneousFission(int SF)
Say that the Spontaneous fission is requiered.
Definition: FPDistribution.hxx:93
int GetNE()
Number of available Energy for FP yields for the fissile.
Definition: FPDistribution.hxx:41
map< int, map< int, map< int, FPRecord * > > > fAvaillableFP
map of availlable fissionable species
Definition: FPDistribution.hxx:107
A FissionProduct Nucleus.
Definition: FissionProduct.hxx:21