 |
Belle II Software
release-05-02-19
|
12 #include <tracking/trackFindingCDC/geometry/Vector3D.h>
13 #include <tracking/trackFindingCDC/geometry/Vector2D.h>
22 namespace TrackFindingCDC {
68 pos2D.
setY(pos2D.
y() + sagY);
83 movePerZ.setY(movePerZ.y() + sagDYDZ);
96 return (pos3D - wirePos3D).orthogonalComp(movePerZ);
108 return wirePos3D - (point - wirePos3D).parallelVector(movePerZ);
Vector3D sagClosest3D(const Vector3D &point) const
Returns the closest approach on the wire with wire sag effect to the give point.
double sagCoeff() const
Returns the wire sag coefficient due to gravity.
Vector2D nominalPos2DAtZ(const double z) const
Gives the two dimensional position without wire sag effect of the line at the given z value.
double m_sagCoeff
Memory for the wire sag coeffiecent.
double theta() const
Returns the nominal opening angle between tangential vector and the z axes.
HepGeom::Vector3D< double > Vector3D
3D Vector
Vector2D nominalPerigee2D() const
Returns the point of nominal closest approach to the z axes.
double forwardPhi() const
Gives the forward azimuth angle.
void setY(const double y)
Setter for the y coordinate.
A two dimensional vector which is equipped with functions for correct handeling of orientation relat...
Vector3D wireVector() const
Getter for the vector from backward to the forward position.
double refY() const
Returns the the y coordinate of the reference point.
Vector2D sagMovePerZ(const double z) const
Gives the two dimensional position with wire sag effect of the line at the given z value.
Vector2D sagPos2DAtZ(const double z) const
Gives the two dimensional position with wire sag effect of the line at the given z value.
double normSquared() const
Calculates .
double backwardPhiToRef() const
Gives the azimuth angle of the backward position relative to the reference position.
double y() const
Getter for the y coordinate.
double nominalPerigeeZ() const
Returns the z coordinate of the point of nominal closest approach to the z axes.
Vector3D forward3D() const
Gives the position of the forward point.
Vector3D nominalPos3DAtZ(const double z) const
Gives the three dimensional position without wire sag effect of the line at the given z value.
double x() const
Getter for the x coordinate.
double forwardCylindricalR() const
Gives the cylindrical radius of the forward position.
double phi() const
Gives the azimuth angle being the angle to the x axes ( range -M_PI to M_PI )
Vector3D m_refPos3D
Memory for the reference postion.
double sagDistance(const Vector3D &pos3D) const
Calculates the distance of the given point to the wire with wire sag effect.
double dot(const Vector2D &rhs) const
Calculates the two dimensional dot product.
double cylindricalRSquared() const
Getter for the squared cylindrical radius ( xy projected squared norm )
double deltaZ() const
Returns the difference between forward and backward z.
Vector2D forward2D() const
Gives the xy position of the forward point.
const Vector2D & refPos2D() const
Returns the xy vector of the reference position.
double m_backwardZ
Memory for the backward end z coordinate.
double refZ() const
Returns the the z coordinate of the reference point.
double backwardCylindricalR() const
Gives the cylindrical radius of the backward position.
Vector2D backward2D() const
Gives the xy position of the backward point.
Vector3D sagPos3DAtZ(const double z) const
Gives the three dimensional position with wire sag effect of the line at the given z value.
Vector2D orthogonalVector(const Vector2D &relativTo) const
Calculates the part of this vector that is parallel to the given vector.
Vector2D m_nominalMovePerZ
Memory for the nominal movement of the xy position per z unit off the reference.
double forwardPhiToRef() const
Gives the azimuth angle of the forward position relative to the reference position.
Vector3D nominalPerigee3D() const
Returns the point of nominal closest approach to the z axes.
double lambda() const
Returns the nominal lambda angle of the line.
double tanLambda() const
Returns the nominal tan lambda of the line. Also know as dz / ds.
Abstract base class for different kinds of events.
A three dimensional limited line represented by its closest approach to the z-axes (reference positio...
A three dimensional vector.
double cylindricalR() const
Gives the cylindrical radius of the vector. Same as norm()
WireLine()
Default constructor initialising to all members to zero.
const Vector3D & refPos3D() const
Returns the reference position.
double y() const
Getter for the y coordinate.
double tanTheta() const
Returns the tangent of the opening angle between tangential vector and the z axes Also know as ds / d...
const Vector2D & nominalMovePerZ() const
Gives the positional move in the xy projection per unit z.
const Vector2D & xy() const
Getter for the xy projected vector ( reference ! )
Vector3D backward3D() const
Gives the position of the backward point.
double x() const
Getter for the x coordinate.
double forwardZ() const
Gives the forward z coodinate.
Vector3D nominalClosest3D(const Vector3D &point) const
Returns the closest approach on the wire without wire sag effect to the give point.
double outOfZBoundsFactor(double z) const
Returns the amount how much the given z position is outside the bounds in units of the wire length.
double norm() const
Calculates the length of the vector.
double backwardZ() const
Gives the backward z coodinate.
double refX() const
Returns the the x coordinate of the reference point.
double backwardToForwardAngle() const
Gives the azimuth angle difference from backward to forward position.
double angleWith(const Vector2D &rhs) const
The angle between this and rhs.
double z() const
Getter for the z coordinate.
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 backwardPhi() const
Gives the backward azimuth angle.
double refCylindricalRSquared() const
Returns the cylindrical radius of the reference position.
double nominalDistance(const Vector3D &pos3D) const
Calculates the distance of the given point to the wire without wire sag effect.