Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
RHistogramCnv.cpp
Go to the documentation of this file.
1 #include "RHistogramCnv.h"
2 
3 #include "AIDA/IProfile1D.h"
4 #include "TProfile.h"
5 namespace RootHistCnv {
7  template <>
9  return CLID_ProfileH;
10  }
11  DECLARE_CONVERTER( RootHistCnvP1DCnv )
12 } // namespace RootHistCnv
13 
14 #include "AIDA/IProfile2D.h"
15 #include "TProfile2D.h"
16 namespace RootHistCnv {
18  template <>
20  return CLID_ProfileH2;
21  }
22  DECLARE_CONVERTER( RootHistCnvP2DCnv )
23 } // namespace RootHistCnv
24 
25 #include "AIDA/IHistogram1D.h"
26 #include "TH1D.h"
27 namespace RootHistCnv {
29  template <>
31  return CLID_H1D;
32  }
33  DECLARE_CONVERTER( RootHistCnvH1DCnv )
34 } // namespace RootHistCnv
35 
36 #include "AIDA/IHistogram2D.h"
37 #include "TH2D.h"
38 namespace RootHistCnv {
40  template <>
42  return CLID_H2D;
43  }
44  DECLARE_CONVERTER( RootHistCnvH2DCnv )
45 } // namespace RootHistCnv
46 
47 #include "AIDA/IHistogram3D.h"
48 #include "TH3D.h"
49 namespace RootHistCnv {
51  template <>
53  return CLID_H3D;
54  }
55  DECLARE_CONVERTER( RootHistCnvH3DCnv )
56 } // namespace RootHistCnv
RHistogramCnv< TH1D, TH1, Gaudi::HistogramBase > RootHistCnvH1DCnv
#define DECLARE_CONVERTER(x)
Definition: Converter.h:150
static const CLID & classID()
Inquire class type.
RHistogramCnv< TH2D, TH2, Gaudi::HistogramBase > RootHistCnvH2DCnv
Generic converter to save/read AIDA_ROOT histograms using ROOT.
Definition: RHistogramCnv.h:31
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
RHistogramCnv< TProfile, TProfile, Gaudi::HistogramBase > RootHistCnvP1DCnv
RootHistCnv::RHistogramCnv< TH3D, TH3, Gaudi::HistogramBase > RootHistCnvH3DCnv
RHistogramCnv< TProfile2D, TProfile2D, Gaudi::HistogramBase > RootHistCnvP2DCnv