///////////////////////////////////////////////////////////////////////////////
/// \class RAT::geo::Sphere
///
/// \brief Builds a sphere
///
/// \author Phil G Jones
/// \author Aksel Hallin -- contact person
///
/// REVISION HISTORY:\n
/// 2013-08-07 : P G Jones - New file. \n
///
/// \details Sphere solid factory.
///
///////////////////////////////////////////////////////////////////////////////
#ifndef __RAT_geo_Sphere_hh__
#define __RAT_geo_Sphere_hh__
#include
namespace RAT
{
namespace geo
{
class Sphere : public GeoSolid
{
public:
/// Construct a Sphere, name the factory sphere
Sphere() : GeoSolid( "sphere" ) { }
/// Return the solid shape, as defined in the table
///
/// @param[in] name the prefix for the solid name
/// @param[in] table is the ratdb table defining the sphere
/// @return The geant4 solid for the sphere
virtual G4VSolid* Construct( const std::string& name,
DBLinkPtr table ) const;
};
} //::geo
} //::RAT
#endif