Ignore:
Timestamp:
10/26/09 15:13:28 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r9441 r9519  
    3838    }
    3939
    40     void SetD(Float_t d=1) { fD=d; fA=d*d*gsTan60/2; }
     40    void SetD(Float_t d=1) { fD=d; fA=d*d*gsSin60; }
    4141    void SetPhi(Double_t phi=0);
    4242
     
    4545    Float_t GetT() const  { return fD/gsTan60; } // Distance between two opposite edges (traverse)
    4646
    47     Float_t GetDx() const { return fD; }           // Distance of two rows in x-direction (without rotation)
    48     Float_t GetDy() const { return fD*gsTan60/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)
    4949
    5050    Bool_t  IsInside(Float_t px, Float_t py) const;
Note: See TracChangeset for help on using the changeset viewer.