The Gaudi Framework
master (bdbe7744)
Toggle main menu visibility
Loading...
Searching...
No Matches
RootRefs.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 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
#pragma once
19
20
// Framework include files
21
#include <
GaudiKernel/Kernel.h
>
22
23
// C++ include files
24
#include <string>
25
#include <vector>
26
27
/*
28
* Gaudi namespace declaration
29
*/
30
namespace
Gaudi
{
31
39
struct
RootRef
{
41
int
dbase
,
container
,
link
,
clid
,
svc
,
entry
;
43
RootRef
() { this->
reset
(); }
45
RootRef
(
const
RootRef
& c ) =
default
;
47
RootRef
&
operator=
(
const
RootRef
& c ) =
default
;
49
void
reset
() {
50
dbase
= -1;
51
container
= -1;
52
link
= -1;
53
entry
= -1;
54
svc
= 1;
55
clid
= 1;
56
}
57
};
58
67
struct
RootObjectRefs
{
69
std::vector<int>
links
;
71
std::vector<RootRef>
refs
;
72
74
RootObjectRefs
() =
default
;
76
~RootObjectRefs
() =
default
;
77
};
78
86
struct
RootNTupleDescriptor
{
88
std::string
description
;
90
std::string
optional
;
92
std::string
container
;
94
unsigned
long
clid
{ 1 };
96
RootNTupleDescriptor
() =
default
;
98
virtual
~RootNTupleDescriptor
() =
default
;
99
};
100
}
// namespace Gaudi
Kernel.h
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::RootNTupleDescriptor::RootNTupleDescriptor
RootNTupleDescriptor()=default
Standard constructor.
Gaudi::RootNTupleDescriptor::clid
unsigned long clid
Class ID of the described object.
Definition
RootRefs.h:94
Gaudi::RootNTupleDescriptor::optional
std::string optional
Optional description.
Definition
RootRefs.h:90
Gaudi::RootNTupleDescriptor::description
std::string description
Description string.
Definition
RootRefs.h:88
Gaudi::RootNTupleDescriptor::~RootNTupleDescriptor
virtual ~RootNTupleDescriptor()=default
Standard destructor.
Gaudi::RootNTupleDescriptor::container
std::string container
Identifier of description.
Definition
RootRefs.h:92
Gaudi::RootObjectRefs::~RootObjectRefs
~RootObjectRefs()=default
Default destructor.
Gaudi::RootObjectRefs::RootObjectRefs
RootObjectRefs()=default
Default constructor.
Gaudi::RootObjectRefs::links
std::vector< int > links
The links of the link manager.
Definition
RootRefs.h:69
Gaudi::RootObjectRefs::refs
std::vector< RootRef > refs
The references corresponding to the next layer of items in the data store.
Definition
RootRefs.h:71
Gaudi::RootRef::dbase
int dbase
Data members to define object location in the persistent world.
Definition
RootRefs.h:41
Gaudi::RootRef::operator=
RootRef & operator=(const RootRef &c)=default
Assignment operator.
Gaudi::RootRef::container
int container
Definition
RootRefs.h:41
Gaudi::RootRef::entry
int entry
Definition
RootRefs.h:41
Gaudi::RootRef::reset
void reset()
Reset data content.
Definition
RootRefs.h:49
Gaudi::RootRef::svc
int svc
Definition
RootRefs.h:41
Gaudi::RootRef::RootRef
RootRef()
Standard constructor.
Definition
RootRefs.h:43
Gaudi::RootRef::clid
int clid
Definition
RootRefs.h:41
Gaudi::RootRef::RootRef
RootRef(const RootRef &c)=default
Copy constructor.
Gaudi::RootRef::link
int link
Definition
RootRefs.h:41
RootCnv
include
RootCnv
RootRefs.h
Generated on
for The Gaudi Framework by
1.17.0