| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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 {
6 typedef RHistogramCnv<TProfile,TProfile,Gaudi::HistogramBase> RootHistCnvP1DCnv;
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 {
14 typedef RHistogramCnv<TProfile2D,TProfile2D,Gaudi::HistogramBase> RootHistCnvP2DCnv;
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 {
22 typedef RHistogramCnv<TH1D,TH1,Gaudi::HistogramBase> RootHistCnvH1DCnv;
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 {
30 typedef RHistogramCnv<TH2D,TH2,Gaudi::HistogramBase> RootHistCnvH2DCnv;
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 {
38 typedef RootHistCnv::RHistogramCnv<TH3D,TH3,Gaudi::HistogramBase> RootHistCnvH3DCnv;
39 template<> const CLID& RootHistCnvH3DCnv::classID() { return CLID_H3D; }
40 DECLARE_CONVERTER_FACTORY(RootHistCnvH3DCnv)
41 }
RootHistCnv::RootHistCnvP2DCnv
RHistogramCnv< TProfile2D, TProfile2D, Gaudi::HistogramBase > RootHistCnvP2DCnv
Definition: RHistogramCnv.cpp:14
RootHistCnv::RootHistCnvH2DCnv
RHistogramCnv< TH2D, TH2, Gaudi::HistogramBase > RootHistCnvH2DCnv
Definition: RHistogramCnv.cpp:30
RootHistCnv::RHistogramCnv::classID
static const CLID & classID()
Inquire class type.
Definition: RHistogramCnv.cpp:7
RootHistCnv::RootHistCnvH3DCnv
RootHistCnv::RHistogramCnv< TH3D, TH3, Gaudi::HistogramBase > RootHistCnvH3DCnv
Definition: RHistogramCnv.cpp:38
RootHistCnv::RHistogramCnv
Generic converter to save/read AIDA_ROOT histograms using ROOT.
Definition: RHistogramCnv.h:30
RootHistCnv
Definition: DirectoryCnv.h:17
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
RootHistCnv::RootHistCnvP1DCnv
RHistogramCnv< TProfile, TProfile, Gaudi::HistogramBase > RootHistCnvP1DCnv
Definition: RHistogramCnv.cpp:6
DECLARE_CONVERTER_FACTORY
#define DECLARE_CONVERTER_FACTORY(x)
Definition: Converter.h:181
RHistogramCnv.h
RootHistCnv::RootHistCnvH1DCnv
RHistogramCnv< TH1D, TH1, Gaudi::HistogramBase > RootHistCnvH1DCnv
Definition: RHistogramCnv.cpp:22