 |
Belle II Software
release-05-01-25
|
10 #include <tracking/trackFindingCDC/eventdata/hits/CDCFacet.h>
12 #include <tracking/trackFindingCDC/eventdata/hits/CDCRLWireHitTriple.h>
13 #include <tracking/trackFindingCDC/eventdata/hits/CDCTangent.h>
14 #include <tracking/trackFindingCDC/eventdata/hits/CDCRecoHit2D.h>
15 #include <tracking/trackFindingCDC/eventdata/hits/CDCRLWireHit.h>
16 #include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
18 #include <tracking/trackFindingCDC/topology/CDCWire.h>
20 #include <tracking/trackFindingCDC/geometry/UncertainParameterLine2D.h>
21 #include <tracking/trackFindingCDC/geometry/ParameterLine2D.h>
22 #include <tracking/trackFindingCDC/geometry/Vector2D.h>
24 #include <tracking/trackFindingCDC/ca/AutomatonCell.h>
27 using namespace TrackFindingCDC;
AutomatonCell & getAutomatonCell() const
Mutable getter for the automaton cell.
void setAndForwardMaskedFlag() const
Sets the masked flag of the facet's automaton cell and of the three contained wire hits.
ParameterLine2D getStartToEndLine() const
Getter for the tangential line from the first to the third hit.
Vector2D getStartRecoPos2D() const
Getter for the reconstructed position at the first hit on the fit line.
CDCRecoHit2D getMiddleRecoHit2D() const
Getter for the second reconstucted hit.
void invalidate()
Sets all line parameters to zero including the covariance matrix.
const CDCWire & getStartWire() const
Getter for the wire the first oriented wire hit is based on.
static ParameterLine2D touchingCircles(const Vector2D &fromCenter, double fromSignedRadius, const Vector2D &toCenter, double toSignedRadius)
Constructs a line touching two circles in one point each.
AutomatonCell & getAutomatonCell() const
Mutable getter for the automaton cell.
A two dimensional vector which is equipped with functions for correct handeling of orientation relat...
void reverse()
Reverses the triple inplace.
const CDCWireHit & getStartWireHit() const
Getter for the hit wire of the first oriented wire hit.
static CDCRecoHit2D fromRecoPos2D(const CDCRLWireHit &rlWireHit, const Vector2D &recoPos2D, bool snap=true)
Constructs a two dimensional reconstructed hit from an absolute position.
CDCTangent getStartToMiddle() const
Getter for the tangential line including the hits from the first to the second hit.
void unsetMaskedFlag()
Resets the masked flag to false.
CDCRecoHit2D getStartRecoHit2D() const
Getter for the first reconstucted hit.
const CDCWireHit & getEndWireHit() const
Getter for the hit wire of the third oriented wire hit.
Class representing a triple of neighboring wire hits.
A line with a support point and tangential vector.
CDCTangent getStartToEnd() const
Getter for the tangential line including the hits from the first to the third hit.
void adjustFitLine() const
Adjusts the contained fit line to touch such that it touches the first and third hit.
UncertainParameterLine2D reversed() const
Returns a copy of the line corresponding to the reverse direction of travel.
UncertainParameterLine2D m_fitLine
Memory for a line fit to the three contained hits.
void unsetAndForwardMaskedFlag() const
Unset the masked flag of the facet's automaton cell and of the three contained wire hits.
void setMaskedFlag(bool setTo=true)
Sets the masked flag to the given value. Default value true.
const CDCWireHit & getMiddleWireHit() const
Getter for the hit wire of the second oriented wire hit.
const CDCWire & getEndWire() const
Getter for the wire the third oriented wire hit is based on.
CDCTangent getMiddleToEnd() const
Getter for the tangential line including the hits from the second to the third hit.
Class representing a two dimensional reconstructed hit in the central drift chamber.
Abstract base class for different kinds of events.
ParameterLine2D getStartToMiddleLine() const
Getter for the tangential line from the first to the second hit.
Class representing an oriented hit wire including a hypotheses whether the causing track passes left ...
Class representating a linear track piece between two oriented wire hits.
Vector2D closest(const Vector2D &point) const
Gives the position at the closest approach on the line to point.
CDCFacet()=default
Default constructor for ROOT.
CDCFacet reversed() const
Constructs the reverse tiple from this one.
const CDCWire & getMiddleWire() const
Getter for the wire the second oriented wire hit is based on.
Vector2D getEndRecoPos2D() const
Getter for the reconstructed position at the third hit on the fit line.
CDCRLWireHit & getMiddleRLWireHit()
Getter for the second oriented wire hit.
void receiveMaskedFlag() const
If one of the contained wire hits is marked as masked this facet is set be masked as well.
void invalidateFitLine()
Clear all information in the fit.
Class representing a triple of neighboring oriented wire with additional trajectory information.
CDCRLWireHit & getEndRLWireHit()
Getter for the third oriented wire hit.
ParameterLine2D getMiddleToEndLine() const
Getter for the tangential line from the second to the third hit.
void reverse()
Reverses the direction of flight represented by this line.
A parameter line including including an line covariance matrix which is interpreted as located in the...
CDCRLWireHit & getStartRLWireHit()
Getter for the first oriented wire hit.
Vector2D getMiddleRecoPos2D() const
Getter for the reconstructed position at the second hit on the fit line.
const UncertainParameterLine2D & getFitLine() const
Getter for the contained line fit information.
CDCRecoHit2D getEndRecoHit2D() const
Getter for the third reconstucted hit.
void reverse()
Reverses the facet inplace including the fit line.