RHistogramCnv.cpp
Go to the documentation of this file.
1 #include "RHistogramCnv.h"
2 
3 #include "TProfile.h"
4 #include "AIDA/IProfile1D.h"
5 namespace RootHistCnv {
7  template<> const CLID& RootHistCnvP1DCnv::classID() { return CLID_ProfileH; }
8  DECLARE_CONVERTER_FACTORY(RootHistCnvP1DCnv)
9 }
10 
11 #include "TProfile2D.h"
12 #include "AIDA/IProfile2D.h"
13 namespace RootHistCnv {
15  template<> const CLID& RootHistCnvP2DCnv::classID() { return CLID_ProfileH2; }
16  DECLARE_CONVERTER_FACTORY(RootHistCnvP2DCnv)
17 }
18 
19 #include "TH1D.h"
20 #include "AIDA/IHistogram1D.h"
21 namespace RootHistCnv {
23  template<> const CLID& RootHistCnvH1DCnv::classID() { return CLID_H1D; }
24  DECLARE_CONVERTER_FACTORY(RootHistCnvH1DCnv)
25 }
26 
27 #include "TH2D.h"
28 #include "AIDA/IHistogram2D.h"
29 namespace RootHistCnv {
31  template<> const CLID& RootHistCnvH2DCnv::classID() { return CLID_H2D; }
32  DECLARE_CONVERTER_FACTORY(RootHistCnvH2DCnv)
33 }
34 
35 #include "TH3D.h"
36 #include "AIDA/IHistogram3D.h"
37 namespace RootHistCnv {
39  template<> const CLID& RootHistCnvH3DCnv::classID() { return CLID_H3D; }
40  DECLARE_CONVERTER_FACTORY(RootHistCnvH3DCnv)
41 }
RHistogramCnv< TProfile2D, TProfile2D, Gaudi::HistogramBase > RootHistCnvP2DCnv
RHistogramCnv< TH2D, TH2, Gaudi::HistogramBase > RootHistCnvH2DCnv
static const CLID & classID()
Inquire class type.
RootHistCnv::RHistogramCnv< TH3D, TH3, Gaudi::HistogramBase > RootHistCnvH3DCnv
Generic converter to save/read AIDA_ROOT histograms using ROOT.
Definition: RHistogramCnv.h:30
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
RHistogramCnv< TProfile, TProfile, Gaudi::HistogramBase > RootHistCnvP1DCnv
#define DECLARE_CONVERTER_FACTORY(x)
Definition: Converter.h:181
RHistogramCnv< TH1D, TH1, Gaudi::HistogramBase > RootHistCnvH1DCnv