Ignore:
Timestamp:
02/21/02 14:46:59 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
2 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*/
  • trunk/MagicSoft/Mars/manalysis/MHillasExt.h

    r1203 r1222  
    2424    void Reset();
    2525
     26    Float_t GetConc() const    { return fConc; }
     27    Float_t GetConc1() const   { return fConc1; }
     28    Float_t GetAsym() const    { return fAsym; }
     29    Float_t GetM3Long() const  { return fM3Long; }
     30    Float_t GetM3Trans() const { return fM3Trans; }
     31
    2632    Bool_t Calc(const MGeomCam &geom, const MCerPhotEvt &pix);
    2733
     
    2935
    3036    void AsciiRead(ifstream &fin);
    31     void AsciiWrite(ofstream &fout) const;
     37    //void AsciiWrite(ofstream &fout) const;
    3238
    3339    ClassDef(MHillasExt, 1) // Storage Container for extended Hillas Parameter
Note: See TracChangeset for help on using the changeset viewer.