Gaudi Framework, version v24r2
Home
Generated: Wed Dec 4 2013
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RootCnv
RootCnv
RootRefs.h
Go to the documentation of this file.
1
// $Id: RootRefs.h,v 1.4 2010-08-24 23:30:32 frankb Exp $
2
//====================================================================
3
// Dictionary classes for internal classes used to write ROOT files.
4
//--------------------------------------------------------------------
5
//
6
// Author : M.Frank
7
//
8
//====================================================================
9
#ifndef GAUDIROOTCNV_ROOTREFS_H
10
#define GAUDIROOTCNV_ROOTREFS_H
11
12
// Framework include files
13
#include "
GaudiKernel/Kernel.h
"
14
15
// C++ include files
16
#include <
string
>
17
#include <
vector
>
18
19
/*
20
* Gaudi namespace declaration
21
*/
22
namespace
Gaudi
{
23
31
struct
RootRef
{
33
int
dbase
,
container
,
link
,
clid
,
svc
,
entry
;
35
RootRef
() { this->
reset
(); }
37
RootRef
(
const
RootRef
&
c
)
38
:
dbase
(c.
dbase
),
container
(c.
container
),
link
(c.
link
),
clid
(c.
clid
),
svc
(c.
svc
),
entry
(c.
entry
)
39
{
40
}
42
RootRef
&
operator=
(
const
RootRef
&
c
) {
43
dbase
= c.
dbase
;
44
container
= c.
container
;
45
link
= c.
link
;
46
clid
= c.
clid
;
47
svc
= c.
svc
;
48
entry
= c.
entry
;
49
return
*
this
;
50
}
52
void
reset
() {
53
dbase
= -1;
54
container
= -1;
55
link
= -1;
56
entry
= -1;
57
svc
= 1;
58
clid
= 1;
59
}
60
};
61
70
struct
RootObjectRefs
{
72
std::vector<int>
links
;
74
std::vector<RootRef>
refs
;
75
77
RootObjectRefs
() {}
79
RootObjectRefs
(
const
RootObjectRefs
& r) :
links
(r.
links
),
refs
(r.
refs
) {}
81
~RootObjectRefs
() {}
83
RootObjectRefs
&
operator=
(
const
RootObjectRefs
& r) {
84
links
= r.
links
;
85
refs
= r.
refs
;
86
return
*
this
;
87
}
88
};
89
97
struct
RootNTupleDescriptor
{
99
std::string
description
;
101
std::string
optional
;
103
std::string
container
;
105
unsigned
long
clid
;
107
RootNTupleDescriptor
() {}
109
virtual
~RootNTupleDescriptor
() {}
110
};
111
}
112
113
#endif // GAUDIROOTCNV_ROOTREFS_H
114
Generated at Wed Dec 4 2013 14:33:12 for Gaudi Framework, version v24r2 by
Doxygen
version 1.8.2 written by
Dimitri van Heesch
, © 1997-2004