|
GGEMS
1.1
GPU GEant4-based Monte Carlo Simulations
|
Go to the documentation of this file.
40 : navigators_(nullptr),
41 number_of_navigators_(0),
44 GGcout(
"GGEMSNavigatorManager",
"GGEMSNavigatorManager", 3) <<
"GGEMSNavigatorManager creating..." <<
GGendl;
46 GGcout(
"GGEMSNavigatorManager",
"GGEMSNavigatorManager", 3) <<
"GGEMSNavigatorManager created!!!" <<
GGendl;
55 GGcout(
"GGEMSNavigatorManager",
"~GGEMSNavigatorManager", 3) <<
"GGEMSNavigatorManager erasing..." <<
GGendl;
62 GGcout(
"GGEMSNavigatorManager",
"~GGEMSNavigatorManager", 3) <<
"GGEMSNavigatorManager erased!!!" <<
GGendl;
71 GGcout(
"GGEMSNavigatorManager",
"Clean", 3) <<
"GGEMSNavigatorManager cleaning..." <<
GGendl;
73 GGcout(
"GGEMSNavigatorManager",
"Clean", 3) <<
"GGEMSNavigatorManager cleaned!!!" <<
GGendl;
82 GGcout(
"GGEMSNavigatorManager",
"Store", 3) <<
"Storing new navigator in GGEMS..." <<
GGendl;
112 GGcout(
"GGEMSNavigatorManager",
"StoreWorld", 3) <<
"Storing world in GGEMS..." <<
GGendl;
136 GGcout(
"GGEMSNavigatorManager",
"Initialize", 3) <<
"Initializing the GGEMS navigator(s)..." <<
GGendl;
140 std::ostringstream oss(std::ostringstream::out);
141 oss <<
"A navigator (detector or phantom) has to be declared!!!";
164 GGcout(
"GGEMSNavigatorManager",
"PrintInfos", 0) <<
"Printing infos about phantom navigators" <<
GGendl;
void PrintInfos(void) const
Print infos about navigator.
void ProjectToSolid(GGsize const &thread_index) const
Project particle to selected solid.
GGEMS class managing the range cuts in GGEMS simulation.
virtual void Initialize(void)
void ParticleSolidDistance(GGsize const &thread_index)
Compute distance between particle and solid.
void Store(GGEMSNavigator *navigator)
storing the navigator pointer to navigator manager
GGEMSNavigatorManager(void)
Unable the constructor for the user.
GGsize number_of_navigators_
GGEMSNavigator ** navigators_
void Clean(void)
clean OpenCL data if necessary
void SetNavigatorID(GGsize const &navigator_id)
set the navigator index
void PrintInfos(void) const
Printing infos about the navigators.
virtual void SaveResults(void)=0
save all results from solid
void SaveResults(void) const
save all results from world
void WorldTracking(GGsize const &thread_index) const
Tracking particles through world.
void TrackThroughSolid(GGsize const &thread_index)
Move particle through solid.
GGEMS class handling global world (space between navigators) in GGEMS.
void Initialize(bool const &is_tracking=false) const
Initialize a GGEMS navigators.
void ComputeDose(GGsize const &thread_index)
Compute dose in volume.
void TrackThroughSolid(GGsize const &thread_index) const
Track particles through selected solid.
void EnableTracking(void)
Enable tracking during simulation.
void SaveResults(void) const
save all results from navigator in files
GGEMS class for solid. This class store geometry about phantom or detector.
~GGEMSNavigatorManager(void)
Unable the destructor for the user.
Parent GGEMS class for navigator.
void Tracking(GGsize const &thread_index)
track particles through world
GGEMS class handling the source(s)
#define GGendl
overload C++ std::endl
void StoreWorld(GGEMSWorld *world)
storing the world pointer
void EnableTracking(void)
Enable tracking during simulation.
void FindSolid(GGsize const &thread_index) const
Find closest solid before project particle to it.
void Initialize(void)
initialize and check parameters for world
void ComputeDose(GGsize const &thread_index)
Compute dose in volume.
void ProjectToSolid(GGsize const &thread_index)
Project particle to entry of closest solid.
void ThrowException(std::string const &class_name, std::string const &method_name, std::string const &message)
Throw a C++ exception.