75 NucleiTree(
bool WithReactions =
true,
bool WithSpontaneousFis =
true);
88 void ExtractZAI(
ZAI *&zai,
double MinHalfLife = 0,
int MaxRecursionDepth = 10000,
bool FromDecay =
true);
134 string GetDecay(
string DecayModes,
double &BR,
int &Iso,
int &StartPos);
139 map<int, map<int, map<int, ZAI *> > >
fChart;
Header file for FPRecord and FPDistribution classes.
Header file for StingLine class.
A distributio of Fission Products.
Definition FPDistribution.hxx:105
A NucleiTree defines the whole tree of nuclei in case of evolution for a single ZAI.
Definition NucleiTree.hxx:66
void BuildTrees()
Build Decay & Reaction trees for evolution.
Definition NucleiTree.cxx:305
void AddFissionProductsToZAI(FPDistribution *FP, ZAI *zai, double E, bool replace=false)
Definition NucleiTree.cxx:1400
bool IsTreesBuilt()
Definition NucleiTree.hxx:104
int TreeLength(ZAI *zai, int &nb)
returns the chain length of a ZAI
Definition NucleiTree.cxx:1050
void ExtractWantedZAI(ZAI *zai, bool FromDecay=true)
Definition NucleiTree.cxx:838
map< int, map< int, map< int, ZAI * > > > fChart
The whole Nuclei Chart from the fDecayDataFile.
Definition NucleiTree.hxx:139
void RenormalizeBRS(ZAI *zai, double ought_to_be)
Renormalizes the branching ratios of the given ZAI.
Definition NucleiTree.cxx:1136
ZAI * ProvideZAI(int Z, int A, int I)
return an existing ZAI* from the tree (or build it if not existing)ยจ
Definition NucleiTree.cxx:1793
string PrintTreeStats()
Write out the tree information.
Definition NucleiTree.cxx:1446
void DumpTree()
Make a nuclear chart of the tree & write it to disk.
Definition NucleiTree.cxx:1148
bool fTreesBuilt
whether or not Trees are built
Definition NucleiTree.hxx:142
int fDecayRecursionDepth
A measure of how far into the tree in decay recursive calls.
Definition NucleiTree.hxx:140
string GetDecay(string DecayModes, double &BR, int &Iso, int &StartPos)
Returns a particular decay mode.
Definition NucleiTree.cxx:1000
void FillZAI(string line, ZAI *zai)
uses values of line to fill zai
Definition NucleiTree.cxx:950
void CheckConsistency(ZAI *&zai)
Checks for self-consistency in the tree and complains if problems exist.
Definition NucleiTree.cxx:901
void WriteAsciiTree(string FileName="asciitree.dat")
Write out the tree info in ascii format.
Definition NucleiTree.cxx:1528
bool IsWantedNuclei()
Definition NucleiTree.hxx:109
void SetZAIFissionEnergy(ZAI *zai)
Set the fission energy released for fissile isotopes.
Definition NucleiTree.cxx:1067
bool fWithReactions
whether or not reactions links should be included (default yes)
Definition NucleiTree.hxx:143
void FissionProductSelection(ZAI *zai, double yield=0)
Use for selected FP.
Definition NucleiTree.cxx:1632
bool IsZAIInTree(ZAI *zai)
Definition NucleiTree.cxx:1739
void SetZAIMass(ZAI *zai)
Set the Mass for zai (not evolving case)
Definition NucleiTree.cxx:260
map< int, map< int, bool > > fWantedNuclei
The wanted Nuclei defined in MURE::SetListOfWantedNucleiFN.
Definition NucleiTree.hxx:146
string LongestTree()
find the longest chain
Definition NucleiTree.cxx:1028
int fReactionRecursionDepth
A measure of how far into the tree in reaction recursive calls.
Definition NucleiTree.hxx:141
bool fDelete
flag to know that a ZAI has been deleted from the chart
Definition NucleiTree.hxx:138
bool fWithSF
whether or not the Spontaneous Fission is included (default yes)
Definition NucleiTree.hxx:144
string fDecayDataFile
File name of the chart of nuclide file.
Definition NucleiTree.hxx:136
void FindReactions()
find the possible nuclear reactions using ReactionList
Definition NucleiTree.cxx:1202
bool fIsWantedNuclei
True when wanted nuclei file is given.
Definition NucleiTree.hxx:147
void FindDecay()
find the possible decays using fDecayDataFile file
Definition NucleiTree.cxx:365
ZAI * GetZAIInTree(ZAI *zai)
Definition NucleiTree.cxx:1769
~NucleiTree()
Destructor.
Definition NucleiTree.cxx:244
vector< ZAI * > fZaiVector
a vector of the whole chart (simplify fChart access)
Definition NucleiTree.hxx:137
void ExtractZAI(ZAI *&zai, double MinHalfLife=0, int MaxRecursionDepth=10000, bool FromDecay=true)
Extract all decay & reaction tree for a ZAI.
Definition NucleiTree.cxx:715
void ClearUnUsed()
free memory when finished
Definition NucleiTree.cxx:336
A ZAI defined a (Z, A, Isomere) for a Nucleus.
Definition ZAI.hxx:118
the namespace of the Standard C++