EGS Brachy
An egs++ user code for rapid brachytherapy calculations
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions
/Users/marc/Developer/EGSnrc/HEN_HOUSE/user_codes/egs_brachy/egs_brachy/eb_volcor.h File Reference

Volume correction routines for egs_brachy. More...

#include <map>
#include <set>
#include <cstdlib>
#include "egs_functions.h"
#include "egs_input.h"
#include "egs_rndm.h"
#include "egs_shapes.h"
#include "phantom.h"
#include "ginfo.h"
#include "timing.h"
#include "egs_autoenvelope/egs_sobol.h"
Include dependency graph for eb_volcor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ebvolcor::RegVolume
 RegVolumeT sruct with members (ir=RegionNumber, vol=Volume, unc=Unc) More...
 
class  ebvolcor::Options
 Volume correction initialization helper class. More...
 
struct  ebvolcor::Results
 Struct used to collect and output results about a volume correction run. More...
 
struct  ebvolcor::FileResults
 
class  ebvolcor::VolumeCorrector
 An object for controlling the volume correction routine. More...
 

Namespaces

namespace  ebvolcor
 

Typedefs

typedef pair< int, int > ebvolcor::PhantRegT
 PhantRegT is a pair of the form (PhantomNumber, PhantomRegion) e.g. a pair of (2, 12) would represent region 12 (i.e. the 13th region) of phantom 2 (i.e. the 3rd phantom)
 
typedef std::map< PhantRegT, EGS_I64 > ebvolcor::HitCounterT
 HitCounterT is used for counting how many random points land in a given phantoms region.
 

Enumerations

enum  ebvolcor::VolCorMode { ebvolcor::NO_CORRECTION , ebvolcor::ZERO_DOSE , ebvolcor::CORRECT_VOLUME }
 

Functions

EGS_Float ebvolcor::getShapeVolume (EGS_Input *shape_inp)
 get shape volume from a shape input item
 

Detailed Description

Volume correction routines for egs_brachy.

Author
Randle Taylor (randl.nosp@m.e.ta.nosp@m.ylor@.nosp@m.gmai.nosp@m.l.com)
Version
0.1

The source specific volume correction here is identical to the one used by the egs_autoenvelope geometry. There is also an additional general purpose volume correction routine to allow for correcting volumes of multiple overlapping phantoms.

egs_brachy uses its own volume correction routines to allow for correction of arbitrary phantom types (rather than just auto_envelopes). In practice this may not be required and the autoenvelope volume corrections and the egs_brachy volume correction routines(eb_volcor) can be factored out and combined into a single general purpose MC volume correction library.

Definition in file eb_volcor.h.