10#include <tracking/trackFindingCDC/numerics/Modulo.h>
17 namespace TrackFindingCDC {
20 using IWire =
signed short;
39 return moduloFast(iWire, nWires);
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.