00001 // $Id: Aida2ROOT.h,v 1.3 2007/08/06 14:49:36 hmd Exp $ 00002 // ============================================================================ 00003 #ifndef GAUDIALG_AIDA2ROOT_H 00004 #define GAUDIALG_AIDA2ROOT_H 1 00005 // ============================================================================ 00006 // Include files 00007 // ============================================================================ 00008 // Forward declarations 00009 // ============================================================================ 00010 namespace AIDA 00011 { 00012 class IBaseHistogram ; 00013 class IHistogram ; 00014 class IHistogram1D ; 00015 class IHistogram2D ; 00016 class IHistogram3D ; 00017 class IProfile1D ; 00018 class IProfile2D ; 00019 } 00020 // ============================================================================ 00021 // ROOT 00022 // ============================================================================ 00023 class TH1D ; 00024 class TH2D ; 00025 class TH3D ; 00026 class TProfile ; 00027 class TProfile2D ; 00028 class TObject ; 00029 // ============================================================================ 00030 namespace Gaudi 00031 { 00032 namespace Utils 00033 { 00034 // ======================================================================== 00059 class Aida2ROOT 00060 { 00061 public: 00063 static TH1D* aida2root ( AIDA::IHistogram1D* aida ) ; 00065 static TH2D* aida2root ( AIDA::IHistogram2D* aida ) ; 00067 static TH3D* aida2root ( AIDA::IHistogram3D* aida ) ; 00069 static TProfile* aida2root ( AIDA::IProfile1D* aida ) ; 00071 static TProfile2D* aida2root ( AIDA::IProfile2D* aida ) ; 00073 static TObject* aida2root ( AIDA::IHistogram* aida ) ; 00074 } ; 00075 // ======================================================================== 00076 } // end of namespace Gaudi::Utils 00077 // ========================================================================== 00078 } // end of namespace Gaudi 00079 // ============================================================================ 00080 // The END 00081 // ============================================================================ 00082 #endif // GAUDIALG_AIDA2ROOT_H 00083 // ============================================================================