10#include <tracking/trackingUtilities/numerics/Modulo.h>
39 return TrackingUtilities::moduloFast(iWire, nWires);
signed short IWire
The type of the wire ids enumerating wires within a given layer.
Abstract base class for different kinds of events.
This is a utility class for the free IWire type.
static IWire getNextCW(IWire iWire, IWire nWires)
Gets the next clockwise wire id properly wrapping near the wire of index zero.
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.