Changeset 1271
- Timestamp:
- 04/05/02 14:17:53 (23 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1270 r1271 15 15 tasks doesn't waste time if a tasks doesn't have the process 16 16 function 17 18 * mgui/MGeomPix.[h,cc]: 19 - corrected calculation of pixel area 17 20 18 21 -
trunk/MagicSoft/Mars/mgui/MGeomPix.cc
r1211 r1271 24 24 \* ======================================================================== */ 25 25 26 /////////////////////////////////////////////////////////////////////// 26 ////////////////////////////////////////////////////////////////////////////// 27 27 // 28 28 // MGeomPix … … 31 31 // a single pixel together with the information about next neighbors. 32 32 // 33 /////////////////////////////////////////////////////////////////////// 33 ////////////////////////////////////////////////////////////////////////////// 34 34 35 35 #include "MGeomPix.h" 36 37 #include <math.h> 36 38 37 39 #include "MLog.h" … … 47 49 { 48 50 // default constructor 51 } 52 53 // -------------------------------------------------------------------------- 54 // 55 // Return the area of the pixel. A hegagonal shape is assumed. 56 // 57 Float_t MGeomPix::GetA() const 58 { 59 return fR*fR*tan(60/kRad2Deg); 49 60 } 50 61
Note:
See TracChangeset
for help on using the changeset viewer.