 |
Belle II Software
release-05-01-25
|
12 #include <tracking/trackFindingCDC/eventdata/hits/CDCRLWireHit.h>
14 #include <tracking/trackFindingCDC/numerics/ERightLeft.h>
15 #include <tracking/trackFindingCDC/topology/EStereoKind.h>
16 #include <tracking/trackFindingCDC/topology/ISuperLayer.h>
23 namespace TrackFindingCDC {
26 class WireNeighborKind;
29 class CDCRLWireHitPair {
36 const CDCRLWireHit& toRLWireHit,
71 return rlWireHitPair.getFromRLWireHit() < wireHit;
77 return wireHit < rlWireHitPair.getFromRLWireHit();
bool isAxial() const
Indicator if the underlying wires are axial.
int getICluster() const
Getter for the cluster id.
ERightLeft getFromRLInfo() const
Getter for the right left passage information of the first oriented wire hit.
ERightLeft getToRLInfo() const
Getter for the right left passage information of the second oriented wire hit.
static EStereoKind getStereoKind(ISuperLayer iSuperLayer)
Returns the stereo kind of the super layer.
static const ISuperLayer c_Invalid
Constant making an invalid superlayer id.
const CDCWireHit & getWireHit() const
Getter for the wire hit associated with the oriented hit.
void setFromRLWireHit(const CDCRLWireHit &fromRLWireHit)
Setter for the first oriented wire hit.
ISuperLayer getISuperLayer() const
Getter for the superlayer id.
int m_iCluster
Memory for the cluster id of this facet.
const CDCWire & getWire() const
Getter for the wire the oriented hit associated to.
CDCRLWireHit & getToRLWireHit()
Getter for the second oriented wire hit.
void setToRLInfo(ERightLeft toRLInfo)
Setter for the right left passage information of the second oriented wire hit.
bool operator==(const CDCRLWireHitPair &other) const
Equality comparision based the two oriented wire hits.
CDCRLWireHitPair()=default
Default constructor for ROOT.
CDCRLWireHit & getFromRLWireHit()
Getter for the first oriented wire hit.
void setToRLWireHit(const CDCRLWireHit &toRLWireHit)
Setter for the second oriented wire hit.
const CDCWireHit & getFromWireHit() const
Getter for the hit wire of the first oriented wire hit.
bool hasWire(const CDCWire &wire) const
Indicator if any of the two oriented wire hits is based on the given wire.
const CDCWireHit & getToWireHit() const
Getter for the hit wire of the second oriented wire hit.
CDCRLWireHitPair reversed() const
Constructs a oriented wire hit pair that is the reverse of this one.
CDCRLWireHit m_fromRLWireHit
Memory for the reference to the first oriented wire hit.
bool hasWireHit(const CDCWireHit &wirehit) const
Checks if the oriented hit is associated with the give wire hit.
CDCRLWireHit m_toRLWireHit
Memory for the reference to the second oriented wire hit.
void reverse()
Reverses the oriented wire hit pair inplace.
bool isOnWire(const CDCWire &wire) const
Checks if the oriented hit is associated with the give wire.
ERightLeft getRLInfo() const
Getter for the right left passage information.
EStereoKind getStereoKind() const
Getter for the common stereo type of the superlayer of the pair.
Abstract base class for different kinds of events.
CDCRLWireHitPair getAlias() const
Returns the aliased version of this oriented wire hit pair.
Class representing an oriented hit wire including a hypotheses whether the causing track passes left ...
bool hasWireHit(const CDCWireHit &wirehit) const
Indicator if any of the two oriented wire hits is based on the given wire hit.
void setICluster(int iCluster)
Setter for the cluster id.
ERightLeft
Enumeration to represent the distinct possibilities of the right left passage.
bool operator<(const CDCRLWireHitPair &other) const
Total ordering relation based on the from oriented wire hit first and the to oriented wire hit second...
A pair of oriented wire hits.
Class representing a sense wire in the central drift chamber.
const CDCWire & getFromWire() const
Getter for the wire the first oriented wire hit is based on.
ISuperLayer getISuperLayer() const
Getter for the common superlayer id of the pair.
Type for the neighbor relationship from one wire to another.
Class representing a hit wire in the central drift chamber.
const CDCWire & getToWire() const
Getter for the wire the second oriented wire hit is based on.
WireNeighborKind getNeighborKind() const
Getter for the WireNeighborKind of the two underlying wires.
void setFromRLInfo(ERightLeft fromRLInfo)
Setter for the right left passage information of the first oriented wire hit.