- Timestamp:
- 06/03/08 16:23:35 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgeom/MGeomPix.cc
r8909 r8922 31 31 // a single pixel together with the information about next neighbors. 32 32 // 33 // The BIT(22) and BIT(23) is used to flag the pixels in the outer34 // and outermost ring. Please don't use this bits in conjuction with35 // MGeomPix.36 //37 33 // 38 34 // Version 1: … … 47 43 // ---------- 48 44 // - added fAidx 45 // 46 // Version 4: 47 // ---------- 48 // - added fUserBits 49 49 // 50 50 // … … 103 103 fNumNeighbors = i; 104 104 105 fNumNeighbors<5 ? S etBit(kIsInOutermostRing) : ResetBit(kIsInOutermostRing);105 fNumNeighbors<5 ? SETBIT(fUserBits, kIsInOutermostRing) : CLRBIT(fUserBits, kIsInOutermostRing); 106 106 } 107 107 … … 116 116 return; 117 117 118 ResetBit(kIsInOuterRing);118 CLRBIT(fUserBits, kIsInOuterRing); 119 119 120 120 for (int i=0; i<fNumNeighbors; i++) 121 121 if (cam[fNeighbors[i]].IsInOutermostRing()) 122 122 { 123 S etBit(kIsInOuterRing);123 SETBIT(fUserBits, kIsInOuterRing); 124 124 return; 125 125 }
Note:
See TracChangeset
for help on using the changeset viewer.