|
Gaudi Framework, version v23r1 |
| Home | Generated: Wed Feb 29 2012 |
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 #include "GaudiKernel/Kernel.h" 00009 // ============================================================================ 00010 // Forward declarations 00011 // ============================================================================ 00012 namespace AIDA 00013 { 00014 class IBaseHistogram ; 00015 class IHistogram ; 00016 class IHistogram1D ; 00017 class IHistogram2D ; 00018 class IHistogram3D ; 00019 class IProfile1D ; 00020 class IProfile2D ; 00021 } 00022 // ============================================================================ 00023 // ROOT 00024 // ============================================================================ 00025 class TH1D ; 00026 class TH2D ; 00027 class TH3D ; 00028 class TProfile ; 00029 class TProfile2D ; 00030 class TObject ; 00031 // ============================================================================ 00032 namespace Gaudi 00033 { 00034 namespace Utils 00035 { 00036 // ======================================================================== 00061 class GAUDI_API Aida2ROOT 00062 { 00063 public: 00065 static TH1D* aida2root ( AIDA::IHistogram1D* aida ) ; 00067 static TH2D* aida2root ( AIDA::IHistogram2D* aida ) ; 00069 static TH3D* aida2root ( AIDA::IHistogram3D* aida ) ; 00071 static TProfile* aida2root ( AIDA::IProfile1D* aida ) ; 00073 static TProfile2D* aida2root ( AIDA::IProfile2D* aida ) ; 00075 static TObject* aida2root ( AIDA::IHistogram* aida ) ; 00076 } ; 00077 // ======================================================================== 00078 } // end of namespace Gaudi::Utils 00079 // ========================================================================== 00080 } // end of namespace Gaudi 00081 // ============================================================================ 00082 // The END 00083 // ============================================================================ 00084 #endif // GAUDIALG_AIDA2ROOT_H 00085 // ============================================================================