Belle II Software  release-08-01-10
CDCFacet Class Reference

Class representing a triple of neighboring oriented wire with additional trajectory information. More...

#include <CDCFacet.h>

Inheritance diagram for CDCFacet:
Collaboration diagram for CDCFacet:

Public Member Functions

 CDCFacet ()=default
 Default constructor for ROOT.
 
 CDCFacet (const CDCRLWireHit &startRLWireHit, const CDCRLWireHit &middleRLWireHit, const CDCRLWireHit &endRLWireHit)
 Constructor taking three oriented wire hits.
 
 CDCFacet (const CDCRLWireHit &startRLWireHit, const CDCRLWireHit &middleRLWireHit, const CDCRLWireHit &endRLWireHit, const UncertainParameterLine2D &fitLine)
 Constructor taking three oriented wire hits and the fit line.
 
void reverse ()
 Reverses the facet inplace including the fit line.
 
CDCFacet reversed () const
 Constructs the reverse tiple from this one.
 
void adjustFitLine () const
 Adjusts the contained fit line to touch such that it touches the first and third hit.
 
void invalidateFitLine ()
 Clear all information in the fit.
 
const UncertainParameterLine2DgetFitLine () const
 Getter for the contained line fit information.
 
void setFitLine (const UncertainParameterLine2D &fitLine) const
 Setter for the contained line fit information.
 
ParameterLine2D getStartToMiddleLine () const
 Getter for the tangential line from the first to the second hit. More...
 
ParameterLine2D getStartToEndLine () const
 Getter for the tangential line from the first to the third hit. More...
 
ParameterLine2D getMiddleToEndLine () const
 Getter for the tangential line from the second to the third hit. More...
 
Vector2D getStartRecoPos2D () const
 Getter for the reconstructed position at the first hit on the fit line.
 
Vector2D getMiddleRecoPos2D () const
 Getter for the reconstructed position at the second hit on the fit line.
 
Vector2D getEndRecoPos2D () const
 Getter for the reconstructed position at the third hit on the fit line.
 
CDCRecoHit2D getStartRecoHit2D () const
 Getter for the first reconstucted hit.
 
CDCRecoHit2D getMiddleRecoHit2D () const
 Getter for the second reconstucted hit.
 
CDCRecoHit2D getEndRecoHit2D () const
 Getter for the third reconstucted hit.
 
CDCTangent getStartToMiddle () const
 Getter for the tangential line including the hits from the first to the second hit.
 
CDCTangent getStartToEnd () const
 Getter for the tangential line including the hits from the first to the third hit.
 
CDCTangent getMiddleToEnd () const
 Getter for the tangential line including the hits from the second to the third hit.
 
void unsetAndForwardMaskedFlag () const
 Unset the masked flag of the facet's automaton cell and of the three contained wire hits.
 
void setAndForwardMaskedFlag () const
 Sets the masked flag of the facet's automaton cell and of the three contained wire hits.
 
void receiveMaskedFlag () const
 If one of the contained wire hits is marked as masked this facet is set be masked as well.
 
AutomatonCellgetAutomatonCell () const
 Mutable getter for the automaton cell.
 
CDCRLWireHitTriple getAlias () const
 Returns the aliased version of this oriented wire hit triple.
 
bool operator== (const CDCRLWireHitTriple &other) const
 Equality comparision considering all three oriented wire hits.
 
bool operator< (const CDCRLWireHitTriple &other) const
 Establish a total ordering based on the three oriented wire hits.
 
Shape getShape () const
 Getter for the shape of this tiple if all three oriented wire hits are neighbors. Else ILLSHAPE.
 
ISuperLayer getISuperLayer () const
 Getter for the common superlayer id of the pair.
 
EStereoKind getStereoKind () const
 Getter for the common stereo type of the superlayer of the pair.
 
bool isAxial () const
 Indicator if the underlying wires are axial.
 
const CDCWiregetStartWire () const
 Getter for the wire the first oriented wire hit is based on.
 
const CDCWiregetMiddleWire () const
 Getter for the wire the second oriented wire hit is based on.
 
const CDCWiregetEndWire () const
 Getter for the wire the third oriented wire hit is based on.
 
bool hasWire (const CDCWire &wire) const
 Indicator if any of the three oriented wire hits is based on the given wire.
 
ERightLeft getStartRLInfo () const
 Getter for the right left passage information of the first oriented wire hit.
 
ERightLeft getMiddleRLInfo () const
 Getter for the right left passage information of the second oriented wire hit.
 
ERightLeft getEndRLInfo () const
 Getter for the right left passage information of the third oriented wire hit.
 
const CDCWireHitgetStartWireHit () const
 Getter for the hit wire of the first oriented wire hit.
 
const CDCWireHitgetMiddleWireHit () const
 Getter for the hit wire of the second oriented wire hit.
 
const CDCWireHitgetEndWireHit () const
 Getter for the hit wire of the third oriented wire hit.
 
bool hasWireHit (const CDCWireHit &wirehit) const
 Indicator if any of the three oriented wire hits is based on the given wire hit.
 
CDCRLWireHitgetStartRLWireHit ()
 Getter for the first oriented wire hit.
 
const CDCRLWireHitgetStartRLWireHit () const
 Constant getter for the first oriented wire hit.
 
CDCRLWireHitgetMiddleRLWireHit ()
 Getter for the second oriented wire hit.
 
const CDCRLWireHitgetMiddleRLWireHit () const
 Constant getter for the second oriented wire hit.
 
CDCRLWireHitgetEndRLWireHit ()
 Getter for the third oriented wire hit.
 
const CDCRLWireHitgetEndRLWireHit () const
 Constant getter for the third oriented wire hit.
 
CDCRLWireHitPairgetRearRLWireHitPair ()
 Getter for the pair of second and third oriented wire hit.
 
const CDCRLWireHitPairgetRearRLWireHitPair () const
 Constant getter for the pair of second and third oriented wire hit.
 
void setStartRLWireHit (const CDCRLWireHit &startRLWireHit)
 Setter for the first oriented wire hit.
 
void setMiddleRLWireHit (const CDCRLWireHit &middleRLWireHit)
 Setter for the second oriented wire hit.
 
void setEndRLWireHit (const CDCRLWireHit &endRLWireHit)
 Setter for the third oriented wire hit.
 
void setStartRLInfo (const ERightLeft startRLInfo)
 Setter for the right left passage information of the first oriented wire hit.
 
void setMiddleRLInfo (const ERightLeft middleRLInfo)
 Setter for the right left passage information of the second oriented wire hit.
 
void setEndRLInfo (const ERightLeft endRLInfo)
 Setter for the right left passage information of the third oriented wire hit.
 
int getICluster () const
 Getter for the cluster id.
 
void setICluster (int iCluster)
 Setter for the cluster id.
 

Protected Attributes

CDCRLWireHit m_startRLWireHit
 Memory for the start oriented wire hit.
 
CDCRLWireHitPair m_rearRLWireHitPair
 Memory for the second and third wire hits.
 

Private Attributes

UncertainParameterLine2D m_fitLine
 Memory for a line fit to the three contained hits.
 
AutomatonCell m_automatonCell
 Memory for the cellular automaton cell assoziated with the facet.
 

Detailed Description

Class representing a triple of neighboring oriented wire with additional trajectory information.

As trajectory information a single parameter line from a fit is used

Definition at line 32 of file CDCFacet.h.

Member Function Documentation

◆ getMiddleToEndLine()

ParameterLine2D getMiddleToEndLine ( ) const

Getter for the tangential line from the second to the third hit.

The line is computed as touching the second and third drift circle assuming the stored right left passage information

Definition at line 102 of file CDCFacet.cc.

103 {
105  getMiddleRLWireHit().getSignedRefDriftLength() ,
106  getEndRLWireHit().getRefPos2D(),
107  getEndRLWireHit().getSignedRefDriftLength());
108 }
CDCRLWireHit & getEndRLWireHit()
Getter for the third oriented wire hit.
CDCRLWireHit & getMiddleRLWireHit()
Getter for the second oriented wire hit.
static ParameterLine2D touchingCircles(const Vector2D &fromCenter, double fromSignedRadius, const Vector2D &toCenter, double toSignedRadius)
Constructs a line touching two circles in one point each.

◆ getStartToEndLine()

ParameterLine2D getStartToEndLine ( ) const

Getter for the tangential line from the first to the third hit.

The line is computed as touching the first and third drift circle assuming the stored right left passage information

Definition at line 94 of file CDCFacet.cc.

◆ getStartToMiddleLine()

ParameterLine2D getStartToMiddleLine ( ) const

Getter for the tangential line from the first to the second hit.

The line is computed as touching the first and second drift circle assuming the stored right left passage information.

Definition at line 86 of file CDCFacet.cc.


The documentation for this class was generated from the following files: