10#include <tracking/trackFindingCDC/eventdata/hits/CDCRLWireHitPair.h>
12#include <tracking/trackFindingCDC/geometry/ParameterLine2D.h>
13#include <tracking/trackFindingCDC/geometry/Vector2D.h>
22 namespace TrackFindingCDC {
118 std::ostream& operator<<(std::ostream& output,
const CDCTangent& tangent);
A pair of oriented wire hits.
Class representing an oriented hit wire including a hypotheses whether the causing track passes left ...
Class representing a two dimensional reconstructed hit in the central drift chamber.
Class representing a linear track piece between two oriented wire hits.
const Vector2D & getFromRecoPos2D() const
Getter for the touching point of the tangent to the first drift circle.
void adjustRLInfo()
Adjusts the right left passage information according to the tangent line.
CDCTangent()=default
Default constructor for ROOT.
void reverse()
Reverses the tangent inplace.
Vector2D getToRecoDisp2D() const
Getter for displacement of the touching point from the second wire in the reference plane.
double getCosFlightDifference(const CDCTangent &tangent) const
Returns the cosine of the angle between the two flight directions of the tangents.
ParameterLine2D m_line
Memory for the line between the two touching points. The first touch point at(0), second at(1).
const Vector2D & getFlightVec2D() const
Getter for the vector from the first to the second touch point.*/.
Vector2D getFromRecoDisp2D() const
Getter for displacement of the touching point from the first wire in the reference plane.
Vector2D getToRecoPos2D() const
Getter for the touching point of the tangent to the second drift circle.
CDCRecoHit2D getToRecoHit2D() const
Getter for the reconstructed hit on the second oriented wire hit using reconstructed touch point as p...
void adjustLine()
Adjusts the line to touch the drift circles with the correct right left passage information.
CDCRecoHit2D getFromRecoHit2D() const
Getter for the reconstructed hit on the first oriented wire hit using reconstructed touch point as po...
const ParameterLine2D & getLine() const
Getter for the line representation of the line.
CDCTangent reversed() const
Same as reverse but returns a copy.
A line with a support point and tangential vector.
const Vector2D & support() const
Gives the support vector of the line.
Vector2D at(const double parameter) const
Evaluates the line formula at the parameter given.
const Vector2D & tangential() const
Gives the tangential vector of the line.
A two dimensional vector which is equipped with functions for correct handling of orientation relate...
double cosWith(const Vector2D &rhs) const
Abstract base class for different kinds of events.