Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 {
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 {
63 
65  RootObjectRefs() = default;
67  ~RootObjectRefs() = default;
68  };
69 
85  unsigned long clid;
87  RootNTupleDescriptor() = default;
89  virtual ~RootNTupleDescriptor() = default;
90  };
91 } // namespace Gaudi
92 
93 #endif // GAUDIROOTCNV_ROOTREFS_H
std::vector< RootRef > refs
The references corresponding to the next layer of items in the data store.
Definition: RootRefs.h:62
Persistent reference object containing all leafs and links corresponding to a Gaudi DataObject...
Definition: RootRefs.h:58
STL class.
int dbase
Data members to define object location in the persistent world.
Definition: RootRefs.h:32
Persistent reference object.
Definition: RootRefs.h:30
std::string optional
Optional description.
Definition: RootRefs.h:81
std::string description
Description string.
Definition: RootRefs.h:79
std::vector< int > links
The links of the link manager.
Definition: RootRefs.h:60
void reset()
Reset data content.
Definition: RootRefs.h:40
std::string container
Identifier of description.
Definition: RootRefs.h:83
RootRef & operator=(const RootRef &c)=default
Assignment operator.
unsigned long clid
Class ID of the described object.
Definition: RootRefs.h:85
RootRef()
Standard constructor.
Definition: RootRefs.h:34
Helper functions to set/get the application return code.
Definition: __init__.py:1