Ignore:
Timestamp:
07/12/05 14:31:02 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/BaseIncl.h

    r1382 r7181  
    11#ifndef __CINT__
     2
     3#include <TVector3.h>
    24
    35/*
  • trunk/MagicSoft/Mars/mbase/MMath.cc

    r7176 r7181  
    1818!   Author(s): Thomas Bretz  3/2004 <mailto:tbretz@astro.uni-wuerzburg.de>
    1919!
    20 !   Copyright: MAGIC Software Development, 2000-2004
     20!   Copyright: MAGIC Software Development, 2000-2005
    2121!
    2222!
     
    2626//
    2727// MMath
     28//
     29// Mars - Math package (eg Significances, etc)
    2830//
    2931/////////////////////////////////////////////////////////////////////////////
    3032#include "MMath.h"
     33
     34#ifndef ROOT_TVector3
     35#include <TVector3.h>
     36#endif
    3137
    3238// --------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mbase/MMath.h

    r6078 r7181  
    33
    44#ifndef ROOT_TMath
    5 #include <TMath.h>
     5#include <TMath.h> // TMath is included here for convinience
    66#endif
    7 #ifndef ROOT_TVector3
    8 #include <TVector3.h>
    9 #endif
     7
     8class TVector3;
    109
    1110namespace MMath
     
    2423    Double_t InterpolParabLog(const TVector3 &vx, const TVector3 &vy, Double_t x);
    2524    Double_t InterpolParabCos(const TVector3 &vx, const TVector3 &vy, Double_t x);
     25
     26    Double_t Sgn(Double_t d);
    2627}
    2728
     29inline Double_t MMath::Sgn(Double_t d) { return d<0 ? -1 : 1; }
     30
    2831#endif
Note: See TracChangeset for help on using the changeset viewer.