Changeset 7181 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 07/12/05 14:31:02 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/BaseIncl.h
r1382 r7181 1 1 #ifndef __CINT__ 2 3 #include <TVector3.h> 2 4 3 5 /* -
trunk/MagicSoft/Mars/mbase/MMath.cc
r7176 r7181 18 18 ! Author(s): Thomas Bretz 3/2004 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! 20 ! Copyright: MAGIC Software Development, 2000-200 420 ! Copyright: MAGIC Software Development, 2000-2005 21 21 ! 22 22 ! … … 26 26 // 27 27 // MMath 28 // 29 // Mars - Math package (eg Significances, etc) 28 30 // 29 31 ///////////////////////////////////////////////////////////////////////////// 30 32 #include "MMath.h" 33 34 #ifndef ROOT_TVector3 35 #include <TVector3.h> 36 #endif 31 37 32 38 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mbase/MMath.h
r6078 r7181 3 3 4 4 #ifndef ROOT_TMath 5 #include <TMath.h> 5 #include <TMath.h> // TMath is included here for convinience 6 6 #endif 7 #ifndef ROOT_TVector3 8 #include <TVector3.h> 9 #endif 7 8 class TVector3; 10 9 11 10 namespace MMath … … 24 23 Double_t InterpolParabLog(const TVector3 &vx, const TVector3 &vy, Double_t x); 25 24 Double_t InterpolParabCos(const TVector3 &vx, const TVector3 &vy, Double_t x); 25 26 Double_t Sgn(Double_t d); 26 27 } 27 28 29 inline Double_t MMath::Sgn(Double_t d) { return d<0 ? -1 : 1; } 30 28 31 #endif
Note:
See TracChangeset
for help on using the changeset viewer.