| The Gaudi Framework v32r1 (f65d50dc)

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
30 struct RootRef {
32 int dbase, container, link, clid, svc, entry;
34 RootRef() { this->reset(); }
36 RootRef( const RootRef& c ) = default;
38 RootRef& operator=( const RootRef& c ) = default;
40 void reset() {
41 dbase = -1;
42 container = -1;
43 link = -1;
44 entry = -1;
45 svc = 1;
46 clid = 1;
47 }
48 };
49
58 struct RootObjectRefs {
60 std::vector<int> links;
62 std::vector<RootRef> refs;
63
65 RootObjectRefs() = default;
67 ~RootObjectRefs() = default;
68 };
69
77 struct RootNTupleDescriptor {
79 std::string description;
81 std::string optional;
83 std::string container;
85 unsigned long clid;
87 RootNTupleDescriptor() = default;
89 virtual ~RootNTupleDescriptor() = default;
90 };
91 } // namespace Gaudi
92
93 #endif // GAUDIROOTCNV_ROOTREFS_H
Kernel.h
gaudirun.c
c
Definition: gaudirun.py:487
Gaudi::RootRef::container
int container
Definition: extractEvt.C:36
Gaudi::RootRef::entry
int entry
Definition: extractEvt.C:36
Gaudi::RootObjectRefs::links
std::vector< int > links
The links of the link manager.
Definition: extractEvt.C:73
std::string
STL class.
Gaudi::RootRef::dbase
int dbase
Data members to define object location in the persistent world.
Definition: extractEvt.C:36
Gaudi::RootRef
Persistent reference object.
Definition: extractEvt.C:34
Gaudi::RootNTupleDescriptor::optional
std::string optional
Optional description.
Definition: extractEvt.C:102
Gaudi::RootNTupleDescriptor::RootNTupleDescriptor
RootNTupleDescriptor()=default
Standard constructor.
Gaudi::RootObjectRefs::~RootObjectRefs
~RootObjectRefs()=default
Default destructor.
Gaudi::RootNTupleDescriptor::description
std::string description
Description string.
Definition: extractEvt.C:100
Gaudi::RootRef::clid
int clid
Definition: extractEvt.C:36
Gaudi::RootRef::reset
void reset()
Reset data content.
Definition: extractEvt.C:53
Gaudi::RootObjectRefs::RootObjectRefs
RootObjectRefs()=default
Default constructor.
std::vector< int >
Gaudi::RootRef::link
int link
Definition: extractEvt.C:36
Gaudi::RootNTupleDescriptor::~RootNTupleDescriptor
virtual ~RootNTupleDescriptor()=default
Standard destructor.
Gaudi::RootNTupleDescriptor::container
std::string container
Identifier of description.
Definition: extractEvt.C:104
Gaudi::RootRef::svc
int svc
Definition: extractEvt.C:36
Gaudi::RootNTupleDescriptor::clid
unsigned long clid
Class ID of the described object.
Definition: extractEvt.C:106
Gaudi::RootRef::operator=
RootRef & operator=(const RootRef &c)
Assignment operator.
Definition: extractEvt.C:43
Gaudi::RootObjectRefs::refs
std::vector< RootRef > refs
The references corresponding to the next layer of items in the data store.
Definition: extractEvt.C:75
Gaudi::RootRef::RootRef
RootRef()
Standard constructor.
Definition: RootRefs.h:34
Gaudi
Header file for std:chrono::duration-based Counters.
Definition: __init__.py:1