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::ZAIReaction |
( |
| ) |
|
|
inline |
ZAIReaction::ZAIReaction |
( |
int |
code, |
|
|
double |
weight |
|
) |
| |
|
inline |
int ZAIReaction::GetCode |
( |
| ) |
|
|
inline |
returns the reaction code
double ZAIReaction::GetWeight |
( |
| ) |
|
|
inline |
returns the reaction weight
void ZAIReaction::SetCode |
( |
int |
code | ) |
|
|
inline |
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 |
void ZAIReaction::SetWeight |
( |
double |
weight | ) |
|
|
inline |
double ZAIReaction::fWeight |
|
private |
The documentation for this class was generated from the following file:
- /home/meplan/MURE/source/include/ZAI.hxx