 |
Belle II Software
release-05-02-19
|
12 #include <tracking/trackFindingCDC/eventdata/hits/CDCRLWireHitPair.h>
14 #include <tracking/trackFindingCDC/geometry/ParameterLine2D.h>
15 #include <tracking/trackFindingCDC/geometry/Vector2D.h>
24 namespace TrackFindingCDC {
42 class CDCTangent :
public CDCRLWireHitPair {
52 const CDCRLWireHit& toRLWireHit);
57 const ParameterLine2D& line);
61 const CDCRLWireHit& toRLWireHit,
62 const ParameterLine2D& line);
120 std::ostream&
operator<<(std::ostream& output,
const CDCTangent& tangent);
std::ostream & operator<<(std::ostream &output, const IntervalOfValidity &iov)
A two dimensional vector which is equipped with functions for correct handeling of orientation relat...
const ParameterLine2D & getLine() const
Getter for the line representation of the line.
void reverse()
Reverses the tangent inplace.
Vector2D at(const double parameter) const
Evaluates the line formula at the parameter given.
const Vector2D & getFlightVec2D() const
Getter for the vector from the first to the second touch point.*/.
CDCRecoHit2D getFromRecoHit2D() const
Getter for the reconstructed hit on the first oriented wire hit using reconstructed touch point as po...
const Vector2D & getFromRecoPos2D() const
Getter for the touching point of the tangent to the first drift circle.
A line with a support point and tangential vector.
CDCRLWireHitPair()=default
Default constructor for ROOT.
Vector2D getToRecoDisp2D() const
Getter for displacement of the touching point from the second wire in the reference plane.
CDCTangent reversed() const
Same as reverse but returns a copy.
Vector2D getToRecoPos2D() const
Getter for the touching point of the tangent to the second drift circle.
Class representing a two dimensional reconstructed hit in the central drift chamber.
Abstract base class for different kinds of events.
Class representating a linear track piece between two oriented wire hits.
Vector2D getFromRecoDisp2D() const
Getter for displacement of the touching point from the first wire in the reference plane.
CDCTangent()=default
Default constructor for ROOT.
void adjustRLInfo()
Adjusts the right left passage information according to the tangent line.
CDCRecoHit2D getToRecoHit2D() const
Getter for the reconstructed hit on the second oriented wire hit using reconstructed touch point as p...
double cosWith(const Vector2D &rhs) const
const Vector2D & tangential() const
Gives the tangential vector of the line.
double getCosFlightDifference(const CDCTangent &tangent) const
Returns the cosine of the angle between the two flight directions of the tangents.
const Vector2D & support() const
Gives the support vector of the line.
ParameterLine2D m_line
Memory for the line between the two touching points. The first touch point at(0), second at(1).
void adjustLine()
Adjusts the line to touch the drift circles with the correct right left passage information.