Changeset 1459 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
07/31/02 11:19:30 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mgeom
Files:
2 edited

Legend:

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

    r1458 r1459  
    3030// This container stores the geometry (position) information of
    3131// a single pixel together with the information about next neighbors.
     32//
     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.
    3236//
    3337////////////////////////////////////////////////////////////////////////////
  • trunk/MagicSoft/Mars/mgeom/MGeomPix.h

    r1458 r1459  
    1212private:
    1313    enum {
    14         kIsInOutermostRing = BIT(14),
    15         kIsInOuterRing     = BIT(15)
     14        kIsInOutermostRing = BIT(22),
     15        kIsInOuterRing     = BIT(23),
     16        kUserBits          = 0x1fc000 // 14-21 are allowed
     17
    1618    };
    1719
     
    5153    Bool_t IsInOuterRing() const     { return TestBit(kIsInOuterRing); }
    5254
     55    /*
     56     //
     57     // These function are for future usage. They are not virtual in
     58     // root by now.
     59     //
     60     void SetBit(UInt_t f, Bool_t set) { set ? TObject::SetBit(f) : TObject::ResetBit(f); }
     61     void SetBit(UInt_t f)    { TObject::SetBit(f & kUserBits); }
     62     void ResetBit(UInt_t f)  { TObject::ResetBit(f & kUserBits); }
     63     void InvertBit(UInt_t f) { TObject InvertBit(f & kUserBits); }
     64     */
     65
    5366    ClassDef(MGeomPix, 1) // Geometry class describing the geometry of one pixel
    5467};
Note: See TracChangeset for help on using the changeset viewer.