Changeset 8385 for trunk/MagicSoft/Mars/mgeom/MGeomPix.h
- Timestamp:
- 03/29/07 13:53:26 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgeom/MGeomPix.h
r7355 r8385 10 10 class MGeomPix : public MParContainer 11 11 { 12 p rivate:12 public: 13 13 static const Float_t gsTan60; // tan(60/kRad2Deg); 14 14 static const Float_t gsTan30; // tan(30/kRad2Deg); 15 15 16 private: 16 17 enum { 17 18 kIsInOutermostRing = BIT(22), … … 63 64 UInt_t GetSector() const { return fSector; } 64 65 66 Float_t GetDist() const { return TMath::Hypot(fX, fY); } 65 67 Float_t GetDist(const MGeomPix &pix) const { return TMath::Hypot(fX-pix.fX, fY-pix.fY); } 66 68 Float_t GetAngle(const MGeomPix &pix) const { return TMath::ATan2(fX - pix.GetX(), fY - pix.GetY()); }
Note:
See TracChangeset
for help on using the changeset viewer.