Monte Carlo eXtreme (MCX)
Public Attributes | List of all members
MCXHistoryHeader Struct Reference

#include <mcx_utils.h>

Public Attributes

char magic [4]
 
unsigned int version
 
unsigned int maxmedia
 
unsigned int detnum
 
unsigned int colcount
 
unsigned int totalphoton
 
unsigned int detected
 
unsigned int savedphoton
 
float unitinmm
 
unsigned int seedbyte
 
float normalizer
 
int respin
 
unsigned int srcnum
 
unsigned int savedetflag
 
int reserved [2]
 

Detailed Description

Header data structure in .mch/.mct files to store detected photon data This header has a total of 256 bytes

Member Data Documentation

◆ colcount

unsigned int MCXHistoryHeader::colcount

how many output files per detected photon

◆ detected

unsigned int MCXHistoryHeader::detected

how many photons are detected (not necessarily all saved)

◆ detnum

unsigned int MCXHistoryHeader::detnum

number of detectors in the simulation

◆ magic

char MCXHistoryHeader::magic[4]

magic bits= 'M','C','X','H'

◆ maxmedia

unsigned int MCXHistoryHeader::maxmedia

number of media in the simulation

◆ normalizer

float MCXHistoryHeader::normalizer

what is the normalization factor

◆ reserved

int MCXHistoryHeader::reserved[2]

reserved fields for future extension

◆ respin

int MCXHistoryHeader::respin

if positive, repeat count so total photon=totalphoton*respin; if negative, total number is processed in respin subset

◆ savedetflag

unsigned int MCXHistoryHeader::savedetflag

number of sources for simultaneous pattern sources

◆ savedphoton

unsigned int MCXHistoryHeader::savedphoton

how many detected photons are saved in this file

◆ seedbyte

unsigned int MCXHistoryHeader::seedbyte

how many bytes per RNG seed

◆ srcnum

unsigned int MCXHistoryHeader::srcnum

number of sources for simultaneous pattern sources

◆ totalphoton

unsigned int MCXHistoryHeader::totalphoton

how many total photon simulated

◆ unitinmm

float MCXHistoryHeader::unitinmm

what is the voxel size of the simulation

◆ version

unsigned int MCXHistoryHeader::version

version of the mch file format


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