Skip to content
Snippets Groups Projects
IDetector.cpp 277 B
Newer Older
#include "MantidGeometry/IDetector.h"

using namespace Mantid::Geometry;

/// Must return a pointer to itself if derived from IComponent
const IComponent* IDetector::getComponent() const
{
  throw std::runtime_error("This detector class does not inherit from IComponent.");
}