Public Attributes | List of all members
MMC_history Struct Reference

Filer header data structure to .mch files to store detected photon data This header has a total of 256 bytes. More...

#include <mmc_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
 
unsigned int srcnum
 
int respin
 
unsigned int savedetflag
 
int reserved [2]
 

Detailed Description

Filer header data structure to .mch files to store detected photon data This header has a total of 256 bytes.

Member Data Documentation

◆ colcount

unsigned int MMC_history::colcount

how many output files per detected photon

◆ detected

unsigned int MMC_history::detected

how many photons are detected (not necessarily all saved)

◆ detnum

unsigned int MMC_history::detnum

number of detectors in the simulation

◆ magic

char MMC_history::magic[4]

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

◆ maxmedia

unsigned int MMC_history::maxmedia

number of media in the simulation

◆ normalizer

float MMC_history::normalizer

what is the normalization factor

◆ reserved

int MMC_history::reserved[2]

reserved fields for future extension

◆ respin

int MMC_history::respin

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

◆ savedphoton

unsigned int MMC_history::savedphoton

how many detected photons are saved in this file

◆ seedbyte

unsigned int MMC_history::seedbyte

how many bytes per RNG seed

◆ srcnum

unsigned int MMC_history::srcnum

number of sources in the simulation

◆ totalphoton

unsigned int MMC_history::totalphoton

how many total photon simulated

◆ unitinmm

float MMC_history::unitinmm

what is the voxel size of the simulation

◆ version

unsigned int MMC_history::version

version of the mch file format


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