| The Gaudi Framework v30r0 (c919700c)

- 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 "AIDA/IProfile1D.h"
4 #include "TProfile.h"
5 namespace RootHistCnv
6 {
7 typedef RHistogramCnv<TProfile, TProfile, Gaudi::HistogramBase> RootHistCnvP1DCnv;
8 template <>
9 const CLID& RootHistCnvP1DCnv::classID()
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 {
20 typedef RHistogramCnv<TProfile2D, TProfile2D, Gaudi::HistogramBase> RootHistCnvP2DCnv;
21 template <>
22 const CLID& RootHistCnvP2DCnv::classID()
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 {
33 typedef RHistogramCnv<TH1D, TH1, Gaudi::HistogramBase> RootHistCnvH1DCnv;
34 template <>
35 const CLID& RootHistCnvH1DCnv::classID()
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 {
46 typedef RHistogramCnv<TH2D, TH2, Gaudi::HistogramBase> RootHistCnvH2DCnv;
47 template <>
48 const CLID& RootHistCnvH2DCnv::classID()
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 {
59 typedef RootHistCnv::RHistogramCnv<TH3D, TH3, Gaudi::HistogramBase> RootHistCnvH3DCnv;
60 template <>
61 const CLID& RootHistCnvH3DCnv::classID()
62 {
63 return CLID_H3D;
64 }
65 DECLARE_CONVERTER_FACTORY( RootHistCnvH3DCnv )
66 }
RootHistCnv::RootHistCnvH1DCnv
RHistogramCnv< TH1D, TH1, Gaudi::HistogramBase > RootHistCnvH1DCnv
Definition: RHistogramCnv.cpp:33
RootHistCnv::RHistogramCnv::classID
static const CLID & classID()
Inquire class type.
Definition: RHistogramCnv.cpp:9
RootHistCnv::RootHistCnvH2DCnv
RHistogramCnv< TH2D, TH2, Gaudi::HistogramBase > RootHistCnvH2DCnv
Definition: RHistogramCnv.cpp:46
RootHistCnv::RHistogramCnv
Generic converter to save/read AIDA_ROOT histograms using ROOT.
Definition: RHistogramCnv.h:32
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:7
DECLARE_CONVERTER_FACTORY
#define DECLARE_CONVERTER_FACTORY(x)
Definition: Converter.h:174
RootHistCnv::RootHistCnvH3DCnv
RootHistCnv::RHistogramCnv< TH3D, TH3, Gaudi::HistogramBase > RootHistCnvH3DCnv
Definition: RHistogramCnv.cpp:59
RHistogramCnv.h
RootHistCnv::RootHistCnvP2DCnv
RHistogramCnv< TProfile2D, TProfile2D, Gaudi::HistogramBase > RootHistCnvP2DCnv
Definition: RHistogramCnv.cpp:20