| The Gaudi Framework v32r1 (f65d50dc)

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 typedef RHistogramCnv<TProfile, TProfile, Gaudi::HistogramBase> RootHistCnvP1DCnv;
7 template <>
8 const CLID& RootHistCnvP1DCnv::classID() {
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 {
17 typedef RHistogramCnv<TProfile2D, TProfile2D, Gaudi::HistogramBase> RootHistCnvP2DCnv;
18 template <>
19 const CLID& RootHistCnvP2DCnv::classID() {
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 {
28 typedef RHistogramCnv<TH1D, TH1, Gaudi::HistogramBase> RootHistCnvH1DCnv;
29 template <>
30 const CLID& RootHistCnvH1DCnv::classID() {
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 {
39 typedef RHistogramCnv<TH2D, TH2, Gaudi::HistogramBase> RootHistCnvH2DCnv;
40 template <>
41 const CLID& RootHistCnvH2DCnv::classID() {
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 {
50 typedef RootHistCnv::RHistogramCnv<TH3D, TH3, Gaudi::HistogramBase> RootHistCnvH3DCnv;
51 template <>
52 const CLID& RootHistCnvH3DCnv::classID() {
53 return CLID_H3D;
54 }
55 DECLARE_CONVERTER( RootHistCnvH3DCnv )
56 } // namespace RootHistCnv
RootHistCnv::RootHistCnvH1DCnv
RHistogramCnv< TH1D, TH1, Gaudi::HistogramBase > RootHistCnvH1DCnv
Definition: RHistogramCnv.cpp:28
DECLARE_CONVERTER
#define DECLARE_CONVERTER(x)
Definition: Converter.h:150
RootHistCnv::RHistogramCnv::classID
static const CLID & classID()
Inquire class type.
Definition: RHistogramCnv.cpp:8
RootHistCnv::RootHistCnvH2DCnv
RHistogramCnv< TH2D, TH2, Gaudi::HistogramBase > RootHistCnvH2DCnv
Definition: RHistogramCnv.cpp:39
RootHistCnv::RHistogramCnv
Generic converter to save/read AIDA_ROOT histograms using ROOT.
Definition: RHistogramCnv.h:31
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
RootHistCnv::RootHistCnvH3DCnv
RootHistCnv::RHistogramCnv< TH3D, TH3, Gaudi::HistogramBase > RootHistCnvH3DCnv
Definition: RHistogramCnv.cpp:50
RHistogramCnv.h
RootHistCnv::RootHistCnvP2DCnv
RHistogramCnv< TProfile2D, TProfile2D, Gaudi::HistogramBase > RootHistCnvP2DCnv
Definition: RHistogramCnv.cpp:17