127 ZAI(
int aZ,
int aA,
int aI);
378 string Print(
string tab =
"",
bool WithDaughter =
true,
bool FirstGeneration =
false,
double BR = 0);
386 string PrintDecay(
string tab =
"",
bool WithDaughter =
true,
bool FirstGeneration =
false,
double BR = 0);
393 string PrintReaction(
string tab =
"",
bool WithDaughter =
true,
bool FirstGeneration =
false);
556 string PrivatePrintReaction(
string tab =
"",
bool WithDaughter =
true,
bool FirstGeneration =
false,
bool firstcall =
true);
Header file for ReactionList class.
Header file for XSDIRLine class.
Reactions to take into account for evolution of a given nucleus.
Definition ReactionList.hxx:69
Extract all parameters from an XSDIR line.
Definition XSDIRLine.hxx:43
A very simple class which contains the Reaction code and its weight for possible nuclear reactions of...
Definition ZAI.hxx:50
void SetWeight(double weight)
Definition ZAI.hxx:76
double GetWeight()
Definition ZAI.hxx:80
int fCode
Reaction code (ENDF)
Definition ZAI.hxx:98
void SetReaction(int code, double weight)
Set a reaction code &weight.
Definition ZAI.hxx:91
ZAIReaction(int code, double weight)
Definition ZAI.hxx:57
void SetCode(int code)
Definition ZAI.hxx:68
~ZAIReaction()
Definition ZAI.hxx:67
double fWeight
Cross-section weight.
Definition ZAI.hxx:99
int GetCode()
Definition ZAI.hxx:72
ZAIReaction()
Definition ZAI.hxx:52
ZAIReaction(ZAIReaction const &zr)
Definition ZAI.hxx:62
A ZAI defined a (Z, A, Isomere) for a Nucleus.
Definition ZAI.hxx:118
ZAI * GetDecayDaughter(int i)
Definition ZAI.hxx:206
ZAI * GetReactionDaughter(int i)
Definition ZAI.hxx:293
int GetReactionCode(int i)
Definition ZAI.hxx:308
vector< ZAI * > fReactionDaughter
vector of reaction Daughter
Definition ZAI.hxx:573
void SetI(int aI)
Definition ZAI.hxx:160
vector< ZAIReaction * > fReactionCode
vector of the reaction codes
Definition ZAI.hxx:575
double fHalfLifeTime
Decay Half life constant.
Definition ZAI.hxx:564
void AddDecayParent(ZAI *Parent)
Add decay Parent.
Definition ZAI.cxx:215
void SetCanEmitBeta()
Definition ZAI.hxx:480
vector< ZAI * > fDecayDaughter
vector of decay Daughter
Definition ZAI.hxx:569
void SetDecayConstant(double lambda)
Definition ZAI.hxx:192
void Delete()
Definition ZAI.hxx:458
void IncrementBR(int num, double BR)
Increment a Branching Ratio.
Definition ZAI.hxx:535
int N()
Definition ZAI.hxx:148
static vector< ZAI * > fExploredZAI
Definition ZAI.hxx:593
void FissionProduct()
Definition ZAI.hxx:349
bool operator==(ZAI zai)
return true if Z, A and I are the same
Definition ZAI.cxx:960
string GetName()
Definition ZAI.hxx:173
bool fCanEmitBeta
flag to show if it can emit a beta-
Definition ZAI.hxx:587
int GetDecayMode(int i)
Definition ZAI.hxx:253
bool fHasIsomer
flag to show if another state(s) exists
Definition ZAI.hxx:583
bool IsDelete()
Definition ZAI.hxx:462
void SetAlternateZAI(ZAI *zai)
Definition ZAI.hxx:506
bool IsForceNonEvolvingZai()
Definition ZAI.hxx:519
int I()
Definition ZAI.hxx:144
double GetDecayConstant()
Definition ZAI.hxx:196
double GetHalfLifeTime()
Definition ZAI.hxx:188
int fInbase
flag to know IsInDataBase status
Definition ZAI.hxx:581
void SetInDataBase(int state)
Set the fInbase attribute to state-1.
Definition ZAI.hxx:412
double fMass
Mass of a ZAI.
Definition ZAI.hxx:563
void SetHalfLifeTime(double T_12)
Definition ZAI.hxx:184
int GetReactionDaughterSize()
Definition ZAI.hxx:277
bool IsFissionProduct()
Definition ZAI.hxx:353
bool IsZAIInMyFamilly(int Z, int A, int I, ZAI *&ZaiOfMyFamilly)
return true if the ZAI(Z, A, I) belong to this.
Definition ZAI.cxx:902
vector< ZAI * > & GetReactionDaughter()
Definition ZAI.hxx:297
bool fCanEmitDelayedNeutron
flag to show if it is a delayed neutron precursor
Definition ZAI.hxx:588
int fI
Isomeric state (Ground State, ith excited)
Definition ZAI.hxx:562
double fEnergyReleasedFromFission
The energy released from the fission of this isotope (default = 200 MeV only makes sense for fissile ...
Definition ZAI.hxx:590
vector< ZAIReaction * > & GetZAIReaction()
Definition ZAI.hxx:304
string PrintName()
Print only Name, A, I.
Definition ZAI.cxx:490
bool fUsed
whether a ZAI is really used in a Material
Definition ZAI.hxx:578
vector< double > fDecayBranchingRatio
vector of decay Branching Ratio.
Definition ZAI.hxx:571
bool PrivateIsZAIInMyFamilly(int Z, int A, int I, ZAI *&ZaiOfMyFamilly)
return true if the ZAI(Z, A, I) belong to this.
Definition ZAI.cxx:909
bool fAllowedReactionWasSet
Definition ZAI.hxx:567
void SetCanFission(bool state=true)
Definition ZAI.hxx:323
vector< ZAI * > fReactionParent
vector of reaction Parent
Definition ZAI.hxx:574
bool fDelete
whether a ZAI is deleted
Definition ZAI.hxx:579
bool fStable
whether a ZAI is stable
Definition ZAI.hxx:580
void AddReactionDaughter(ZAI *Daughter, int code, double weight, bool replace=false)
Add reaction Daughter.
Definition ZAI.cxx:447
int A()
Definition ZAI.hxx:140
double GetMass()
get the molar mass of a ZAI (g/mol)
Definition ZAI.cxx:274
bool CanEmitDelayedNeutron()
Definition ZAI.hxx:493
void SetIsRealFissile(bool state=true)
Definition ZAI.hxx:332
ZAI()
Default constructor.
Definition ZAI.cxx:42
string fAllDecays
All possible decays string.
Definition ZAI.hxx:566
~ZAI()
destructor
Definition ZAI.cxx:162
vector< int > fDecayMode
vector of decay modes
Definition ZAI.hxx:572
ReactionList * fAllowedReaction
The allowed reaction list for this ZAI (if fEvolved)
Definition ZAI.hxx:568
void SetApproximateNubar(double nu)
Definition ZAI.hxx:344
string PrintInfo()
Print all known Information of a ZAI.
Definition ZAI.cxx:655
vector< ZAI * > & GetDecayParent()
Definition ZAI.hxx:234
void SetEnergyReleasedFromFission(double Energy)
Definition ZAI.hxx:357
string GetAllDecays()
Definition ZAI.hxx:241
double ApproximateNubar()
Definition ZAI.hxx:340
void ForceNonEvolvingZai()
Definition ZAI.hxx:515
bool CanEmitBeta()
Definition ZAI.hxx:484
void Stable()
Definition ZAI.hxx:257
bool fCanFission
flag to show if it can fission
Definition ZAI.hxx:585
vector< ZAI * > & GetReactionParent()
Definition ZAI.hxx:289
void SetCanEmitDelayedNeutron()
Definition ZAI.hxx:489
vector< ZAI * > fDecayParent
vector of decay parent
Definition ZAI.hxx:570
void FindApproximateNubar()
find approximate value for mean number of neutron/fission (enter by pto's hand from ENDF B VII)
Definition ZAI.cxx:967
int fZ
number of protons
Definition ZAI.hxx:560
ZAI * GetReactionParent(int i)
Definition ZAI.hxx:285
bool fIsRealFissile
flag to show if it is a REAL fissile nucleus
Definition ZAI.hxx:586
void SetReactionList(ReactionList *l)
Set the allowed Reactions for an ZAI.
Definition ZAI.cxx:244
void AddedToMaterial()
Definition ZAI.hxx:466
double BranchingRatioSum()
returns the total sum of BR (normally >=1 && <=2)
Definition ZAI.cxx:222
double GetEnergyReleasedFromFission()
Definition ZAI.hxx:361
int fA
number of nucleons (A=0 means natural isotopes)
Definition ZAI.hxx:561
void SetIsMotherOfCutBetaDecayer(ZAI *daughter, double BR)
Fill vector of nuclei cut from tree.
Definition ZAI.cxx:1195
bool IsInDataBase()
return whether or not a nucleus is in BaseSummary file.
Definition ZAI.cxx:250
bool fNonEvolvingZai
to for a zai to not evolve but be present in MCNP composition
Definition ZAI.hxx:576
vector< int > & GetDecayMode()
Definition ZAI.hxx:249
string fName
Name of the ZAI.
Definition ZAI.hxx:559
void NotUsed()
Definition ZAI.hxx:448
bool fIsMotherOfBetaDecayer
Is ZAI a mother of a beta decaying nucleus?
Definition ZAI.hxx:589
void CutFromMammaDecay(ZAI *mamma)
Suppress Decay references of ZAI from mamma.
Definition ZAI.cxx:713
bool HasIsomer()
Definition ZAI.hxx:502
void SetMass(double m)
Definition ZAI.hxx:164
bool fFissionProduct
whether a ZAI is produced directly from ANY fission
Definition ZAI.hxx:584
vector< double > fCutBetaBR
The branching ratios of the cut beta decayers.
Definition ZAI.hxx:597
void SetA(int aA)
Definition ZAI.hxx:156
double fNubar
approximate value for mean number of neutron/fission
Definition ZAI.hxx:601
bool IsRealFissile()
Definition ZAI.hxx:336
void RemoveReactionDaugther()
Remove reaction daugther of a ZAI.
Definition ZAI.cxx:789
int GetDecayDaughterSize()
Definition ZAI.hxx:202
double GetDecayBranchingRatio(int i)
Definition ZAI.hxx:222
ReactionList * GetReactionList()
Definition ZAI.hxx:272
ZAI * GetAlternateZAI()
Definition ZAI.hxx:510
XSDIRLine * FindXSDIRLine(int &other_isomer)
Find the XSDIRLine for a ZAI.
Definition ZAI.cxx:348
void FindMass()
find mass when no evolution required
Definition ZAI.cxx:280
vector< double > & GetDecayBranchingRatio()
Definition ZAI.hxx:218
string Print(string tab="", bool WithDaughter=true, bool FirstGeneration=false, double BR=0)
Print a ZAI.
Definition ZAI.cxx:506
void Used()
Definition ZAI.hxx:444
int Z()
Definition ZAI.hxx:136
bool IsAddedToMaterial()
Definition ZAI.hxx:471
XSDIRLine * GetSaveXSDIRLine()
Definition ZAI.hxx:417
string PrintParent()
Print the Parents of a ZAI.
Definition ZAI.cxx:634
ZAI * fAlternateZAI
If no XS data, gives alternate ZAI i.e G.S. ZAI if isomer.
Definition ZAI.hxx:592
void ResetDummy()
Reset all fHaveBeenHere to false to allow other recursive method calls.
Definition ZAI.cxx:943
void AddReactionParent(ZAI *Parent)
Add reaction Parent.
Definition ZAI.cxx:440
vector< ZAI * > fCutBetaDaughters
List of the ZAI that were cut.
Definition ZAI.hxx:596
void CutFromMammaReaction(ZAI *mamma)
Suppress Reaction references of ZAI from mamma.
Definition ZAI.cxx:825
string PrintReaction(string tab="", bool WithDaughter=true, bool FirstGeneration=false)
Print a ZAI and its Reaction Daughter.
Definition ZAI.cxx:586
int GetDecayParentSize()
Definition ZAI.hxx:214
string PrivatePrintReaction(string tab="", bool WithDaughter=true, bool FirstGeneration=false, bool firstcall=true)
Print a ZAI and its Reaction Daughter.
Definition ZAI.cxx:594
int GetReactionParentSize()
Definition ZAI.hxx:281
bool CanFission()
Definition ZAI.hxx:327
void SetHasIsomer()
Definition ZAI.hxx:498
ZAI * GetDecayParent(int i)
Definition ZAI.hxx:230
void SetName(string Name)
Definition ZAI.hxx:169
void AddDecayDaughter(ZAI *Daughter, double BR, int DecayMode)
Add decay Daughter with Branching Ratio BR &Decay mode.
Definition ZAI.cxx:193
bool IsUsed()
Definition ZAI.hxx:452
bool IsStable()
Definition ZAI.hxx:261
XSDIRLine * fSaveXSDIRLine
the xsdir line for a given ZAI
Definition ZAI.hxx:594
void SetAllDecays(string decays)
Definition ZAI.hxx:245
bool fHaveBeenHere
flag used in recursive method to avoid infinit loop.
Definition ZAI.hxx:600
vector< ZAI * > & GetDecayDaughter()
Definition ZAI.hxx:210
string GetFullName()
returns the fule name (A, name, Isomeroc state)
Definition ZAI.cxx:952
double GetReactionWeight(int i)
Definition ZAI.hxx:312
void SetZ(int aZ)
Definition ZAI.hxx:152
void SetDecayBranchingRatio(int i, double BR)
Definition ZAI.hxx:226
string PrintDecay(string tab="", bool WithDaughter=true, bool FirstGeneration=false, double BR=0)
Print a ZAI and its Decay Daughter.
Definition ZAI.cxx:546
the namespace of the Standard C++