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())}
20 , m_forwardZ{forward.z()}
21 , m_backwardZ{backward.z()}
22 , m_sagCoeff(sagCoeff)
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 & xy() const
Getter for the xy projected vector ( reference ! )
double z() const
Getter for the z coordinate.
A three dimensional limited line represented by its closest approach to the z-axes (reference positio...
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.
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.
Vector3D m_refPos3D
Memory for the reference position.
Abstract base class for different kinds of events.