10#include <tracking/trackFindingCDC/eventdata/segments/CDCSegment.h>
11#include <tracking/trackFindingCDC/eventdata/hits/CDCRecoHit3D.h>
12#include <tracking/trackFindingCDC/eventdata/trajectories/CDCTrajectory3D.h>
14#include <tracking/trackFindingCDC/ca/AutomatonCell.h>
21 namespace TrackFindingCDC {
23 class CDCTrajectory2D;
Cell used by the cellular automata.
A reconstructed sequence of two dimensional hits in one super layer.
A segment consisting of three dimensional reconstructed hits.
CDCTrajectory3D m_trajectory3D
Memory for the three dimensional trajectory fitted to this segment.
static CDCSegment3D reconstruct(const CDCSegment2D &segment2D, const CDCTrajectory2D &trajectory2D)
Reconstructs a two dimensional stereo segment by shifting each hit onto the given two dimensional tra...
CDCSegment2D stereoProjectToRef() const
Constructs a two dimensional segment by carrying out the stereo ! projection to the wire reference po...
AutomatonCell * operator->() const
Indirection to the automaton cell for easier access to the flags.
void setTrajectory3D(const CDCTrajectory3D &trajectory3D) const
Setter for the two dimensional trajectory fitted to the segment.
AutomatonCell & getAutomatonCell() const
Mutable getter for the automaton cell.
void receiveMaskedFlag(bool fromHits=true) const
Check all contained wire hits if one has the masked flag.
void setAndForwardMaskedFlag(bool toHits=true) const
Set the masked flag of the automaton cell of this segment and forward the masked flag to all containe...
CDCTrajectory3D & getTrajectory3D() const
Getter for the two dimensional trajectory fitted to the segment.
AutomatonCell m_automatonCell
Memory for the automaton cell.
void unsetAndForwardMaskedFlag(bool toHits=true) const
Unset the masked flag of the automaton cell of this segment and of all contained wire hits.
A sequence of hits limited to one superlayer.
Particle trajectory as it is seen in xy projection represented as a circle.
Particle full three dimensional trajectory.
Abstract base class for different kinds of events.