 |
Belle II Software
release-05-02-19
|
12 #include <tracking/trackFindingCDC/eventdata/segments/CDCSegment.h>
13 #include <tracking/trackFindingCDC/eventdata/hits/CDCRecoHit2D.h>
15 #include <tracking/trackFindingCDC/ca/AutomatonCell.h>
24 namespace TrackFindingCDC {
26 class CDCFacetSegment;
27 class CDCTangentSegment;
28 class CDCRLWireHitSegment;
29 class CDCWireHitSegment;
WeightedRelation< const CDCSegment2D, const CDCSegment2D > makeWeightedRelation(double weight, const CDCSegment2D *segment) const
Helper constructor to create a relation in python.
double getRLAsymmetry() const
Getter for the sum of right left information relative to the size.
Type for two related objects.
CDCSegment2D getAlias() const
Getter for the alias version of the segment - fit not copied.
A sequence of hits limited to one superlayer.
void receiveISuperCluster() const
Setter for the super cluster id based on the hit content.
AutomatonCell * operator->() const
Indirection to the automaton cell for easier access to the flags.
int getISuperCluster() const
Getter for the global super cluster id.
Relation< const CDCSegment2D, const CDCSegment2D > makeRelation(const CDCSegment2D *segment) const
Helper constructor to create a relation in python.
std::vector< const CDCWire * > getWireSegment() const
Getter for the vector of wires the hits of this segment are based on in the same order.
static CDCSegment2D condense(const CDCTangentSegment &tangentSegment)
Averages the reconstructed positions from hits that overlap in adjacent tangents in the given tangent...
bool operator<(const CDCSegment2D &segment2D) const
Comparision of segments up to the super cluster id keeping them close together on sort.
static CDCSegment2D reconstructUsingFacets(const CDCRLWireHitSegment &rlWireHitSegment)
Reconstruct from wire hits with attached right left passage hypotheses by constructing facets between...
void setISuperCluster(int iSuperCluster) const
Setter for the globale super cluster id.
bool isFullyTaken(unsigned int maxNotTaken=0) const
Returns false, if there are more than N hits in the range which does not have a taken flag.
A segment consisting of two dimensional reconsturcted hits.
A segment consisting of two dimensional reconsturcted hits.
A segment consisting of adjacent facets.
CDCSegment2D reversed() const
Makes a copy of the segment with the reversed hits in the opposite order.
void receiveMaskedFlag(bool fromHits=false) const
Check all contained wire hits if one has the masked flag.
Abstract base class for different kinds of events.
void unsetAndForwardMaskedFlag(bool toHits=false) const
Unset the masked flag of the automaton cell of this segment and of all contained wire hits.
Cell used by the cellular automata.
int getNRLSwitches() const
Getter for the number of changes in the right left passage in the segment.
CDCWireHitSegment getWireHitSegment() const
Getter for the vector of the wire hits of this segment are based on in the same order.
void setAndForwardMaskedFlag(bool toHits=false) const
Set the masked flag of the automaton cell of this segment and forward the masked flag to all containe...
void reverse()
Reverses the order of hits and their right left passage hypotheses inplace.
static CDCSegment2D reconstructUsingTangents(const CDCRLWireHitSegment &rlWireHitSegment)
Reconstruct from wire hits with attached right left passage hypotheses by constructing tangents betwe...
AutomatonCell & getAutomatonCell() const
Mutable getter for the automaton cell.
A reconstructed sequence of two dimensional hits in one super layer.
Type for two related objects with a weight.
CDCRLWireHitSegment getRLWireHitSegment() const
Getter for the vector of right left oriented the hits of this segment.
A segment consisting of adjacent tangents.
int m_iSuperCluster
Memory for the global super cluster id.
AutomatonCell m_automatonCell
Memory for the automaton cell.