The Gaudi Framework  v33r0 (d5ea422b)
RootRefs.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 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 //====================================================================
12 // Dictionary classes for internal classes used to write ROOT files.
13 //--------------------------------------------------------------------
14 //
15 // Author : M.Frank
16 //
17 //====================================================================
18 #ifndef GAUDIROOTCNV_ROOTREFS_H
19 #define GAUDIROOTCNV_ROOTREFS_H
20 
21 // Framework include files
22 #include "GaudiKernel/Kernel.h"
23 
24 // C++ include files
25 #include <string>
26 #include <vector>
27 
28 /*
29  * Gaudi namespace declaration
30  */
31 namespace Gaudi {
32 
40  struct RootRef {
42  int dbase, container, link, clid, svc, entry;
44  RootRef() { this->reset(); }
46  RootRef( const RootRef& c ) = default;
48  RootRef& operator=( const RootRef& c ) = default;
50  void reset() {
51  dbase = -1;
52  container = -1;
53  link = -1;
54  entry = -1;
55  svc = 1;
56  clid = 1;
57  }
58  };
59 
68  struct RootObjectRefs {
73 
75  RootObjectRefs() = default;
77  ~RootObjectRefs() = default;
78  };
79 
87  struct RootNTupleDescriptor {
95  unsigned long clid;
97  RootNTupleDescriptor() = default;
99  virtual ~RootNTupleDescriptor() = default;
100  };
101 } // namespace Gaudi
102 
103 #endif // GAUDIROOTCNV_ROOTREFS_H
std::vector< int > links
The links of the link manager.
Definition: extractEvt.C:83
STL class.
int dbase
Data members to define object location in the persistent world.
Definition: extractEvt.C:46
Persistent reference object.
Definition: extractEvt.C:44
std::string optional
Optional description.
Definition: extractEvt.C:112
RootNTupleDescriptor()=default
Standard constructor.
~RootObjectRefs()=default
Default destructor.
std::string description
Description string.
Definition: extractEvt.C:110
void reset()
Reset data content.
Definition: extractEvt.C:63
RootObjectRefs()=default
Default constructor.
virtual ~RootNTupleDescriptor()=default
Standard destructor.
std::string container
Identifier of description.
Definition: extractEvt.C:114
unsigned long clid
Class ID of the described object.
Definition: extractEvt.C:116
RootRef & operator=(const RootRef &c)
Assignment operator.
Definition: extractEvt.C:53
std::vector< RootRef > refs
The references corresponding to the next layer of items in the data store.
Definition: extractEvt.C:85
RootRef()
Standard constructor.
Definition: RootRefs.h:44
Header file for std:chrono::duration-based Counters.
Definition: __init__.py:1