The Gaudi Framework  master (1304469f)
Loading...
Searching...
No Matches
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// ============================================================================
19namespace 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// ============================================================================
31class TH1D;
32class TH2D;
33class TH3D;
34class TProfile;
35class TProfile2D;
36class TObject;
37// ============================================================================
38namespace 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
#define GAUDI_API
Definition Kernel.h:49
Accessor to underlying ROOT-representation of transient histograms The actual code is imported from B...
Definition Aida2ROOT.h:65
static TH1D * aida2root(AIDA::IHistogram1D *aida)
get the underlying pointer for 1D-histogram
Definition Aida2ROOT.cpp:60
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition __init__.py:1