Changeset 9519 for trunk/MagicSoft/Mars/mgeom
- Timestamp:
- 10/26/09 15:13:28 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgeom/MGeomPix.h
r9441 r9519 38 38 } 39 39 40 void SetD(Float_t d=1) { fD=d; fA=d*d*gs Tan60/2; }40 void SetD(Float_t d=1) { fD=d; fA=d*d*gsSin60; } 41 41 void SetPhi(Double_t phi=0); 42 42 … … 45 45 Float_t GetT() const { return fD/gsTan60; } // Distance between two opposite edges (traverse) 46 46 47 Float_t GetDx() const { return fD; } 48 Float_t GetDy() const { return fD*gs Tan60/2; } // Distance of two rows in y-direction (without rotation)47 Float_t GetDx() const { return fD; } // Distance of two rows in x-direction (without rotation) 48 Float_t GetDy() const { return fD*gsSin60; } // Distance of two rows in y-direction (without rotation) 49 49 50 50 Bool_t IsInside(Float_t px, Float_t py) const;
Note:
See TracChangeset
for help on using the changeset viewer.