Belle II Software  release-08-01-10
CDCRLWireHitTriple Class Reference

Class representing a triple of neighboring wire hits. More...

#include <CDCRLWireHitTriple.h>

Inheritance diagram for CDCRLWireHitTriple:
Collaboration diagram for CDCRLWireHitTriple:

Classes

class  Shape
 Type for the different shapes of a triple of neighboring wire hits. More...
 

Public Member Functions

 CDCRLWireHitTriple ()=default
 Default constructor for ROOT.
 
 CDCRLWireHitTriple (const CDCRLWireHit &startRLWireHit, const CDCRLWireHit &middleRLWireHit, const CDCRLWireHit &endRLWireHit, int iCluster=0)
 Constructor taking three oriented wire hits.
 
CDCRLWireHitTriple reversed () const
 Constructs the reverse tiple from this one.
 
void reverse ()
 Reverses the triple inplace.
 
CDCRLWireHitTriple getAlias () const
 Returns the aliased version of this oriented wire hit triple.
 
bool operator== (const CDCRLWireHitTriple &other) const
 Equality comparision considering all three oriented wire hits.
 
bool operator< (const CDCRLWireHitTriple &other) const
 Establish a total ordering based on the three oriented wire hits.
 
Shape getShape () const
 Getter for the shape of this tiple if all three oriented wire hits are neighbors. Else ILLSHAPE.
 
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 CDCWiregetStartWire () const
 Getter for the wire the first oriented wire hit is based on.
 
const CDCWiregetMiddleWire () const
 Getter for the wire the second oriented wire hit is based on.
 
const CDCWiregetEndWire () const
 Getter for the wire the third oriented wire hit is based on.
 
bool hasWire (const CDCWire &wire) const
 Indicator if any of the three oriented wire hits is based on the given wire.
 
ERightLeft getStartRLInfo () const
 Getter for the right left passage information of the first oriented wire hit.
 
ERightLeft getMiddleRLInfo () const
 Getter for the right left passage information of the second oriented wire hit.
 
ERightLeft getEndRLInfo () const
 Getter for the right left passage information of the third oriented wire hit.
 
const CDCWireHitgetStartWireHit () const
 Getter for the hit wire of the first oriented wire hit.
 
const CDCWireHitgetMiddleWireHit () const
 Getter for the hit wire of the second oriented wire hit.
 
const CDCWireHitgetEndWireHit () const
 Getter for the hit wire of the third oriented wire hit.
 
bool hasWireHit (const CDCWireHit &wirehit) const
 Indicator if any of the three oriented wire hits is based on the given wire hit.
 
CDCRLWireHitgetStartRLWireHit ()
 Getter for the first oriented wire hit.
 
CDCRLWireHitgetMiddleRLWireHit ()
 Getter for the second oriented wire hit.
 
CDCRLWireHitgetEndRLWireHit ()
 Getter for the third oriented wire hit.
 
const CDCRLWireHitgetStartRLWireHit () const
 Constant getter for the first oriented wire hit.
 
const CDCRLWireHitgetMiddleRLWireHit () const
 Constant getter for the second oriented wire hit.
 
const CDCRLWireHitgetEndRLWireHit () const
 Constant getter for the third oriented wire hit.
 
CDCRLWireHitPairgetRearRLWireHitPair ()
 Getter for the pair of second and third oriented wire hit.
 
const CDCRLWireHitPairgetRearRLWireHitPair () const
 Constant getter for the pair of second and third oriented wire hit.
 
void setStartRLWireHit (const CDCRLWireHit &startRLWireHit)
 Setter for the first oriented wire hit.
 
void setMiddleRLWireHit (const CDCRLWireHit &middleRLWireHit)
 Setter for the second oriented wire hit.
 
void setEndRLWireHit (const CDCRLWireHit &endRLWireHit)
 Setter for the third oriented wire hit.
 
void setStartRLInfo (const ERightLeft startRLInfo)
 Setter for the right left passage information of the first oriented wire hit.
 
void setMiddleRLInfo (const ERightLeft middleRLInfo)
 Setter for the right left passage information of the second oriented wire hit.
 
void setEndRLInfo (const ERightLeft endRLInfo)
 Setter for the right left passage information of the third oriented wire hit.
 
int getICluster () const
 Getter for the cluster id.
 
void setICluster (int iCluster)
 Setter for the cluster id.
 

Protected Attributes

CDCRLWireHit m_startRLWireHit
 Memory for the start oriented wire hit.
 
CDCRLWireHitPair m_rearRLWireHitPair
 Memory for the second and third wire hits.
 

Friends

bool operator< (const CDCRLWireHitTriple &rlWireHitTriple, const CDCRLWireHitPair &rlWireHitPair)
 Define oriented wire hit pairs to be coaligned with oriented wire hit triples on the first two oriented wire hits.
 
bool operator< (const CDCRLWireHitPair &rlWireHitPair, const CDCRLWireHitTriple &rlWireHitTriple)
 Define oriented wire hit pairs to be coaligned with orient wire hit triples on the first two oriented wire hits.
 

Detailed Description

Class representing a triple of neighboring wire hits.

The first is taken as a single, while the second and the third are grouped into a pair. In this way we can save some object creations during lookups of a triple following this one, since the projection to the last pair can be done by reference.

Definition at line 35 of file CDCRLWireHitTriple.h.


The documentation for this class was generated from the following files: