The Gaudi Framework  master (37c0b60a)
RootRefs.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 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 {
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 
95  unsigned long clid{ 1 };
97  RootNTupleDescriptor() = default;
99  virtual ~RootNTupleDescriptor() = default;
100  };
101 } // namespace Gaudi
102 
103 #endif // GAUDIROOTCNV_ROOTREFS_H
Gaudi::RootNTupleDescriptor::optional
std::string optional
Optional description.
Definition: RootRefs.h:91
std::string
STL class.
Gaudi::RootNTupleDescriptor::clid
unsigned long clid
Class ID of the described object.
Definition: RootRefs.h:95
Gaudi::RootRef::clid
int clid
Definition: RootRefs.h:42
Gaudi::RootNTupleDescriptor
Definition: RootRefs.h:87
Gaudi::RootRef::reset
void reset()
Reset data content.
Definition: RootRefs.h:50
std::vector< int >
Gaudi::RootRef::dbase
int dbase
Data members to define object location in the persistent world.
Definition: RootRefs.h:42
gaudirun.c
c
Definition: gaudirun.py:525
Gaudi::RootObjectRefs
Definition: RootRefs.h:68
Gaudi::RootNTupleDescriptor::~RootNTupleDescriptor
virtual ~RootNTupleDescriptor()=default
Standard destructor.
Gaudi::RootObjectRefs::~RootObjectRefs
~RootObjectRefs()=default
Default destructor.
Gaudi::RootRef::link
int link
Definition: RootRefs.h:42
Gaudi::RootRef::RootRef
RootRef(const RootRef &c)=default
Copy constructor.
Gaudi::RootRef::svc
int svc
Definition: RootRefs.h:42
Gaudi::RootRef::operator=
RootRef & operator=(const RootRef &c)=default
Assignment operator.
Gaudi::RootObjectRefs::links
std::vector< int > links
The links of the link manager.
Definition: RootRefs.h:70
Gaudi::RootNTupleDescriptor::description
std::string description
Description string.
Definition: RootRefs.h:89
Gaudi::RootRef::container
int container
Definition: RootRefs.h:42
Gaudi::RootRef
Definition: RootRefs.h:40
Gaudi::RootNTupleDescriptor::RootNTupleDescriptor
RootNTupleDescriptor()=default
Standard constructor.
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition: __init__.py:1
Gaudi::RootRef::entry
int entry
Definition: RootRefs.h:42
Gaudi::RootObjectRefs::RootObjectRefs
RootObjectRefs()=default
Default constructor.
Kernel.h
Gaudi::RootRef::RootRef
RootRef()
Standard constructor.
Definition: RootRefs.h:44
Gaudi::RootObjectRefs::refs
std::vector< RootRef > refs
The references corresponding to the next layer of items in the data store.
Definition: RootRefs.h:72
Gaudi::RootNTupleDescriptor::container
std::string container
Identifier of description.
Definition: RootRefs.h:93