Template Class BoundarySurfaceT¶
Defined in File BoundarySurfaceT.hpp
Class Documentation¶
-
template<class
volume_t
>
classActs
::
BoundarySurfaceT
¶ The boundary surface class combines a Surface with the information of a volume. It’s templated in the type of volume in order to allow for a return type tat is usable in the navigation stream.
- Template Parameters
volume_t
: the type of volume.
- Note
along/oppose definitions are given with respect to the normal vector of the boundary surface.
Public Functions
-
BoundarySurfaceT
()¶
Constructor for a Boundary with exact two Volumes attached to it.
usually used in a volume constructor
- Parameters
surface
: The unqiue surface the boundary representsinside
: The inside volume the bounday surface points tooutside
: The outside volume the boundary surface points to
Constructor for a Boundary with exact two Volumes attached to it.
usually used in a volume constructor
- Parameters
surface
: The unqiue surface the boundary representsinside
: The inside volume the bounday surface points tooutside
: The outside volume the boundary surface points to
Constructor for a Boundary with exact multiple Volumes attached to it.
usually used in a volume constructor
- Parameters
surface
: The unqiue surface the boundary representsinsideArray
: The inside volume array the bounday surface points tooutsideArray
: The outside volume array the boundary surface points to
-
~BoundarySurfaceT
() = default¶
Get the next Volume depending on GlobalPosition, GlobalMomentum, dir on the TrackParameters and the requested direction.
- Return
The attached volume at that position
- Parameters
gctx
: The current geometry context object, e.g. alignmentpos
: The global position on surfacemom
: The direction on the surfacedir
: is an aditional direction corrective
Helper method: attach a Volume to this BoundarySurfaceT this is done during the geometry construction.
- Parameters
gctx
: The current geometry context object, e.g. alignmentvolume
: The volume to be attachednavDir
: The navigation direction for attaching
Helper method: attach a Volume to this BoundarySurfaceT this is done during the geometry construction.
- Parameters
volumes
: The volume array to be attachednavDir
: The navigation direction for attaching
-
template<class
parameters_t
>
boolonBoundary
(const GeometryContext &gctx, const parameters_t &pars) const¶ templated onBoundary method
- Template Parameters
parameters_t
: are the parameters to be checked
- Parameters
gctx
: The current geometry context object, e.g. alignmentpars
: The parameters used for this call
Protected Attributes
-
const volume_t *
m_alongVolume
¶ the outside (w.r.t. normal vector) volume to point to if only one exists
-
std::shared_ptr<const VolumeArray>
m_alongVolumeArray
¶ the outside (w.r.t. normal vector) volume array to point to
-
const volume_t *
m_oppositeVolume
¶ the inside (w.r.t. normal vector) volume to point to if only one exists
-
std::shared_ptr<const VolumeArray>
m_oppositeVolumeArray
¶ the inside (w.r.t. normal vector) volume array to point to