////////////////////////////////////////////////////////////////////////
/// \class RAT::geo::SNOSVGeoSolid
///
/// \brief  Builds the complete scintillator volume from inherent single GEANT G4VSolid
///
/// \author Aksel Hallin
///
/// REVISION HISTORY:\n
///     2014-04-17 - New file. \n
///
/// \detail SNOSVGeoSolid solid factory.
////////////////////////////////////////////////////////////////////////

#ifndef __RAT_geo_SNOSV_hh__
#define __RAT_geo_SNOSV_hh__

#include <RAT/GeoSolid.hh>

namespace RAT
{
namespace geo
{

class SNOSVGeoSolid : public GeoSolid
{
public:
  /// Construct a scintillator volume
  SNOSVGeoSolid() : GeoSolid( "SNOSV" ) { }

  /// 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 SNOSV
  /// @return The geant4 solid for the SNOSV
  virtual G4VSolid* Construct( const std::string& name,
                               DBLinkPtr /*table*/ ) const;
};

} //::geo

} //::RAT

#endif