|
GGEMS
1.1
GPU GEant4-based Monte Carlo Simulations
|
Go to the documentation of this file. 1 #ifndef GUARD_GGEMS_NAVIGATORS_GGEMSNAVIGATORMANAGER_HH
2 #define GUARD_GGEMS_NAVIGATORS_GGEMSNAVIGATORMANAGER_HH
113 void Initialize(
bool const& is_tracking =
false)
const;
119 void PrintInfos(
void)
const;
144 for (
GGsize i = 0; i < number_of_navigators_; ++i) {
145 if (navigator_name == navigators_[i]->GetNavigatorName()) {
146 return navigators_[i];
160 GGsize number_of_registered_solid = 0;
162 for (
GGsize i = 0; i < number_of_navigators_; ++i) {
163 number_of_registered_solid += navigators_[i]->GetNumberOfSolids();
166 return number_of_registered_solid;
174 void FindSolid(
GGsize const& thread_index)
const;
181 void ProjectToSolid(
GGsize const& thread_index)
const;
188 void TrackThroughSolid(
GGsize const& thread_index)
const;
194 void SaveResults(
void)
const;
201 void WorldTracking(
GGsize const& thread_index)
const;
208 void ComputeDose(
GGsize const& thread_index);
222 #endif // End of GUARD_GGEMS_NAVIGATORS_GGEMSNAVIGATORMANAGER_HH
GGsize GetNumberOfRegisteredSolids(void) const
get the number of current registered solid
GGsize GetNumberOfNavigators(void) const
Get the number of navigators.
GGEMSNavigatorManager & operator=(GGEMSNavigatorManager const &navigator_manager)=delete
Avoid assignement of the class by reference.
GGsize number_of_navigators_
GGEMSNavigator ** navigators_
static GGEMSNavigatorManager & GetInstance(void)
Create at first time the Singleton.
GGEMS class handling global world (space between navigators) in GGEMS.
GGEMSNavigatorManager & operator=(GGEMSNavigatorManager const &&navigator_manager)=delete
Avoid copy of the class by rvalue reference.
GGEMS class handling the navigators (detector + phantom) in GGEMS.
GGEMS class handling global world (space between navigators) in GGEMS.
GGEMSNavigatorManager(GGEMSNavigatorManager const &navigator_manager)=delete
Avoid copy of the class by reference.
Parent GGEMS class for navigator.
GGEMSNavigator * GetNavigator(std::string const &navigator_name) const
get the navigator by the name
GGEMSNavigatorManager(GGEMSNavigatorManager const &&navigator_manager)=delete
Avoid copy of the class by rvalue reference.
GGEMSNavigator ** GetNavigators(void) const
get the list of navigators
Parent GGEMS class for navigation.
void ThrowException(std::string const &class_name, std::string const &method_name, std::string const &message)
Throw a C++ exception.