diff --git a/DDSurfaces/include/DDSurfaces/DiskSurface.h b/DDSurfaces/include/DDSurfaces/DiskSurface.h deleted file mode 100644 index 73ee7c6aa4ee8fafa3fb8ad30fa81a2e2acdbebf..0000000000000000000000000000000000000000 --- a/DDSurfaces/include/DDSurfaces/DiskSurface.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * DiskSurface.h - * - * Created on: Mar 7, 2014 - * Author: cgrefe - */ - -#ifndef DDSurfaces_DISKSURFACE_H_ -#define DDSurfaces_DISKSURFACE_H_ - -#include "DDSurfaces/ISurface.h" - -namespace DDSurfaces { - -struct DiskBoundary { - ; -}; - -class DiskSurface: public ISurface { -public: - /// Default constructor - DiskSurface(); - - /// Destructor - virtual ~DiskSurface(); - - /// Checks if the given point lies within the surface - virtual bool isInsideBoundaries(const Vector3D& point) const; - - /// Access to the normal direction at the given point - virtual Vector3D getNormal(const Vector3D& point) const; - - /// Access to the measurement directions at the given point - virtual MeasurementDirections measurement(const Vector3D& point) const; - -protected: - DiskBoundary m_boundary; -}; - -} /* namespace DDSurfaces */ - -#endif /* DDSurfaces_DISKSURFACE_H_ */ diff --git a/DDSurfaces/include/DDSurfaces/Material.h b/DDSurfaces/include/DDSurfaces/Material.h deleted file mode 100644 index 69da036677d6774155df5f61b6b1e8dfef09dfe0..0000000000000000000000000000000000000000 --- a/DDSurfaces/include/DDSurfaces/Material.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Material.h - * - * Created on: Mar 7, 2014 - * Author: cgrefe - */ - -#ifndef DDSurfaces_MATERIAL_H_ -#define DDSurfaces_MATERIAL_H_ - -namespace DDSurfaces { - -/** Container class for material properties used in tracking */ -class Material { -public: - /// Default constructor - Material(int Z = 0, int A = 0, double density = 0., double radiationLength = 0.) : - m_Z(Z), m_A(A), m_density(density), m_radiationLength( - radiationLength) { - } - - /// Copy constructor - Material(const Material& material) : - m_Z(material.Z()), m_A(material.A()), m_density(material.density()), m_radiationLength( - material.radiationLength()) { - } - - /// Destructor - virtual ~Material() {} - - /// Access to the atomic number - int Z() const { - return m_Z; - } - - /// Access to the atomic mass - int A() const { - return m_A; - } - - /// Access to the density - double density() const { - return m_density; - } - - /// Access to the radiation length - double radiationLength() const { - // FIXME: needs to calculate X0 to allow lazy initialization - return m_radiationLength; - } - -protected: - int m_Z; /// the atomic number - int m_A; /// the atomic mass - double m_density; /// the density - double m_radiationLength; /// the radiation length -}; - -} /* namespace DDSurfaces */ - -#endif /* DDSurfaces_MATERIAL_H_ */ diff --git a/DDSurfaces/include/DDSurfaces/MeasurementDirections.h b/DDSurfaces/include/DDSurfaces/MeasurementDirections.h deleted file mode 100644 index 0a152afa596c915e04f0a19b6ea41b261c60c3a4..0000000000000000000000000000000000000000 --- a/DDSurfaces/include/DDSurfaces/MeasurementDirections.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * MeasurementDirections.h - * - * Created on: Mar 7, 2014 - * Author: cgrefe - */ - -#ifndef DDSurfaces_MEASUREMENTDIRECTIONS_H_ -#define DDSurfaces_MEASUREMENTDIRECTIONS_H_ - -#include "DDSurfaces/Vector3D.h" - -namespace DDSurfaces { - -/** Container class for measurement directions */ -class MeasurementDirections { -public: - /// Default constructor - MeasurementDirections(const Vector3D& u = Vector3D(), const Vector3D& v = Vector3D()) : - m_u(u), m_v(v) { - } - - /// Copy constructor - MeasurementDirections(const MeasurementDirections& measurement) : - m_u(measurement.u()), m_v(measurement.v()) { - } - - /// Destructor - virtual ~MeasurementDirections() {} - - /// Access to the U measurement direction - const Vector3D& u() const { - return m_u; - } - - /// Access to the V measurement direction - const Vector3D& v() const { - return m_v; - } - -protected: - Vector3D m_u; - Vector3D m_v; -}; - -} /* namespace DDSurfaces */ - -#endif /* DDSurfaces_MEASUREMENTDIRECTIONS_H_ */ diff --git a/DDSurfaces/include/DDSurfaces/StraightLineSurface.h b/DDSurfaces/include/DDSurfaces/StraightLineSurface.h deleted file mode 100644 index 2647cc22c45e949062faefe83d8d42c70b919113..0000000000000000000000000000000000000000 --- a/DDSurfaces/include/DDSurfaces/StraightLineSurface.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * StraightLineSurface.h - * - * Created on: Mar 7, 2014 - * Author: cgrefe - */ - -#ifndef DDSurfaces_STRAIGHTLINESURFACE_H_ -#define DDSurfaces_STRAIGHTLINESURFACE_H_ - -#include "DDSurfaces/ISurface.h" - -namespace DDSurfaces { - -struct StraightLineBoundary { - ; -}; - -class StraightLineSurface: public ISurface { -public: - /// Default constructor - StraightLineSurface(); - - /// Destructor - virtual ~StraightLineSurface(); - - /// Checks if the given point lies within the surface - virtual bool isInsideBoundaries(const Vector3D& point) const; - - /// Access to the normal direction at the given point - virtual Vector3D getNormal(const Vector3D& point) const; - - /// Access to the measurement directions at the given point - virtual MeasurementDirections measurement(const Vector3D& point) const; - -protected: - StraightLineBoundary m_boundary; -}; - -} /* namespace DDSurfaces */ - -#endif /* DDSurfaces_STRAIGHTLINESURFACE_H_ */ diff --git a/DDSurfaces/include/DDSurfaces/ZCylinderSurface.h b/DDSurfaces/include/DDSurfaces/ZCylinderSurface.h deleted file mode 100644 index 43c39b40ba3fb1169abf2c2db04d18b4c2d77007..0000000000000000000000000000000000000000 --- a/DDSurfaces/include/DDSurfaces/ZCylinderSurface.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * ZCylinderSurface.h - * - * Created on: Mar 7, 2014 - * Author: cgrefe - */ - -#ifndef DDSurfaces_ZCYLINDERSURFACE_H_ -#define DDSurfaces_ZCYLINDERSURFACE_H_ - -#include "DDSurfaces/ISurface.h" - -namespace DDSurfaces { - -struct ZCylinderBoundary { - ; -}; - -class ZCylinderSurface: public ISurface { -public: - /// Default constructor - ZCylinderSurface(); - - /// Destructor - virtual ~ZCylinderSurface(); - - /// Checks if the given point lies within the surface - virtual bool isInsideBoundaries(const Vector3D& point) const; - - /// Access to the normal direction at the given point - virtual Vector3D getNormal(const Vector3D& point) const; - - /// Access to the measurement directions at the given point - virtual MeasurementDirections measurement(const Vector3D& point) const; - -protected: - ZCylinderBoundary m_boundary; -}; - -} /* namespace DDSurfaces */ - -#endif /* DDSurfaces_ZCYLINDERSURFACE_H_ */ diff --git a/DDSurfaces/include/DDSurfaces/ZPlanarSurface.h b/DDSurfaces/include/DDSurfaces/ZPlanarSurface.h deleted file mode 100644 index 1ae33ea445b34e3e41b5c9fe442fe4a658624e65..0000000000000000000000000000000000000000 --- a/DDSurfaces/include/DDSurfaces/ZPlanarSurface.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * ZPlanarSurface.h - * - * Created on: Mar 7, 2014 - * Author: cgrefe - */ - -#ifndef DDSurfaces_ZPLANARSURFACE_H_ -#define DDSurfaces_ZPLANARSURFACE_H_ - -#include "DDSurfaces/ISurface.h" - -namespace DDSurfaces { - -struct ZPlanarBoundary { - ; -}; - -class ZPlanarSurface: public ISurface { -public: - /// Default constructor - ZPlanarSurface(); - - /// Destructor - virtual ~ZPlanarSurface(); - - /// Checks if the given point lies within the surface - virtual bool isInsideBoundaries(const Vector3D& point) const; - - /// Access to the normal direction at the given point - virtual Vector3D getNormal(const Vector3D& point) const; - - /// Access to the measurement directions at the given point - virtual MeasurementDirections measurement(const Vector3D& point) const; - -protected: - ZPlanarBoundary m_boundary; -}; - -} /* namespace DDSurfaces */ - -#endif /* DDSurfaces_ZPLANARSURFACE_H_ */