Changeset 1204 for trunk/MagicSoft
- Timestamp:
- 01/21/02 21:48:35 (23 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1203 r1204 1 1 -*-*- END -*-*- 2 3 2002/01/21: Thomas Bretz 4 5 * mbase/MReadMarsFile.cc, mbase/MReadTree.[h,cc]: 6 - implemented GetFileName 7 8 * mmc/MMcEvt.[hxx,cxx] 9 - implemented WriteAscii 10 11 * mgui/MGeomPix.h: 12 - implemented first version of GetA 13 14 2 15 3 16 2002/01/19: Thomas Bretz -
trunk/MagicSoft/Mars/mgui/MGeomPix.h
r1015 r1204 9 9 { 10 10 private: 11 Float_t fX; // the x coordinate12 Float_t fY; // the y coordinate13 Float_t fR; // the r coordinate11 Float_t fX; // [mm] the x coordinate 12 Float_t fY; // [mm] the y coordinate 13 Float_t fR; // [mm] the r coordinate 14 14 15 15 Byte_t fNumNeighbors; // number of valid neighbors … … 22 22 void Print(Option_t *opt=NULL) const; 23 23 24 void Set 24 void Set(Float_t x, Float_t y, Float_t r) { fX=x; fY=y; fR=r; } 25 25 26 26 void SetNeighbors(Short_t i0=-1, Short_t i1=-1, Short_t i2=-1, 27 27 Short_t i3=-1, Short_t i4=-1, Short_t i5=-1); 28 28 29 void SetX 30 void SetY 31 void SetR 29 void SetX(Float_t x) { fX = x; } 30 void SetY(Float_t y) { fY = y; } 31 void SetR(Float_t r) { fR = r; } 32 32 33 33 Float_t GetX() const { return fX; } … … 35 35 Float_t GetR() const { return fR; } 36 36 37 Byte_t GetNumNeighbors() const { return fNumNeighbors; } 37 Float_t GetA() const { return fR*fR*3; } // FIXME: Algorithm! A hexagonal shape is assumed! 38 39 Byte_t GetNumNeighbors() const { return fNumNeighbors; } 38 40 Short_t GetNeighbor(Byte_t i) const { return fNeighbors[i]; } 39 41
Note:
See TracChangeset
for help on using the changeset viewer.