/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/MdcPatRec/MdcTrkRecon/MdcTrkRecon-00-03-45/MdcTrkRecon/mdcWrapWire.h

Go to the documentation of this file.
00001 // mdcWrapWire.h -- utility routine to handle wrap-around wire numbers
00002 
00003 #ifndef MDCWRAPWIRE_H
00004 #define MDCWRAPWIRE_H
00005 
00006 inline int mdcWrapWire(int wireIn, int nCell) {
00007 
00008   int mdcWrapWire = wireIn % nCell;
00009   if (mdcWrapWire < 0) mdcWrapWire += nCell;
00010   return mdcWrapWire;
00011 }
00012 
00013 #endif
00014 
00015 
00016 
00017 
00018 
00019 
00020 

Generated on Tue Nov 29 23:13:33 2016 for BOSS_7.0.2 by  doxygen 1.4.7