Belle II Software development
|
This is a utility class for the free IWire type. More...
#include <IWire.h>
Static Public Member Functions | |
static IWire | wrappedAround (IWire iWire, IWire nWires) |
Wraps the given in layer wire index by the total number of wires in this layer. | |
static IWire | getNextCCW (IWire iWire, IWire nWires) |
Gets the next counter clockwise wire id properly wrapping near wire of highest index. | |
static IWire | getNextCW (IWire iWire, IWire nWires) |
Gets the next clockwise wire id properly wrapping near the wire of index zero. | |
This is a utility class for the free IWire type.
It provides the basic methods to operate on the ISuperLayer numbers.
|
inlinestatic |
Gets the next counter clockwise wire id properly wrapping near wire of highest index.
Definition at line 43 of file IWire.h.
|
inlinestatic |
Gets the next clockwise wire id properly wrapping near the wire of index zero.
|
inlinestatic |
Wraps the given in layer wire index by the total number of wires in this layer.
Applying this function allows the advance over the numbering jumb near the wire of index zero in both directions. It brings the (incremented / decremented) wire index back to the valid range. Works for both negative and too large wire indices.
iWire | The potentially unnormalised wire index to be brought to the valid range |
nWires | The total number of wires in the layer. |
Definition at line 37 of file IWire.h.