The Gaudi Framework  master (37c0b60a)
Aida2ROOT.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 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 #pragma once
12 // ============================================================================
13 // Include files
14 // ============================================================================
15 #include <GaudiKernel/Kernel.h>
16 // ============================================================================
17 // Forward declarations
18 // ============================================================================
19 namespace AIDA {
20  class IBaseHistogram;
21  class IHistogram;
22  class IHistogram1D;
23  class IHistogram2D;
24  class IHistogram3D;
25  class IProfile1D;
26  class IProfile2D;
27 } // namespace AIDA
28 // ============================================================================
29 // ROOT
30 // ============================================================================
31 class TH1D;
32 class TH2D;
33 class TH3D;
34 class TProfile;
35 class TProfile2D;
36 class TObject;
37 // ============================================================================
38 namespace Gaudi {
39  namespace Utils {
40  // ========================================================================
66  public:
68  static TH1D* aida2root( AIDA::IHistogram1D* aida );
69  static const TH1D* aida2root( const AIDA::IHistogram1D* aida );
71  static TH2D* aida2root( AIDA::IHistogram2D* aida );
72  static const TH2D* aida2root( const AIDA::IHistogram2D* aida );
74  static TH3D* aida2root( AIDA::IHistogram3D* aida );
75  static const TH3D* aida2root( const AIDA::IHistogram3D* aida );
77  static TProfile* aida2root( AIDA::IProfile1D* aida );
78  static const TProfile* aida2root( const AIDA::IProfile1D* aida );
80  static TProfile2D* aida2root( AIDA::IProfile2D* aida );
81  static const TProfile2D* aida2root( const AIDA::IProfile2D* aida );
83  static TObject* aida2root( AIDA::IHistogram* aida );
84  static const TObject* aida2root( const AIDA::IHistogram* aida );
85  };
86  // ========================================================================
87  } // namespace Utils
88  // ==========================================================================
89 } // end of namespace Gaudi
AIDA
GaudiKernel.
Definition: Annotation.h:22
Gaudi::Utils::Aida2ROOT
Definition: Aida2ROOT.h:65
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition: __init__.py:1
GaudiMP.GMPBase.aida2root
aida2root
Definition: GMPBase.py:79
Kernel.h
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:81