The Gaudi Framework  v38r1p1 (ae26267b)
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 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 // ============================================================================
12 #ifndef GAUDIALG_AIDA2ROOT_H
13 #define GAUDIALG_AIDA2ROOT_H 1
14 // ============================================================================
15 // Include files
16 // ============================================================================
17 #include "GaudiKernel/Kernel.h"
18 // ============================================================================
19 // Forward declarations
20 // ============================================================================
21 namespace AIDA {
22  class IBaseHistogram;
23  class IHistogram;
24  class IHistogram1D;
25  class IHistogram2D;
26  class IHistogram3D;
27  class IProfile1D;
28  class IProfile2D;
29 } // namespace AIDA
30 // ============================================================================
31 // ROOT
32 // ============================================================================
33 class TH1D;
34 class TH2D;
35 class TH3D;
36 class TProfile;
37 class TProfile2D;
38 class TObject;
39 // ============================================================================
40 namespace Gaudi {
41  namespace Utils {
42  // ========================================================================
68  public:
70  static TH1D* aida2root( AIDA::IHistogram1D* aida );
71  static const TH1D* aida2root( const AIDA::IHistogram1D* aida );
73  static TH2D* aida2root( AIDA::IHistogram2D* aida );
74  static const TH2D* aida2root( const AIDA::IHistogram2D* aida );
76  static TH3D* aida2root( AIDA::IHistogram3D* aida );
77  static const TH3D* aida2root( const AIDA::IHistogram3D* aida );
79  static TProfile* aida2root( AIDA::IProfile1D* aida );
80  static const TProfile* aida2root( const AIDA::IProfile1D* aida );
82  static TProfile2D* aida2root( AIDA::IProfile2D* aida );
83  static const TProfile2D* aida2root( const AIDA::IProfile2D* aida );
85  static TObject* aida2root( AIDA::IHistogram* aida );
86  static const TObject* aida2root( const AIDA::IHistogram* aida );
87  };
88  // ========================================================================
89  } // namespace Utils
90  // ==========================================================================
91 } // end of namespace Gaudi
92 // ============================================================================
93 // The END
94 // ============================================================================
95 #endif // GAUDIALG_AIDA2ROOT_H
AIDA
GaudiKernel.
Definition: Fill.h:20
Gaudi::Utils::Aida2ROOT
Definition: Aida2ROOT.h:67
Gaudi
Header file for std:chrono::duration-based Counters.
Definition: __init__.py:1
GaudiAlg.HistoUtils.aida2root
aida2root
Definition: HistoUtils.py:503
Kernel.h
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:81