MURE
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ZAIReaction Class Reference

A very simple class which contains the Reaction code and its weight for possible nuclear reactions of a ZAI. More...

#include <ZAI.hxx>

Public Member Functions

 ZAIReaction ()
 
 ZAIReaction (int code, double weight)
 
 ZAIReaction (ZAIReaction const &zr)
 
 ~ZAIReaction ()
 
void SetCode (int code)
 
int GetCode ()
 
void SetWeight (double weight)
 
double GetWeight ()
 
void SetReaction (int code, double weight)
 Set a reaction code &weight.
 

Private Attributes

int fCode
 Reaction code (ENDF)
 
double fWeight
 Cross-section weight.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ZAIReaction() [1/3]

ZAIReaction::ZAIReaction ( )
inline

< Default Constructor.

◆ ZAIReaction() [2/3]

ZAIReaction::ZAIReaction ( int  code,
double  weight 
)
inline

< Normal Constructor.

◆ ZAIReaction() [3/3]

ZAIReaction::ZAIReaction ( ZAIReaction const &  zr)
inline

< Copy Constructor.

◆ ~ZAIReaction()

ZAIReaction::~ZAIReaction ( )
inline

Member Function Documentation

◆ 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

< Set the reaction code

◆ 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

Member Data Documentation

◆ fCode

int ZAIReaction::fCode
private

Reaction code (ENDF)

◆ fWeight

double ZAIReaction::fWeight
private

Cross-section weight.


The documentation for this class was generated from the following file:

MURE Project, documentation generated by Doxygen 1.9.7 - Fri Jan 19 2024