Changeset 8922 for trunk


Ignore:
Timestamp:
06/03/08 16:23:35 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mgeom/MGeomPix.cc

    r8909 r8922  
    3131// a single pixel together with the information about next neighbors.
    3232//
    33 // The BIT(22) and BIT(23) is used to flag the pixels in the outer
    34 // and outermost ring. Please don't use this bits in conjuction with
    35 // MGeomPix.
    36 //
    3733//
    3834// Version 1:
     
    4743// ----------
    4844//  - added fAidx
     45//
     46// Version 4:
     47// ----------
     48//  - added fUserBits
    4949//
    5050//
     
    103103    fNumNeighbors = i;
    104104
    105     fNumNeighbors<5 ? SetBit(kIsInOutermostRing) : ResetBit(kIsInOutermostRing);
     105    fNumNeighbors<5 ? SETBIT(fUserBits, kIsInOutermostRing) : CLRBIT(fUserBits, kIsInOutermostRing);
    106106}
    107107
     
    116116        return;
    117117
    118     ResetBit(kIsInOuterRing);
     118    CLRBIT(fUserBits, kIsInOuterRing);
    119119
    120120    for (int i=0; i<fNumNeighbors; i++)
    121121        if (cam[fNeighbors[i]].IsInOutermostRing())
    122122        {
    123             SetBit(kIsInOuterRing);
     123            SETBIT(fUserBits, kIsInOuterRing);
    124124            return;
    125125        }
Note: See TracChangeset for help on using the changeset viewer.