Changeset 3112 for trunk/MagicSoft/Mars/mgeom
- Timestamp:
- 02/12/04 11:34:32 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgeom/MGeomPix.h
r2463 r3112 34 34 void Print(Option_t *opt=NULL) const; 35 35 36 void Set(Float_t x, Float_t y, Float_t d, UInt_t s=0) { fX=x; fY=y; fD=d; fA=d*d*gsTan60 ; fSector=s; }36 void Set(Float_t x, Float_t y, Float_t d, UInt_t s=0) { fX=x; fY=y; fD=d; fA=d*d*gsTan60/2; fSector=s; } 37 37 38 38 void SetNeighbors(Short_t i0=-1, Short_t i1=-1, Short_t i2=-1, … … 46 46 UInt_t GetSector() const { return fSector; } 47 47 48 Float_t GetA() const { return fA; /*fD*fD*gsTan60 ;*/ }48 Float_t GetA() const { return fA; /*fD*fD*gsTan60/2;*/ } 49 49 50 50 Byte_t GetNumNeighbors() const { return fNumNeighbors; }
Note:
See TracChangeset
for help on using the changeset viewer.