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