The Gaudi Framework  master (e68eea06)
Loading...
Searching...
No Matches
RHistogramCnv.cpp
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#include "RHistogramCnv.h"
12
13#include <AIDA/IProfile1D.h>
14#include <TProfile.h>
15namespace RootHistCnv {
17 template <>
19 return CLID_ProfileH;
20 }
22} // namespace RootHistCnv
23
24#include <AIDA/IProfile2D.h>
25#include <TProfile2D.h>
26namespace RootHistCnv {
28 template <>
30 return CLID_ProfileH2;
31 }
33} // namespace RootHistCnv
34
35#include <AIDA/IHistogram1D.h>
36#include <TH1D.h>
37namespace RootHistCnv {
39 template <>
41 return CLID_H1D;
42 }
44} // namespace RootHistCnv
45
46#include <AIDA/IHistogram2D.h>
47#include <TH2D.h>
48namespace RootHistCnv {
50 template <>
52 return CLID_H2D;
53 }
55} // namespace RootHistCnv
56
57#include <AIDA/IHistogram3D.h>
58#include <TH3D.h>
59namespace RootHistCnv {
61 template <>
63 return CLID_H3D;
64 }
66} // namespace RootHistCnv
unsigned int CLID
Class ID definition.
Definition ClassID.h:16
#define DECLARE_CONVERTER(x)
Definition Converter.h:142
Generic converter to save/read AIDA_ROOT histograms using ROOT.
RHistogramCnv< TH1D, TH1, Gaudi::HistogramBase > RootHistCnvH1DCnv
RHistogramCnv< TH2D, TH2, Gaudi::HistogramBase > RootHistCnvH2DCnv
RHistogramCnv< TProfile2D, TProfile2D, Gaudi::HistogramBase > RootHistCnvP2DCnv
RHistogramCnv< TProfile, TProfile, Gaudi::HistogramBase > RootHistCnvP1DCnv
RootHistCnv::RHistogramCnv< TH3D, TH3, Gaudi::HistogramBase > RootHistCnvH3DCnv