Aida2ROOT.h
Go to the documentation of this file.
1 // ============================================================================
2 #ifndef GAUDIALG_AIDA2ROOT_H
3 #define GAUDIALG_AIDA2ROOT_H 1
4 // ============================================================================
5 // Include files
6 // ============================================================================
7 #include "GaudiKernel/Kernel.h"
8 // ============================================================================
9 // Forward declarations
10 // ============================================================================
11 namespace AIDA
12 {
13  class IBaseHistogram ;
14  class IHistogram ;
15  class IHistogram1D ;
16  class IHistogram2D ;
17  class IHistogram3D ;
18  class IProfile1D ;
19  class IProfile2D ;
20 }
21 // ============================================================================
22 // ROOT
23 // ============================================================================
24 class TH1D ;
25 class TH2D ;
26 class TH3D ;
27 class TProfile ;
28 class TProfile2D ;
29 class TObject ;
30 // ============================================================================
31 namespace Gaudi
32 {
33  namespace Utils
34  {
35  // ========================================================================
61  {
62  public:
64  static TH1D* aida2root ( AIDA::IHistogram1D* aida ) ;
65  static const TH1D* aida2root ( const AIDA::IHistogram1D* aida ) ;
67  static TH2D* aida2root ( AIDA::IHistogram2D* aida ) ;
68  static const TH2D* aida2root ( const AIDA::IHistogram2D* aida ) ;
70  static TH3D* aida2root ( AIDA::IHistogram3D* aida ) ;
71  static const TH3D* aida2root ( const AIDA::IHistogram3D* aida ) ;
73  static TProfile* aida2root ( AIDA::IProfile1D* aida ) ;
74  static const TProfile* aida2root ( const AIDA::IProfile1D* aida ) ;
76  static TProfile2D* aida2root ( AIDA::IProfile2D* aida ) ;
77  static const TProfile2D* aida2root ( const AIDA::IProfile2D* aida ) ;
79  static TObject* aida2root ( AIDA::IHistogram* aida ) ;
80  static const TObject* aida2root ( const AIDA::IHistogram* aida ) ;
81  } ;
82  // ========================================================================
83  } // end of namespace Gaudi::Utils
84  // ==========================================================================
85 } // end of namespace Gaudi
86 // ============================================================================
87 // The END
88 // ============================================================================
89 #endif // GAUDIALG_AIDA2ROOT_H
90 // ============================================================================
Accessor to underlying ROOT-representation of transient histograms The actual code is imported from B...
Definition: Aida2ROOT.h:60
GaudiKernel.
Definition: Fill.h:8
#define GAUDI_API
Definition: Kernel.h:107
Helper functions to set/get the application return code.
Definition: __init__.py:1