The Gaudi Framework  v29r0 (ff2e7097)
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
6 {
8  template <>
10  {
11  return CLID_ProfileH;
12  }
13  DECLARE_CONVERTER_FACTORY( RootHistCnvP1DCnv )
14 }
15 
16 #include "AIDA/IProfile2D.h"
17 #include "TProfile2D.h"
18 namespace RootHistCnv
19 {
21  template <>
23  {
24  return CLID_ProfileH2;
25  }
26  DECLARE_CONVERTER_FACTORY( RootHistCnvP2DCnv )
27 }
28 
29 #include "AIDA/IHistogram1D.h"
30 #include "TH1D.h"
31 namespace RootHistCnv
32 {
34  template <>
36  {
37  return CLID_H1D;
38  }
39  DECLARE_CONVERTER_FACTORY( RootHistCnvH1DCnv )
40 }
41 
42 #include "AIDA/IHistogram2D.h"
43 #include "TH2D.h"
44 namespace RootHistCnv
45 {
47  template <>
49  {
50  return CLID_H2D;
51  }
52  DECLARE_CONVERTER_FACTORY( RootHistCnvH2DCnv )
53 }
54 
55 #include "AIDA/IHistogram3D.h"
56 #include "TH3D.h"
57 namespace RootHistCnv
58 {
60  template <>
62  {
63  return CLID_H3D;
64  }
65  DECLARE_CONVERTER_FACTORY( RootHistCnvH3DCnv )
66 }
RHistogramCnv< TH1D, TH1, Gaudi::HistogramBase > RootHistCnvH1DCnv
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:32
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
RHistogramCnv< TProfile, TProfile, Gaudi::HistogramBase > RootHistCnvP1DCnv
#define DECLARE_CONVERTER_FACTORY(x)
Definition: Converter.h:174
RootHistCnv::RHistogramCnv< TH3D, TH3, Gaudi::HistogramBase > RootHistCnvH3DCnv
RHistogramCnv< TProfile2D, TProfile2D, Gaudi::HistogramBase > RootHistCnvP2DCnv