Belle II Software development
|
Type for the different shapes of a triple of neighboring wire hits. More...
#include <CDCRLWireHitTriple.h>
Public Member Functions | |
Shape () | |
Default constructor for an invalid shape. | |
Shape (const short startToMiddleCellDistance, const short middleToEndCellDistance, const short oClockDelta) | |
Constructor from cell extend and o'clock direction change. | |
short | getStartToMiddleCellDistance () const |
Getter for the start to middle cell distance. | |
short | getMiddleToEndCellDistance () const |
Getter for the middle to end cell distance. | |
short | getCellExtend () const |
Getter for the sum of cell distances from start to middle and middle to end. | |
short | getOClockDelta () const |
Getter for the o'clock direction difference from start to middle compared to middle to end. | |
bool | isValid () const |
Check if the shape is considered valid. | |
Private Attributes | |
char | m_startToMiddleCellDistance |
The cell distances from start to middle. | |
char | m_middleToEndCellDistance |
The cell distances from middle to end. | |
short | m_oClockDelta |
The o'clock direction difference from start to middle compared to middle to end. | |
Type for the different shapes of a triple of neighboring wire hits.
Definition at line 38 of file CDCRLWireHitTriple.h.
Shape | ( | ) |
Default constructor for an invalid shape.
Definition at line 21 of file CDCRLWireHitTriple.cc.
Shape | ( | const short | startToMiddleCellDistance, |
const short | middleToEndCellDistance, | ||
const short | oClockDelta | ||
) |
Constructor from cell extend and o'clock direction change.
Definition at line 28 of file CDCRLWireHitTriple.cc.
short getCellExtend | ( | ) | const |
Getter for the sum of cell distances from start to middle and middle to end.
Definition at line 47 of file CDCRLWireHitTriple.cc.
short getMiddleToEndCellDistance | ( | ) | const |
Getter for the middle to end cell distance.
Definition at line 42 of file CDCRLWireHitTriple.cc.
short getOClockDelta | ( | ) | const |
Getter for the o'clock direction difference from start to middle compared to middle to end.
Definition at line 52 of file CDCRLWireHitTriple.cc.
short getStartToMiddleCellDistance | ( | ) | const |
Getter for the start to middle cell distance.
Definition at line 37 of file CDCRLWireHitTriple.cc.
bool isValid | ( | ) | const |
Check if the shape is considered valid.
Definition at line 57 of file CDCRLWireHitTriple.cc.
|
private |
The cell distances from middle to end.
Definition at line 69 of file CDCRLWireHitTriple.h.
|
private |
The o'clock direction difference from start to middle compared to middle to end.
Definition at line 72 of file CDCRLWireHitTriple.h.
|
private |
The cell distances from start to middle.
Definition at line 66 of file CDCRLWireHitTriple.h.