EGSnrc C++ class library  Report PIRS-898 (2021)
Iwan Kawrakow, Ernesto Mainegra-Hing, Frederic Tessier, Reid Townson and Blake Walters
Classes | Macros | Typedefs
egs_beam_source.h File Reference

A BEAM simulation source. More...

#include "egs_vector.h"
#include "egs_base_source.h"
#include "egs_rndm.h"
#include "egs_functions.h"
#include <fstream>

Go to the source code of this file.

Classes

class  EGS_BeamSource
 A BEAM simulation source. More...
 

Typedefs

typedef void(* InitFunction )(const int *, const int *, const int *, const char *, const char *, const char *, const char *, const char *, int, int, int, int, int)
 
typedef void(* FinishFunction )()
 
typedef void(* SampleFunction )(EGS_Float *, EGS_Float *, EGS_Float *, EGS_Float *, EGS_Float *, EGS_Float *, EGS_Float *, EGS_Float *, EGS_I32 *, EGS_I32 *, EGS_I64 *, EGS_I32 *)
 
typedef void(* MotionSampleFunction )(EGS_Float *, EGS_Float *, EGS_Float *, EGS_Float *, EGS_Float *, EGS_Float *, EGS_Float *, EGS_Float *, EGS_I32 *, EGS_I32 *, EGS_I64 *, EGS_I32 *, EGS_Float *)
 
typedef void(* MaxEnergyFunction )(EGS_Float *)
 

Detailed Description

A BEAM simulation source.

Author
Iwan Kawrakow, NRC

Definition in file egs_beam_source.h.