///////////////////////////////////////////////////////////////////////////////
/// \class RAT::geo::Box
///
/// \brief Builds a box solid
///
/// \author Phil G Jones
/// \author Aksel Hallin -- contact person
///
/// REVISION HISTORY:\n
/// 2013-08-07 : P G Jones - New file. \n
///
/// \details Factory for a box solid.
///
///////////////////////////////////////////////////////////////////////////////
#ifndef __RAT_geo_Box_hh__
#define __RAT_geo_Box_hh__
#include
namespace RAT
{
namespace geo
{
class Box : public GeoSolid
{
public:
/// Construct a Box, name the factory box
Box() : GeoSolid( "box" ) { }
/// 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 box
/// @return The geant4 solid for the box
virtual G4VSolid* Construct( const std::string& name,
DBLinkPtr table ) const;
};
} //::geo
} //::RAT
#endif