15 #ifndef MATERIALS_FACTORY_H 16 #define MATERIALS_FACTORY_H 1 92 #endif // MATERIALS_FACTORY_H Factory for isotopes, elements and materials.
Definition: factory.h:38
bool has_manager() const
Check for a manager.
std::map< std::string, smart_ref< element > > element_dict_type
Definition: tools.h:149
isotope * create_isotope(const std::string &name_, const datatools::properties &config_) const
Isotope factory method.
void set_debug(bool)
Set debug status.
The manager object for isotopes, elements and materials.
Definition: manager.h:53
std::map< std::string, smart_ref< isotope > > isotope_dict_type
Definition: tools.h:146
DOCD_CLASS_DECLARATION(my::algo)
Declaration of the OCD support for the my::algo class.
material * create_material(const std::string &name_, const datatools::properties &config_, const element_dict_type &elements_, const material_dict_type &materials_) const
Material factory method.
element * create_element(const std::string &name_, const datatools::properties &config_, const isotope_dict_type &isotopes_) const
Element factory method.
std::map< std::string, smart_ref< material > > material_dict_type
Definition: tools.h:150
void set_manager(manager &)
Set a manager.
A simple class to handle known isotopes (ZAI) and their basic properties (mass & decays).
Definition: isotope.h:60
virtual ~factory()
Destructor.
bool is_debug() const
Check debug status.
The description of a material.
Definition: material.h:116
The description of an element.
Definition: element.h:93
Top-level namespace of the Bayeux/materials module library.
Definition: geom_manager_utils.h:14