///////////////////////////////////////////////////////////////////////////////
/// \class RAT::Materials
///
/// \brief Constructs the Materials inc Elements
///
/// \author Phil G Jones
/// \author I Coulter -- contact person
///
/// REVISION HISTORY:\n
/// 2013-07-30 : P G Jones - Refactor.\n
///
/// \details Loads material properties from ratdb and builds the geant4
/// materials.
///
///////////////////////////////////////////////////////////////////////////////
#ifndef __RAT_Materials__
#define __RAT_Materials__
#include
#include
namespace RAT
{
class Materials
{
public:
/// Load and construct materials
static void ConstructMaterials();
private:
/// Load and construct elements
static void ConstructElements();
/// Construct a single material
///
/// @param[in] name of the material
/// @param[in] dbTable that defines the material
static void ConstructMaterial( const std::string& name,
DBLinkPtr dbTable );
};
} // namespace RAT
#endif