Ignore:
Timestamp:
04/05/02 14:17:53 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mgui/MGeomPix.cc

    r1211 r1271  
    2424\* ======================================================================== */
    2525
    26 ///////////////////////////////////////////////////////////////////////
     26//////////////////////////////////////////////////////////////////////////////
    2727//
    2828// MGeomPix
     
    3131// a single pixel together with the information about next neighbors.
    3232//
    33 ///////////////////////////////////////////////////////////////////////
     33//////////////////////////////////////////////////////////////////////////////
    3434
    3535#include "MGeomPix.h"
     36
     37#include <math.h>
    3638
    3739#include "MLog.h"
     
    4749{
    4850    //  default constructor
     51}
     52
     53// --------------------------------------------------------------------------
     54//
     55// Return the area of the pixel. A hegagonal shape is assumed.
     56//
     57Float_t MGeomPix::GetA() const
     58{
     59    return fR*fR*tan(60/kRad2Deg);
    4960}
    5061
Note: See TracChangeset for help on using the changeset viewer.