Belle II Software
release-08-01-10
|
A pair of oriented wire hits. More...
#include <CDCRLWireHitPair.h>
Public Member Functions | |
CDCRLWireHitPair ()=default | |
Default constructor for ROOT. | |
CDCRLWireHitPair (const CDCRLWireHit &fromRLWireHit, const CDCRLWireHit &toRLWireHit, int iCluster=0) | |
Constructor taking two oriented wire hits. | |
CDCRLWireHitPair | reversed () const |
Constructs a oriented wire hit pair that is the reverse of this one. | |
void | reverse () |
Reverses the oriented wire hit pair inplace. | |
CDCRLWireHitPair | getAlias () const |
Returns the aliased version of this oriented wire hit pair. | |
bool | operator== (const CDCRLWireHitPair &other) const |
Equality comparision based the two oriented wire hits. | |
bool | operator< (const CDCRLWireHitPair &other) const |
Total ordering relation based on the from oriented wire hit first and the to oriented wire hit second. | |
WireNeighborKind | getNeighborKind () const |
Getter for the WireNeighborKind of the two underlying wires. | |
ISuperLayer | getISuperLayer () const |
Getter for the common superlayer id of the pair. | |
EStereoKind | getStereoKind () const |
Getter for the common stereo type of the superlayer of the pair. | |
bool | isAxial () const |
Indicator if the underlying wires are axial. | |
const CDCWire & | getFromWire () const |
Getter for the wire the first oriented wire hit is based on. | |
const CDCWire & | getToWire () const |
Getter for the wire the second oriented wire hit is based on. | |
bool | hasWire (const CDCWire &wire) const |
Indicator if any of the two oriented wire hits is based on the given wire. | |
const CDCWireHit & | getFromWireHit () const |
Getter for the hit wire of the first oriented wire hit. | |
const CDCWireHit & | getToWireHit () const |
Getter for the hit wire of the second oriented wire hit. | |
bool | hasWireHit (const CDCWireHit &wirehit) const |
Indicator if any of the two oriented wire hits is based on the given wire hit. | |
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. | |
CDCRLWireHit & | getFromRLWireHit () |
Getter for the first oriented wire hit. | |
CDCRLWireHit & | getToRLWireHit () |
Getter for the second oriented wire hit. | |
const CDCRLWireHit & | getFromRLWireHit () const |
Constant getter for the first oriented wire hit. | |
const CDCRLWireHit & | getToRLWireHit () const |
Constant getter for the second oriented wire hit. | |
void | setFromRLWireHit (const CDCRLWireHit &fromRLWireHit) |
Setter 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. | |
void | setToRLInfo (ERightLeft toRLInfo) |
Setter for the right left passage information of the second oriented wire hit. | |
int | getICluster () const |
Getter for the cluster id. | |
void | setICluster (int iCluster) |
Setter for the cluster id. | |
Protected Attributes | |
CDCRLWireHit | m_fromRLWireHit |
Memory for the reference to the first oriented wire hit. | |
CDCRLWireHit | m_toRLWireHit |
Memory for the reference to the second oriented wire hit. | |
int | m_iCluster = -1 |
Memory for the cluster id of this facet. | |
Friends | |
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 CDCWireHit &wireHit, const CDCRLWireHitPair &rlWireHitPair) |
Defines wire hits and oriented wire hit pair as coaligned on the first wire hit. | |
A pair of oriented wire hits.
Definition at line 27 of file CDCRLWireHitPair.h.