BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
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 mdcWrapWire.h.

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

Referenced by MdcSeg::addHits(), MdcSegFinder::createSegs(), MdcxFindSegs::initWireGroups(), mdcWrapWire(), MdcTrackList::pickHits(), and MdcSegData::poisonHits().