Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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  class IBaseHistogram;
13  class IHistogram;
14  class IHistogram1D;
15  class IHistogram2D;
16  class IHistogram3D;
17  class IProfile1D;
18  class IProfile2D;
19 } // namespace AIDA
20 // ============================================================================
21 // ROOT
22 // ============================================================================
23 class TH1D;
24 class TH2D;
25 class TH3D;
26 class TProfile;
27 class TProfile2D;
28 class TObject;
29 // ============================================================================
30 namespace Gaudi {
31  namespace Utils {
32  // ========================================================================
58  public:
60  static TH1D* aida2root( AIDA::IHistogram1D* aida );
61  static const TH1D* aida2root( const AIDA::IHistogram1D* aida );
63  static TH2D* aida2root( AIDA::IHistogram2D* aida );
64  static const TH2D* aida2root( const AIDA::IHistogram2D* aida );
66  static TH3D* aida2root( AIDA::IHistogram3D* aida );
67  static const TH3D* aida2root( const AIDA::IHistogram3D* aida );
69  static TProfile* aida2root( AIDA::IProfile1D* aida );
70  static const TProfile* aida2root( const AIDA::IProfile1D* aida );
72  static TProfile2D* aida2root( AIDA::IProfile2D* aida );
73  static const TProfile2D* aida2root( const AIDA::IProfile2D* aida );
75  static TObject* aida2root( AIDA::IHistogram* aida );
76  static const TObject* aida2root( const AIDA::IHistogram* aida );
77  };
78  // ========================================================================
79  } // namespace Utils
80  // ==========================================================================
81 } // end of namespace Gaudi
82 // ============================================================================
83 // The END
84 // ============================================================================
85 #endif // GAUDIALG_AIDA2ROOT_H
Accessor to underlying ROOT-representation of transient histograms The actual code is imported from B...
Definition: Aida2ROOT.h:57
GaudiKernel.
Definition: Fill.h:10
#define GAUDI_API
Definition: Kernel.h:71
Helper functions to set/get the application return code.
Definition: __init__.py:1