]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/src/AliL3RootTypes.h
Removed loading non-existing library
[u/mrichter/AliRoot.git] / HLT / src / AliL3RootTypes.h
index 364f56812e1f79da9f565eca1365b07823193887..1120a282b2e84e9bea4bc768978c65f0f5d8594d 100644 (file)
@@ -1,14 +1,14 @@
+// @(#) $Id$
+
 #ifndef ALIL3ROOTTYPES_H
 #define ALIL3ROOTTYPES_H
 
 
 //////////////////////////////////////////////////////////////////////////
 //                                                                      //
-// Basic types used by level3                                           //
+// Basic types used by HLT                                              //
 //                                                                      //
 //////////////////////////////////////////////////////////////////////////
-#include <stdio.h>
-#include <math.h>
 
 #ifndef no_root
 #include <TObject.h>
 
 #else
 
+#if __GNUC__ == 3
+#include <cstdio>
+#include <cmath>
+#else
+#include <stdio.h>
+#include <math.h>
+#endif
+
 #ifndef ROOT_Rtypes
 //---- types -------------------------------------------------------------------
 
-typedef char           Char_t;      //Signed Character 1 byte
-typedef unsigned char  UChar_t;     //Unsigned Character 1 byte
-typedef short          Short_t;     //Signed Short integer 2 bytes
-typedef unsigned short UShort_t;    //Unsigned Short integer 2 bytes
+typedef char           Char_t;        //Signed Character 1 byte
+typedef unsigned char  UChar_t;       //Unsigned Character 1 byte
+typedef short          Short_t;       //Signed Short integer 2 bytes
+typedef unsigned short UShort_t;      //Unsigned Short integer 2 bytes
 #ifdef R__INT16
-typedef long           Int_t;       //Signed integer 4 bytes
-typedef unsigned long  UInt_t;      //Unsigned integer 4 bytes
+typedef long           Int_t;         //Signed integer 4 bytes
+typedef unsigned long  UInt_t;        //Unsigned integer 4 bytes
 #else
-typedef int            Int_t;       //Signed integer 4 bytes
-typedef unsigned int   UInt_t;      //Unsigned integer 4 bytes
+typedef int            Int_t;         //Signed integer 4 bytes
+typedef unsigned int   UInt_t;        //Unsigned integer 4 bytes
 #endif
 #ifdef R__B64
-typedef int            Seek_t;      //File pointer
-typedef long           Long_t;      //Signed long integer 4 bytes
-typedef unsigned long  ULong_t;     //Unsigned long integer 4 bytes
+typedef int            Seek_t;        //File pointer
+typedef long           Long_t;        //Signed long integer 4 bytes
+typedef unsigned long  ULong_t;       //Unsigned long integer 4 bytes
 #else
-typedef int            Seek_t;      //File pointer
-typedef long           Long_t;      //Signed long integer 8 bytes
-typedef unsigned long  ULong_t;     //Unsigned long integer 8 bytes
+typedef int            Seek_t;        //File pointer
+typedef long           Long_t;        //Signed long integer 8 bytes
+typedef unsigned long  ULong_t;       //Unsigned long integer 8 bytes
 #endif
-typedef float          Float_t;     //Float 4 bytes
-typedef double         Double_t;    //Float 8 bytes
-typedef char           Text_t;      //General string
-typedef unsigned char  Bool_t;      //Boolean (0=false, 1=true)
-typedef unsigned char  Byte_t;      //Byte (8 bits)
-typedef short          Version_t;   //Class version identifier
-typedef const char     Option_t;    //Option string
-typedef int            Ssiz_t;      //String size
-typedef float          Real_t;      //TVector and TMatrix element type
+typedef float          Float_t;       //Float 4 bytes
+typedef double         Double_t;      //Float 8 bytes
+typedef char           Text_t;        //General string
+typedef bool           Bool_t;        //Boolean (0=false, 1=true) (bool)
+typedef unsigned char  Byte_t;        //Byte (8 bits)
+typedef short          Version_t;     //Class version identifier
+typedef const char     Option_t;      //Option string
+typedef int            Ssiz_t;        //String size
+typedef float          Real_t;        //TVector and TMatrix element type
+typedef long long          Long64_t;  //Portable signed long integer 8 bytes
+typedef unsigned long long ULong64_t; //Portable unsigned long integer 8 bytes
 
 typedef void         (*VoidFuncPtr_t)();  //pointer to void function
 
 
 //---- constants ---------------------------------------------------------------
-
 #ifndef NULL
 #define NULL 0
 #endif
@@ -69,12 +78,9 @@ const Ssiz_t kNPOS        = ~(Ssiz_t)0;
 
 //---- ClassDef macros ---------------------------------------------------------
 
-
 #define ClassDef(name,id) 
-
 #define ClassImp(name) 
 #endif  //end of Rtypes 
-
 #endif  //end of root selection
 
 //---- Timms AliL3EventDataType  from AliL3EventDataType.h