 |
Belle II Software
release-05-01-25
|
10 #include <tracking/trackFindingCDC/eventdata/segments/CDCSegment3D.h>
12 #include <tracking/trackFindingCDC/eventdata/segments/CDCSegment2D.h>
13 #include <tracking/trackFindingCDC/eventdata/hits/CDCRecoHit3D.h>
14 #include <tracking/trackFindingCDC/eventdata/hits/CDCRecoHit2D.h>
15 #include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
17 #include <tracking/trackFindingCDC/ca/AutomatonCell.h>
20 using namespace TrackFindingCDC;
28 segment3D.push_back(recoHit3D);
47 if (not toHits)
return;
57 if (not toHits)
return;
66 if (not fromHits)
return;
78 const int nTolerance = 2;
79 if (nMasked > nNotMasked or nMasked >= nTolerance) {
AutomatonCell & getAutomatonCell() const
Mutable getter for the automaton cell.
Class representing a three dimensional reconstructed hit.
bool hasMaskedFlag() const
Gets the current state of the masked marker flag.
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...
void unsetMaskedFlag()
Resets the masked flag to false.
const CDCWireHit & getWireHit() const
Getter for the wire hit.
A segment consisting of three dimensional reconstructed hits.
Particle trajectory as it is seen in xy projection represented as a circle.
AutomatonCell & getAutomatonCell() const
Mutable getter for the automaton cell.
void setMaskedFlag(bool setTo=true)
Sets the masked flag to the given value. Default value true.
void receiveMaskedFlag(bool fromHits=true) const
Check all contained wire hits if one has the masked flag.
double getAliasScore() const
Getter for the flag that this segment may have an aliased version.
Class representing a two dimensional reconstructed hit in the central drift chamber.
Abstract base class for different kinds of events.
CDCSegment2D stereoProjectToRef() const
Constructs a two dimensional segment by carrying out the stereo ! projection to the wire reference po...
CDCRecoHit2D stereoProjectToRef() const
Constructs a two dimensional reconstructed hit by carrying out the stereo ! projection to the wire re...
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...
void unsetAndForwardMaskedFlag(bool toHits=true) const
Unset the masked flag of the automaton cell of this segment and of all contained wire hits.
A reconstructed sequence of two dimensional hits in one super layer.
Class representing a hit wire in the central drift chamber.
static CDCRecoHit3D reconstruct(const CDCRecoHit2D &recoHit2D, const CDCTrajectory2D &trajectory2D)
Reconstructs the three dimensional hit from the two dimensional and the two dimensional trajectory.
void setAliasScore(double aliasScore)
Setter for the flag that this segment may have an aliased version.