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

Class representing a triple of reconstructed segements in adjacent superlayer. More...

#include <CDCSegmentTriple.h>

Collaboration diagram for CDCSegmentTriple:

Public Member Functions

 CDCSegmentTriple ()
 Default constructor for ROOT compatability.
 
 CDCSegmentTriple (const CDCAxialSegment2D *startSegment, const CDCAxialSegment2D *endSegment)
 Constructor taking two axial segments leaving the middle stereo segment set to null pointer.
 
 CDCSegmentTriple (const CDCAxialSegmentPair &segmentPair)
 Constructor taking two axial segments leaving the middle stereo segment set to null pointer.
 
 CDCSegmentTriple (const CDCAxialSegment2D *startSegment, const CDCStereoSegment2D *middleSegment, const CDCAxialSegment2D *endSegment)
 Constructor taking the three segments the triple shall be made of.
 
 CDCSegmentTriple (const CDCAxialSegment2D *startSegment, const CDCStereoSegment2D *middleSegment, const CDCAxialSegment2D *endSegment, const CDCTrajectory3D &trajectory3D)
 Constructor taking the three segments the triple shall be made of and the two dimensional and sz trajectory.
 
bool operator== (CDCSegmentTriple const &rhs) const
 Equality comparision based on the pointers to the stored segments.
 
bool operator< (CDCSegmentTriple const &rhs) const
 Total ordering sheme based on the two axial segments first and the stereo segments second.
 
bool checkSegments () const
 Checks the references to the contained three segment for nullptrs.
 
ISuperLayer getStartISuperLayer () const
 Getter for the superlayer id of the start segment.
 
ISuperLayer getMiddleISuperLayer () const
 Getter for the superlayer id of the middle segment.
 
ISuperLayer getEndISuperLayer () const
 Getter for the superlayer id of the end segment.
 
const CDCAxialSegment2DgetStartSegment () const
 Getter for the start axial segment.
 
void setStartSegment (const CDCAxialSegment2D *startSegment)
 Setter for the start axial segment.
 
const CDCStereoSegment2DgetMiddleSegment () const
 Getter for the middle stereo segment.
 
void setMiddleSegment (const CDCStereoSegment2D *middleSegment)
 Setter for the middle stereo segment.
 
const CDCAxialSegment2DgetEndSegment () const
 Getter for the end axial segment.
 
void setEndSegment (const CDCAxialSegment2D *endSegment)
 Setter for the end axial segment.
 
CDCTrajectorySZ getTrajectorySZ () const
 Getter for the linear trajectory in the sz direction.
 
CDCTrajectory2D getTrajectory2D () const
 Getter for the circular trajectory in the xy direction.
 
const CDCTrajectory3DgetTrajectory3D () const
 Getter for the three dimensional helix trajectory.
 
void setTrajectory3D (const CDCTrajectory3D &trajectory3D) const
 Setter for the three dimensional helix trajectory.
 
void clearTrajectory3D () const
 Clears the three dimensional helix trajectory.
 
void unsetAndForwardMaskedFlag () const
 Unsets the masked flag of the segment triple's automaton cell, of the contained segments and of the contained wire hits.
 
void setAndForwardMaskedFlag () const
 Sets the masked flag of the segment triple's automaton cell. Also forward the masked to the contained segments and the contained wire hits.
 
void receiveMaskedFlag () const
 If one of the contained segments is marked as masked this segment triple is set be masked as well.
 
AutomatonCellgetAutomatonCell () const
 Mutable getter for the automaton cell.
 

Private Attributes

const CDCAxialSegment2Dm_startSegment
 Reference to the axial segment in the start of the triple.
 
const CDCStereoSegment2Dm_middleSegment
 Reference to the stereo segment in the middle of the triple.
 
const CDCAxialSegment2Dm_endSegment
 Reference to the axial segment in the start of the triple.
 
CDCTrajectory3D m_trajectory3D
 Memory of the linear trajectory in the sz direction assoziated with the triple.
 
AutomatonCell m_automatonCell
 Automaton cell assoziated with the pair of segments.
 

Friends

bool operator< (CDCSegmentTriple const &segmentTriple, const CDCAxialSegment2D *axialSegment)
 Define reconstructed segments and segment triples as coaligned on the start segment.
 
bool operator< (const CDCAxialSegment2D *axialSegment, CDCSegmentTriple const &segmentTriple)
 Define reconstructed segments and segment triples as coaligned on the start segment.
 

Detailed Description

Class representing a triple of reconstructed segements in adjacent superlayer.

Definition at line 32 of file CDCSegmentTriple.h.


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