Changeset 10089
- Timestamp:
- 01/06/11 16:51:46 (14 years ago)
- Location:
- trunk/Mars
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mgeom/MGeom.h
r9571 r10089 79 79 Float_t GetY() const { return fY; } 80 80 81 virtual Float_t GetL() const = 0; // Length of a side to a neighbor 81 82 virtual Float_t GetT() const = 0; // Maximum elongation 82 83 -
trunk/Mars/mgeom/MGeomPix.h
r9871 r10089 53 53 Float_t GetD() const { return fD; } // Distance between two parallel sides 54 54 Float_t GetL() const { return fD*gsTan30; } // Length of one of the parallel sides 55 Float_t GetT() const { return fD/gsTan60; } // Distance between two opposite edges (traverse)55 Float_t GetT() const { return fD/gsTan60; } // Half distance between two opposite edges (traverse) 56 56 57 57 Float_t GetDx() const { return fD; } // Distance of two rows in x-direction (without rotation) -
trunk/Mars/mgeom/MGeomRectangle.cc
r9385 r10089 97 97 // ------------------------------------------------------------------------ 98 98 // 99 // Return the distance of the two opposite edges.99 // Return the distance from the center to one of the two opposite edges. 100 100 // 101 101 Float_t MGeomRectangle::GetT() const 102 102 { 103 103 return TMath::Hypot(fW, fH)/2; 104 } 105 106 // ------------------------------------------------------------------------ 107 // 108 // Return the average length of the sides 109 // 110 Float_t MGeomRectangle::GetL() const 111 { 112 return (fW+fH)/2; 104 113 } 105 114 -
trunk/Mars/mgeom/MGeomRectangle.h
r9385 r10089 31 31 Float_t GetH() const { return fH; } 32 32 Float_t GetT() const; 33 Float_t GetL() const; 33 34 34 35 Bool_t IsInside(Float_t px, Float_t py) const; -
trunk/Mars/mimage/MNewImagePar2.cc
r9369 r10089 109 109 110 110 // FIXME: GetT is not the correct value 111 fBorderLinePixel += (nn-used)*gpix.Get T();111 fBorderLinePixel += (nn-used)*gpix.GetL(); 112 112 } 113 113
Note:
See TracChangeset
for help on using the changeset viewer.