| The Gaudi Framework v30r0 (c919700c)

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

- File List
- File Members

RootRefs.h
Go to the documentation of this file.
1 //====================================================================
2 // Dictionary classes for internal classes used to write ROOT files.
3 //--------------------------------------------------------------------
4 //
5 // Author : M.Frank
6 //
7 //====================================================================
8 #ifndef GAUDIROOTCNV_ROOTREFS_H
9 #define GAUDIROOTCNV_ROOTREFS_H
10
11 // Framework include files
12 #include "GaudiKernel/Kernel.h"
13
14 // C++ include files
15 #include <string>
16 #include <vector>
17
18 /*
19 * Gaudi namespace declaration
20 */
21 namespace Gaudi
22 {
23
31 struct RootRef {
33 int dbase, container, link, clid, svc, entry;
35 RootRef() { this->reset(); }
37 RootRef( const RootRef& c ) = default;
39 RootRef& operator=( const RootRef& c ) = default;
41 void reset()
42 {
43 dbase = -1;
44 container = -1;
45 link = -1;
46 entry = -1;
47 svc = 1;
48 clid = 1;
49 }
50 };
51
60 struct RootObjectRefs {
62 std::vector<int> links;
64 std::vector<RootRef> refs;
65
67 RootObjectRefs() = default;
69 ~RootObjectRefs() = default;
70 };
71
79 struct RootNTupleDescriptor {
81 std::string description;
83 std::string optional;
85 std::string container;
87 unsigned long clid;
89 RootNTupleDescriptor() = default;
91 virtual ~RootNTupleDescriptor() = default;
92 };
93 }
94
95 #endif // GAUDIROOTCNV_ROOTREFS_H
Kernel.h
gaudirun.c
c
Definition: gaudirun.py:407
Gaudi::RootRef::container
int container
Definition: RootRefs.h:33
Gaudi::RootObjectRefs::refs
std::vector< RootRef > refs
The references corresponding to the next layer of items in the data store.
Definition: RootRefs.h:64
Gaudi::RootRef::entry
int entry
Definition: RootRefs.h:33
Gaudi::RootObjectRefs
Persistent reference object containing all leafs and links corresponding to a Gaudi DataObject...
Definition: RootRefs.h:60
std::string
STL class.
Gaudi::RootRef::dbase
int dbase
Data members to define object location in the persistent world.
Definition: RootRefs.h:33
Gaudi::RootRef
Persistent reference object.
Definition: RootRefs.h:31
Gaudi::RootNTupleDescriptor
Description:
Definition: RootRefs.h:79
Gaudi::RootNTupleDescriptor::optional
std::string optional
Optional description.
Definition: RootRefs.h:83
Gaudi::RootNTupleDescriptor::description
std::string description
Description string.
Definition: RootRefs.h:81
Gaudi::RootRef::clid
int clid
Definition: RootRefs.h:33
Gaudi::RootObjectRefs::links
std::vector< int > links
The links of the link manager.
Definition: RootRefs.h:62
Gaudi::RootRef::reset
void reset()
Reset data content.
Definition: RootRefs.h:41
std::vector< int >
Gaudi::RootRef::link
int link
Definition: RootRefs.h:33
Gaudi::RootNTupleDescriptor::container
std::string container
Identifier of description.
Definition: RootRefs.h:85
Gaudi::RootRef::operator=
RootRef & operator=(const RootRef &c)=default
Assignment operator.
Gaudi::RootRef::svc
int svc
Definition: RootRefs.h:33
Gaudi::RootNTupleDescriptor::clid
unsigned long clid
Class ID of the described object.
Definition: RootRefs.h:87
Gaudi::RootRef::RootRef
RootRef()
Standard constructor.
Definition: RootRefs.h:35
Gaudi
Helper functions to set/get the application return code.
Definition: __init__.py:1