|
Falaise
4.0.1
SuperNEMO Software Toolkit
|
A geometry manager plugin with embedded SuperNEMO locators. More...
#include <falaise/snemo/geometry/locator_plugin.h>
Classes | |
| struct | locator_entry_type |
Public Types | |
| typedef datatools::handle< geomtools::base_locator > | locator_handle_type |
| typedef std::map< std::string, locator_entry_type > | locator_dict_type |
Public Member Functions | |
| locator_plugin () | |
| Default constructor. More... | |
| virtual | ~locator_plugin () |
| Destructor. More... | |
| virtual int | initialize (const datatools::properties &config_, const geomtools::manager::plugins_dict_type &plugins_, const datatools::service_dict_type &services_) |
| Main plugin initialization method. More... | |
| virtual int | reset () |
| Plugin reset method. More... | |
| virtual bool | is_initialized () const |
| Check if plugin is initialized. More... | |
| const locator_dict_type & | get_locators () const |
| Returns a non-mutable reference to the dictionary of locators. More... | |
| locator_dict_type & | grab_locators () |
| Returns a mutable reference to the dictionary of locators. More... | |
| bool | has_gg_locator () const |
| Check if geiger locator is available. More... | |
| bool | has_calo_locator () const |
| Check if calo locator is available. More... | |
| bool | has_xcalo_locator () const |
| Check if xcalo locator is available. More... | |
| bool | has_gveto_locator () const |
| Check if gveto locator is available. More... | |
| const snemo::geometry::gg_locator & | get_gg_locator () const |
| Returns a non-mutable reference to the geiger locator. More... | |
| const snemo::geometry::calo_locator & | get_calo_locator () const |
| Returns a non-mutable reference to the main wall locator. More... | |
| const snemo::geometry::xcalo_locator & | get_xcalo_locator () const |
| Returns a non-mutable reference to the X wall locator. More... | |
| const snemo::geometry::gveto_locator & | get_gveto_locator () const |
| Returns a non-mutable reference to the gamma veto locator. More... | |
Public Member Functions inherited from geomtools::manager::base_plugin | |
| base_plugin () | |
| virtual | ~base_plugin () |
| void | set_geo_manager (manager &geo_mgr_) |
| const manager & | get_geo_manager () const |
| virtual int | initialize_standalone (const datatools::properties &config) |
| virtual int | initialize_simple (const datatools::properties &config_, const plugins_dict_type &plugins_) |
| virtual int | initialize (const datatools::properties &config_, const plugins_dict_type &plugins_, const datatools::service_dict_type &services_)=0 |
| datatools::logger::priority | get_logging_priority () const |
| void | set_logging_priority (datatools::logger::priority) |
Protected Member Functions | |
| void | _build_locators (const datatools::properties &config_) |
| Internal mapping build method. More... | |
Protected Member Functions inherited from geomtools::manager::base_plugin | |
| void | _basic_initialize (const datatools::properties &config_) |
| manager & | _grab_geo_manager () |
| bool | _has_geom_setup_requirement () const |
| void | _check_geom_setup_requirement () const |
Additional Inherited Members | |
Protected Attributes inherited from geomtools::manager::base_plugin | |
| datatools::logger::priority | _logging |
A geometry manager plugin with embedded SuperNEMO locators.
| typedef std::map<std::string, locator_entry_type> snemo::geometry::locator_plugin::locator_dict_type |
| typedef datatools::handle<geomtools::base_locator> snemo::geometry::locator_plugin::locator_handle_type |
| snemo::geometry::locator_plugin::locator_plugin | ( | ) |
Default constructor.
|
virtual |
Destructor.
|
protected |
Internal mapping build method.
| const snemo::geometry::calo_locator& snemo::geometry::locator_plugin::get_calo_locator | ( | ) | const |
Returns a non-mutable reference to the main wall locator.
| const snemo::geometry::gg_locator& snemo::geometry::locator_plugin::get_gg_locator | ( | ) | const |
Returns a non-mutable reference to the geiger locator.
| const snemo::geometry::gveto_locator& snemo::geometry::locator_plugin::get_gveto_locator | ( | ) | const |
Returns a non-mutable reference to the gamma veto locator.
| const locator_dict_type& snemo::geometry::locator_plugin::get_locators | ( | ) | const |
Returns a non-mutable reference to the dictionary of locators.
| const snemo::geometry::xcalo_locator& snemo::geometry::locator_plugin::get_xcalo_locator | ( | ) | const |
Returns a non-mutable reference to the X wall locator.
| locator_dict_type& snemo::geometry::locator_plugin::grab_locators | ( | ) |
Returns a mutable reference to the dictionary of locators.
| bool snemo::geometry::locator_plugin::has_calo_locator | ( | ) | const |
Check if calo locator is available.
| bool snemo::geometry::locator_plugin::has_gg_locator | ( | ) | const |
Check if geiger locator is available.
| bool snemo::geometry::locator_plugin::has_gveto_locator | ( | ) | const |
Check if gveto locator is available.
| bool snemo::geometry::locator_plugin::has_xcalo_locator | ( | ) | const |
Check if xcalo locator is available.
|
virtual |
Main plugin initialization method.
|
virtual |
Check if plugin is initialized.
Implements geomtools::manager::base_plugin.
|
virtual |
Plugin reset method.
Implements geomtools::manager::base_plugin.
1.8.15