A very simple class which contains the Reaction code and its weight for possible nuclear reactions of a ZAI.
More...
#include <ZAI.hxx>
A very simple class which contains the Reaction code and its weight for possible nuclear reactions of a ZAI.
Reaction code are ENDF code (e.g. (n, gamma)=102, (n, 2n)=16, ...).
- Author
- J. Wilson
-
PTO
- Version
- 0.1
◆ ZAIReaction() [1/3]
ZAIReaction::ZAIReaction |
( |
| ) |
|
|
inline |
◆ ZAIReaction() [2/3]
ZAIReaction::ZAIReaction |
( |
int |
code, |
|
|
double |
weight |
|
) |
| |
|
inline |
◆ ZAIReaction() [3/3]
◆ ~ZAIReaction()
ZAIReaction::~ZAIReaction |
( |
| ) |
|
|
inline |
◆ GetCode()
int ZAIReaction::GetCode |
( |
| ) |
|
|
inline |
< returns the reaction code
◆ GetWeight()
double ZAIReaction::GetWeight |
( |
| ) |
|
|
inline |
< returns the reaction weight
◆ SetCode()
void ZAIReaction::SetCode |
( |
int |
code | ) |
|
|
inline |
◆ SetReaction()
void ZAIReaction::SetReaction |
( |
int |
code, |
|
|
double |
weight |
|
) |
| |
|
inline |
Set a reaction code &weight.
For a "normal" reaction weight is 1 (e.g. (n, gamma)) ; but for fission or after tree simplification weight is <=1 ; for reaction like (n, 2alpha) weight is 2, and so one...
- Parameters
-
code | : ENDF reaction code (e.g. (n, gamma)=102, (n, 2n)=16, ...) |
weight | : cross-section weight |
◆ SetWeight()
void ZAIReaction::SetWeight |
( |
double |
weight | ) |
|
|
inline |
< set the reaction weight
◆ fCode
◆ fWeight
double ZAIReaction::fWeight |
|
private |
The documentation for this class was generated from the following file:
- /gpr/meplan/SMURE/source/include/ZAI.hxx