BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcTrkRecon/MdcTrkRecon-00-03-48/MdcTrkRecon/mdcWrapWire.h File Reference

Go to the source code of this file.

Functions

int mdcWrapWire (int wireIn, int nCell)
 

Function Documentation

◆ mdcWrapWire()

int mdcWrapWire ( int  wireIn,
int  nCell 
)
inline

Definition at line 6 of file Reconstruction/MdcPatRec/MdcTrkRecon/MdcTrkRecon-00-03-48/MdcTrkRecon/mdcWrapWire.h.

6 {
7
8 int mdcWrapWire = wireIn % nCell;
9 if (mdcWrapWire < 0) mdcWrapWire += nCell;
10 return mdcWrapWire;
11}

Referenced by mdcWrapWire().