8#include <tracking/trackFindingCDC/topology/WireLine.h>
10#include <framework/logging/Logger.h>
13using namespace TrackFindingCDC;
18 :
m_refPos3D{(backward * forward.z() - forward * backward.z()) / (forward.z() - backward.z()) }
19 ,
m_nominalMovePerZ{(forward.xy() - backward.xy()) / (forward.z() - backward.z())}
24 B2ASSERT(
"Wire reference position is not at 0",
m_refPos3D.z() == 0);
A two dimensional vector which is equipped with functions for correct handling of orientation relate...
A three dimensional vector.
const Vector2D & nominalMovePerZ() const
Gives the positional move in the xy projection per unit z.
double m_backwardZ
Memory for the backward end z coordinate.
WireLine()
Default constructor initialising to all members to zero.
Vector2D m_nominalMovePerZ
Memory for the nominal movement of the xy position per z unit off the reference.
double sagCoeff() const
Returns the wire sag coefficient due to gravity.
double m_forwardZ
Memory for the forward end z coordinate.
WireLine movedBy(const Vector3D &offset) const
Returns a copy of the wire line moved by a three dimensional offset.
double m_sagCoeff
Memory for the wire sag coefficient.
Vector3D m_refPos3D
Memory for the reference position.
Abstract base class for different kinds of events.