Belle II Software development
|
Class representing a triple of neighboring wire hits. More...
#include <CDCRLWireHitTriple.h>
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 triple 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 comparison 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 triple 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 CDCWire & | getStartWire () const |
Getter for the wire the first oriented wire hit is based on. | |
const CDCWire & | getMiddleWire () const |
Getter for the wire the second oriented wire hit is based on. | |
const CDCWire & | getEndWire () 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 CDCWireHit & | getStartWireHit () const |
Getter for the hit wire of the first oriented wire hit. | |
const CDCWireHit & | getMiddleWireHit () const |
Getter for the hit wire of the second oriented wire hit. | |
const CDCWireHit & | getEndWireHit () 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. | |
CDCRLWireHit & | getStartRLWireHit () |
Getter for the first oriented wire hit. | |
CDCRLWireHit & | getMiddleRLWireHit () |
Getter for the second oriented wire hit. | |
CDCRLWireHit & | getEndRLWireHit () |
Getter for the third oriented wire hit. | |
const CDCRLWireHit & | getStartRLWireHit () const |
Constant getter for the first oriented wire hit. | |
const CDCRLWireHit & | getMiddleRLWireHit () const |
Constant getter for the second oriented wire hit. | |
const CDCRLWireHit & | getEndRLWireHit () const |
Constant getter for the third oriented wire hit. | |
CDCRLWireHitPair & | getRearRLWireHitPair () |
Getter for the pair of second and third oriented wire hit. | |
const CDCRLWireHitPair & | getRearRLWireHitPair () 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. | |
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.
CDCRLWireHitTriple | ( | const CDCRLWireHit & | startRLWireHit, |
const CDCRLWireHit & | middleRLWireHit, | ||
const CDCRLWireHit & | endRLWireHit, | ||
int | iCluster = 0 |
||
) |
Constructor taking three oriented wire hits.
Definition at line 62 of file CDCRLWireHitTriple.cc.
CDCRLWireHitTriple getAlias | ( | ) | const |
Returns the aliased version of this oriented wire hit triple.
Definition at line 87 of file CDCRLWireHitTriple.cc.
|
inline |
Getter for the right left passage information of the third oriented wire hit.
Definition at line 196 of file CDCRLWireHitTriple.h.
|
inline |
Getter for the third oriented wire hit.
Definition at line 239 of file CDCRLWireHitTriple.h.
|
inline |
Constant getter for the third oriented wire hit.
Definition at line 257 of file CDCRLWireHitTriple.h.
|
inline |
Getter for the wire the third oriented wire hit is based on.
Definition at line 172 of file CDCRLWireHitTriple.h.
|
inline |
Getter for the hit wire of the third oriented wire hit.
Definition at line 214 of file CDCRLWireHitTriple.h.
|
inline |
Getter for the cluster id.
Definition at line 311 of file CDCRLWireHitTriple.h.
|
inline |
Getter for the common superlayer id of the pair.
Definition at line 141 of file CDCRLWireHitTriple.h.
|
inline |
Getter for the right left passage information of the second oriented wire hit.
Definition at line 190 of file CDCRLWireHitTriple.h.
|
inline |
Getter for the second oriented wire hit.
Definition at line 233 of file CDCRLWireHitTriple.h.
|
inline |
Constant getter for the second oriented wire hit.
Definition at line 251 of file CDCRLWireHitTriple.h.
|
inline |
Getter for the wire the second oriented wire hit is based on.
Definition at line 166 of file CDCRLWireHitTriple.h.
|
inline |
Getter for the hit wire of the second oriented wire hit.
Definition at line 208 of file CDCRLWireHitTriple.h.
|
inline |
Getter for the pair of second and third oriented wire hit.
Definition at line 263 of file CDCRLWireHitTriple.h.
|
inline |
Constant getter for the pair of second and third oriented wire hit.
Definition at line 269 of file CDCRLWireHitTriple.h.
CDCRLWireHitTriple::Shape getShape | ( | ) | const |
Getter for the shape of this triple if all three oriented wire hits are neighbors. Else ILLSHAPE.
Definition at line 95 of file CDCRLWireHitTriple.cc.
|
inline |
Getter for the right left passage information of the first oriented wire hit.
Definition at line 184 of file CDCRLWireHitTriple.h.
|
inline |
Getter for the first oriented wire hit.
Definition at line 227 of file CDCRLWireHitTriple.h.
|
inline |
Constant getter for the first oriented wire hit.
Definition at line 245 of file CDCRLWireHitTriple.h.
|
inline |
Getter for the wire the first oriented wire hit is based on.
Definition at line 160 of file CDCRLWireHitTriple.h.
|
inline |
Getter for the hit wire of the first oriented wire hit.
Definition at line 202 of file CDCRLWireHitTriple.h.
|
inline |
Getter for the common stereo type of the superlayer of the pair.
Definition at line 148 of file CDCRLWireHitTriple.h.
|
inline |
Indicator if any of the three oriented wire hits is based on the given wire.
Definition at line 178 of file CDCRLWireHitTriple.h.
|
inline |
Indicator if any of the three oriented wire hits is based on the given wire hit.
Definition at line 220 of file CDCRLWireHitTriple.h.
|
inline |
Indicator if the underlying wires are axial.
Definition at line 154 of file CDCRLWireHitTriple.h.
|
inline |
Establish a total ordering based on the three oriented wire hits.
Definition at line 102 of file CDCRLWireHitTriple.h.
|
inline |
Equality comparison considering all three oriented wire hits.
Definition at line 94 of file CDCRLWireHitTriple.h.
void reverse | ( | ) |
Reverses the triple inplace.
Definition at line 79 of file CDCRLWireHitTriple.cc.
CDCRLWireHitTriple reversed | ( | ) | const |
Constructs the reverse triple from this one.
Definition at line 71 of file CDCRLWireHitTriple.cc.
|
inline |
Setter for the right left passage information of the third oriented wire hit.
Definition at line 305 of file CDCRLWireHitTriple.h.
|
inline |
Setter for the third oriented wire hit.
Definition at line 287 of file CDCRLWireHitTriple.h.
|
inline |
Setter for the cluster id.
Definition at line 317 of file CDCRLWireHitTriple.h.
|
inline |
Setter for the right left passage information of the second oriented wire hit.
Definition at line 299 of file CDCRLWireHitTriple.h.
|
inline |
Setter for the second oriented wire hit.
Definition at line 281 of file CDCRLWireHitTriple.h.
|
inline |
Setter for the right left passage information of the first oriented wire hit.
Definition at line 293 of file CDCRLWireHitTriple.h.
|
inline |
Setter for the first oriented wire hit.
Definition at line 275 of file CDCRLWireHitTriple.h.
|
friend |
Define oriented wire hit pairs to be coaligned with orient wire hit triples on the first two oriented wire hits.
Definition at line 127 of file CDCRLWireHitTriple.h.
|
friend |
Define oriented wire hit pairs to be coaligned with oriented wire hit triples on the first two oriented wire hits.
Definition at line 115 of file CDCRLWireHitTriple.h.
|
protected |
Memory for the second and third wire hits.
Definition at line 327 of file CDCRLWireHitTriple.h.
|
protected |
Memory for the start oriented wire hit.
Definition at line 324 of file CDCRLWireHitTriple.h.