From: fca Date: Fri, 11 Jun 1999 15:50:12 +0000 (+0000) Subject: We do not need CLHEP in PHOS any more. X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=43c72a31cd55534645ee438e05a7aae7b2fa679e We do not need CLHEP in PHOS any more. --- diff --git a/PHOS/CLHEP/config/CLHEP-default.h b/PHOS/CLHEP/config/CLHEP-default.h deleted file mode 100644 index 9432f4ad746..00000000000 --- a/PHOS/CLHEP/config/CLHEP-default.h +++ /dev/null @@ -1,34 +0,0 @@ -/* config/CLHEP-hppa1.0-hp-hpux10.20-CC.h. Generated automatically by configure. */ -// -*- C++ -*- -// CLASSDOC OFF -// $Id$ -// --------------------------------------------------------------------------- -// CLASSDOC ON -// -// This file is a part of the CLHEP - a Class Library for High Energy Physics. -// -// This file should define some platform dependent features necessary for -// the CLHEP class library. Go through it and change the definition of the -// macros to suit you platform. -// -#ifndef _CLHEP_COMPILER_H_ -#define _CLHEP_COMPILER_H_ - -// Define if your FORTRAN compiler post-pends an underscore on all -// routine names. This is done automatically by the configure script. -// -#define FORTRAN_PPU 1 - -// Define if your C++ has bool. -// This is done automatically by the configure script. -// -/* #undef HEP_HAVE_BOOL */ - -// Define if your C++ compiler requires the "sub" function (see the -// Matrix/ module) without const. Such a bug was noticed for some -// versions of DEC CXX, SGI CC and HP aCC. -// This is done automatically by the configure script. -// -/* #undef HEP_CC_NEED_SUB_WITHOUT_CONST */ - -#endif /* _CLHEP_COMPILER_H_ */ diff --git a/PHOS/CLHEP/config/CLHEP.h b/PHOS/CLHEP/config/CLHEP.h deleted file mode 100644 index b4ff559d7a1..00000000000 --- a/PHOS/CLHEP/config/CLHEP.h +++ /dev/null @@ -1,113 +0,0 @@ -// -*- C++ -*- -// CLASSDOC OFF -// $Id$ -// --------------------------------------------------------------------------- -// CLASSDOC ON -// -// This file is a part of the CLHEP - a Class Library for High Energy Physics. -// -// This file contains definitions of some usefull utilities and macros. -// -#ifndef _CLHEP_H_ -#define _CLHEP_H_ - -#include -#include -#include - -#if defined(CLHEP_TARGET_H) -#include CLHEP_TARGET_H -#else -#include "CLHEP/config/CLHEP-default.h" -#endif - -// CLASSDOC OFF -// **** You should probably not touch anything below this line: **** - -typedef double HepDouble; -typedef int HepInt; -typedef float HepFloat; - -#ifdef HEP_HAVE_BOOL -typedef bool HepBoolean; -#else -typedef int HepBoolean; -#ifndef false -const HepBoolean hep_false = 0; -#define false hep_false -#endif -#ifndef true -const HepBoolean hep_true = 1; -#define true hep_true -#endif -#endif /* HEP_HAVE_BOOL */ - -#ifdef HEP_SHORT_NAMES -typedef HepBoolean Boolean; -#endif - -#ifndef M_PI_2 -#define M_PI_2 1.57079632679489661923 -#endif - -#ifndef M_PI -#define M_PI 3.14159265358979323846 -#endif - -#ifndef M_2PI -#define M_2PI 6.28318530717958647692 -#endif - -#ifndef CLHEP_MAX_MIN_DEFINED -#define CLHEP_MAX_MIN_DEFINED -template -inline const T& min(const T& a, const T& b) { - // Break this into two lines to avoid an incorrect warning with - // Cfront-based compilers. - const T& retval = b < a ? b : a; - return retval; -} - -template -inline const T& max(const T& a, const T& b) { - // Break this into two lines to avoid an incorrect warning with - // Cfront-based compilers. - const T& retval = a < b ? b : a; - return retval; -} -#endif - -#ifndef CLHEP_SQR_ABS_DEFINED -#define CLHEP_SQR_ABS_DEFINED -template -inline T sqr(const T& x) { - return x*x; -} - -template -inline T abs(const T& a) { - return a < 0 ? -a : a; -} -#endif - -#ifdef HEP_DEBUG_INLINE -#define HEP_NO_INLINE_IN_DECLARATION -#endif - -#ifdef HEP_NO_INLINE_IN_DECLARATION -#define HEP_NO_INLINE_IN_TEMPLATE_DECLARATION -#endif - -// Default to generate random matrix -// -#ifndef HEP_USE_RANDOM -#define HEP_USE_RANDOM -#endif - -// GNU g++ compiler can optimize when returning an object. -// However g++ on HP cannot deal with this. -// -#undef HEP_GNU_OPTIMIZED_RETURN - -// CLASSDOC ON -#endif /* _CLHEP_H_ */