Changeset 3392 for trunk/MagicSoft/Mars/mgeom/MGeomPix.h
- Timestamp:
- 03/04/04 09:59:10 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgeom/MGeomPix.h
r3112 r3392 28 28 29 29 UInt_t fSector; // Number of sector the pixels corresponds to 30 UInt_t fAidx; // Area index of the pixel 30 31 31 32 public: 32 MGeomPix(Float_t x=0, Float_t y=0, Float_t d=0, UInt_t s=0 );33 MGeomPix(Float_t x=0, Float_t y=0, Float_t d=0, UInt_t s=0, UInt_t aidx=0); 33 34 34 35 void Print(Option_t *opt=NULL) const; 35 36 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 void Set(Float_t x, Float_t y, Float_t d, UInt_t s=0, UInt_t aidx=0) { fX=x; fY=y; fD=d; fA=d*d*gsTan60/2; fSector=s; fAidx=aidx; } 37 38 38 39 void SetNeighbors(Short_t i0=-1, Short_t i1=-1, Short_t i2=-1, … … 46 47 UInt_t GetSector() const { return fSector; } 47 48 48 Float_t GetA() const { return fA; /*fD*fD*gsTan60/2;*/ } 49 Float_t GetA() const { return fA; /*fD*fD*gsTan60/2;*/ } 50 Int_t GetAidx() const { return fAidx; } 49 51 50 52 Byte_t GetNumNeighbors() const { return fNumNeighbors; } … … 65 67 */ 66 68 67 ClassDef(MGeomPix, 1) // Geometry class describing the geometry of one pixel69 ClassDef(MGeomPix, 3) // Geometry class describing the geometry of one pixel 68 70 }; 69 71 70 72 #endif 71
Note:
See TracChangeset
for help on using the changeset viewer.