Changeset 9370 for trunk/MagicSoft


Ignore:
Timestamp:
03/01/09 22:05:21 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9369 r9370  
    136136     - slightly changed palette
    137137     - evaluate return of fwrite
     138
     139   * mbase/MQuaternion.h, msim/MPhotonData.h:
     140     - added a workaround for sqrt in root 5.18/00
    138141
    139142
  • trunk/MagicSoft/Mars/mbase/MQuaternion.h

    r9234 r9370  
    88
    99#ifndef ROOT_TQuaternion
     10#include <math.h>
     11#define sqrt ::sqrt
    1012#include <TQuaternion.h>
     13#undef sqrt
    1114#endif
    1215
  • trunk/MagicSoft/Mars/mgeom/MGeomPix.cc

    r9369 r9370  
    6666ClassImp(MGeomPix);
    6767
     68using namespace std;
     69
    6870const Float_t MGeomPix::gsTan30 = TMath::Sqrt(3)/3;  //TMath::Tan(TMath::DegToRad()*30);
    6971const Float_t MGeomPix::gsTan60 = TMath::Sqrt(3);    //TMath::Tan(TMath::DegToRad()*60);
  • trunk/MagicSoft/Mars/msim/MPhotonData.h

    r9348 r9370  
    1515
    1616#ifndef ROOT_TQuaternion
     17#include <math.h>
     18#define sqrt ::sqrt
    1719#include <TQuaternion.h>
     20#undef sqrt
    1821#endif
    1922
Note: See TracChangeset for help on using the changeset viewer.