MURE
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Private Attributes | Static Private Attributes | List of all members
Serpent::BinResult Class Reference

#include <SerpentTallyData.hxx>

Public Member Functions

 BinResult ()
 constructor
 
ValErr_t GetValErr ()
 returns value read from bin
 
void SetValErr (double value, double error)
 sets value read from bin
 
void AddIndex (unsigned index)
 adds next bin index
 
int GetCellBinIndex ()
 gets Cell Bin Index
 
int GetReactionBinIndex ()
 gets Reaction Bin Index
 
int GetETBinIndex ()
 gets Energy Grid Bin Index
 
int GetIndex (unsigned pos)
 gets Index from row "pos"
 
 ~BinResult ()
 destructor
 
string Print ()
 Printing method used when multi-run data is merged into one file.
 

Static Public Attributes

static const unsigned NUMBER_OF_INDEXES = 10
 

Private Attributes

vector< int > fBinIndices
 
ValErr_t * fData
 

Static Private Attributes

static const unsigned ET_NUM_POS = 1
 
static const unsigned CELL_NUM_POS = 3
 
static const unsigned REACTION_NUM_POS = 6
 

Detailed Description

Define a data structure for bins in detector output read from Serpent detector file.

Author
J.Hajnrych
Version
1.0

Constructor & Destructor Documentation

◆ BinResult()

Serpent::BinResult::BinResult ( )

constructor

◆ ~BinResult()

Serpent::BinResult::~BinResult ( )

destructor

Member Function Documentation

◆ AddIndex()

void Serpent::BinResult::AddIndex ( unsigned  index)

adds next bin index

◆ GetCellBinIndex()

int Serpent::BinResult::GetCellBinIndex ( )

gets Cell Bin Index

◆ GetETBinIndex()

int Serpent::BinResult::GetETBinIndex ( )

gets Energy Grid Bin Index

◆ GetIndex()

int Serpent::BinResult::GetIndex ( unsigned  pos)

gets Index from row "pos"

◆ GetReactionBinIndex()

int Serpent::BinResult::GetReactionBinIndex ( )

gets Reaction Bin Index

◆ GetValErr()

ValErr_t Serpent::BinResult::GetValErr ( )

returns value read from bin

◆ Print()

string Serpent::BinResult::Print ( )

Printing method used when multi-run data is merged into one file.

◆ SetValErr()

void Serpent::BinResult::SetValErr ( double  value,
double  error 
)

sets value read from bin

Member Data Documentation

◆ CELL_NUM_POS

const unsigned Serpent::BinResult::CELL_NUM_POS = 3
staticprivate

◆ ET_NUM_POS

const unsigned Serpent::BinResult::ET_NUM_POS = 1
staticprivate

◆ fBinIndices

vector< int > Serpent::BinResult::fBinIndices
private

◆ fData

ValErr_t* Serpent::BinResult::fData
private

◆ NUMBER_OF_INDEXES

const unsigned Serpent::BinResult::NUMBER_OF_INDEXES = 10
static

◆ REACTION_NUM_POS

const unsigned Serpent::BinResult::REACTION_NUM_POS = 6
staticprivate

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

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