Ignore:
Timestamp:
02/21/02 14:46:59 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MHillasExt.cc

    r1220 r1222  
    4141
    4242#include <fstream.h>
    43 #include <math.h>
    4443
    4544#include "MGeomPix.h"
     
    162161    m3y /= GetSize();
    163162
    164     fM3Long  = m3x<0 ? -pow(fabs(m3x), 1./3) : pow(fabs(m3x), 1./3); // [mm]
    165     fM3Trans = m3y<0 ? -pow(fabs(m3y), 1./3) : pow(fabs(m3y), 1./3); // [mm]
     163    fM3Long  = m3x<0 ? -pow(-m3x, 1./3) : pow(m3x, 1./3); // [mm]
     164    fM3Trans = m3y<0 ? -pow(-m3y, 1./3) : pow(m3y, 1./3); // [mm]
    166165
    167166    SetReadyToSave();
     
    184183
    185184// -------------------------------------------------------------------------
    186 //
     185/*
    187186void MHillasExt::AsciiWrite(ofstream &fout) const
    188187{
     
    196195    fout << fM3Trans;
    197196}
     197*/
Note: See TracChangeset for help on using the changeset viewer.