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