Changeset 1459
- Timestamp:
- 07/31/02 11:19:30 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mgeom
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgeom/MGeomPix.cc
r1458 r1459 30 30 // This container stores the geometry (position) information of 31 31 // 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. 32 36 // 33 37 //////////////////////////////////////////////////////////////////////////// -
trunk/MagicSoft/Mars/mgeom/MGeomPix.h
r1458 r1459 12 12 private: 13 13 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 16 18 }; 17 19 … … 51 53 Bool_t IsInOuterRing() const { return TestBit(kIsInOuterRing); } 52 54 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 53 66 ClassDef(MGeomPix, 1) // Geometry class describing the geometry of one pixel 54 67 };
Note:
See TracChangeset
for help on using the changeset viewer.