The Gaudi Framework
v41r0 (bdbe7744)
Toggle main menu visibility
Loading...
Searching...
No Matches
RHistogramCnv.cpp
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#include "
RHistogramCnv.h
"
12
13
#include <AIDA/IProfile1D.h>
14
#include <TProfile.h>
15
namespace
RootHistCnv
{
16
typedef
RHistogramCnv<TProfile, TProfile, Gaudi::HistogramBase>
RootHistCnvP1DCnv
;
17
template
<>
18
const
CLID
&
RootHistCnvP1DCnv::classID
() {
19
return
CLID_ProfileH;
20
}
21
DECLARE_CONVERTER
(
RootHistCnvP1DCnv
)
22
}
// namespace RootHistCnv
23
24
#include <AIDA/IProfile2D.h>
25
#include <TProfile2D.h>
26
namespace
RootHistCnv
{
27
typedef
RHistogramCnv<TProfile2D, TProfile2D, Gaudi::HistogramBase>
RootHistCnvP2DCnv
;
28
template
<>
29
const
CLID
&
RootHistCnvP2DCnv::classID
() {
30
return
CLID_ProfileH2;
31
}
32
DECLARE_CONVERTER
(
RootHistCnvP2DCnv
)
33
}
// namespace RootHistCnv
34
35
#include <AIDA/IHistogram1D.h>
36
#include <TH1D.h>
37
namespace
RootHistCnv
{
38
typedef
RHistogramCnv<TH1D, TH1, Gaudi::HistogramBase>
RootHistCnvH1DCnv
;
39
template
<>
40
const
CLID
&
RootHistCnvH1DCnv::classID
() {
41
return
CLID_H1D;
42
}
43
DECLARE_CONVERTER
(
RootHistCnvH1DCnv
)
44
}
// namespace RootHistCnv
45
46
#include <AIDA/IHistogram2D.h>
47
#include <TH2D.h>
48
namespace
RootHistCnv
{
49
typedef
RHistogramCnv<TH2D, TH2, Gaudi::HistogramBase>
RootHistCnvH2DCnv
;
50
template
<>
51
const
CLID
&
RootHistCnvH2DCnv::classID
() {
52
return
CLID_H2D;
53
}
54
DECLARE_CONVERTER
(
RootHistCnvH2DCnv
)
55
}
// namespace RootHistCnv
56
57
#include <AIDA/IHistogram3D.h>
58
#include <TH3D.h>
59
namespace
RootHistCnv
{
60
typedef
RootHistCnv::RHistogramCnv<TH3D, TH3, Gaudi::HistogramBase>
RootHistCnvH3DCnv
;
61
template
<>
62
const
CLID
&
RootHistCnvH3DCnv::classID
() {
63
return
CLID_H3D;
64
}
65
DECLARE_CONVERTER
(
RootHistCnvH3DCnv
)
66
}
// namespace RootHistCnv
CLID
unsigned int CLID
Class ID definition.
Definition
ClassID.h:16
DECLARE_CONVERTER
#define DECLARE_CONVERTER(x)
Definition
Converter.h:142
RHistogramCnv.h
RootHistCnv::RHistogramCnv
Generic converter to save/read AIDA_ROOT histograms using ROOT.
Definition
RHistogramCnv.h:40
RootHistCnv::RHistogramCnv< TProfile, TProfile, Gaudi::HistogramBase >::classID
static const CLID & classID()
Definition
RHistogramCnv.cpp:18
RootHistCnv
Definition
DirectoryCnv.h:26
RootHistCnv::RootHistCnvH1DCnv
RHistogramCnv< TH1D, TH1, Gaudi::HistogramBase > RootHistCnvH1DCnv
Definition
RHistogramCnv.cpp:38
RootHistCnv::RootHistCnvH2DCnv
RHistogramCnv< TH2D, TH2, Gaudi::HistogramBase > RootHistCnvH2DCnv
Definition
RHistogramCnv.cpp:49
RootHistCnv::RootHistCnvP2DCnv
RHistogramCnv< TProfile2D, TProfile2D, Gaudi::HistogramBase > RootHistCnvP2DCnv
Definition
RHistogramCnv.cpp:27
RootHistCnv::RootHistCnvP1DCnv
RHistogramCnv< TProfile, TProfile, Gaudi::HistogramBase > RootHistCnvP1DCnv
Definition
RHistogramCnv.cpp:16
RootHistCnv::RootHistCnvH3DCnv
RootHistCnv::RHistogramCnv< TH3D, TH3, Gaudi::HistogramBase > RootHistCnvH3DCnv
Definition
RHistogramCnv.cpp:60
RootHistCnv
src
RHistogramCnv.cpp
Generated on
for The Gaudi Framework by
1.17.0