MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
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 ()
 Default Constructor. More...
 
 ZAIReaction (int code, double weight)
 Normal Constructor. More...
 
void SetCode (int code)
 Set the reaction code. More...
 
int GetCode ()
 returns the reaction code More...
 
void SetWeight (double weight)
 set the reaction weight More...
 
double GetWeight ()
 
void SetReaction (int code, double weight)
 Set a reaction code & weight. More...
 

Private Attributes

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

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::ZAIReaction ( )
inline

Default Constructor.

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

Normal Constructor.

Member Function Documentation

int ZAIReaction::GetCode ( )
inline

returns the reaction code

double ZAIReaction::GetWeight ( )
inline

returns the reaction weight

void ZAIReaction::SetCode ( int  code)
inline

Set the reaction code.

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

set the reaction weight

Member Data Documentation

int ZAIReaction::fCode
private

Reaction code (ENDF)

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.8.5 - Mon Nov 17 2014