Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework
master (f31105fd)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
c
d
e
f
i
l
m
n
o
p
q
r
s
t
v
Enumerator
a
b
c
d
e
f
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Properties
Related Functions
:
a
b
c
d
e
g
h
i
m
o
p
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
u
z
Variables
a
b
c
d
e
g
h
i
m
o
p
q
r
s
t
v
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Enumerations
Enumerator
c
e
f
p
u
v
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
FloatTool.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
#pragma once
12
13
#include <
GaudiKernel/AlgTool.h
>
14
#include <
GaudiKernel/DataObjectHandle.h
>
15
16
namespace
Gaudi
{
17
namespace
TestSuite
{
18
19
struct
FloatTool
:
public
AlgTool
{
20
21
FloatTool
(
const
std::string
&
type
,
const
std::string
&
name
,
const
IInterface
*
parent
)
22
:
AlgTool
(
type
,
name
,
parent
) {}
23
24
float
getFloat
()
const
;
25
26
DataObjectReadHandle<float>
m_float
{
this
,
"Input"
,
"/Event/MyFloat"
};
27
};
28
}
// namespace TestSuite
29
}
// namespace Gaudi
30
31
namespace
Gaudi::Examples
{
32
struct
FloatTool
:
public
AlgTool
{
33
34
FloatTool
(
const
std::string
&
type
,
const
std::string
&
name
,
const
IInterface
*
parent
)
35
:
AlgTool
(
type
,
name
,
parent
) {}
36
37
float
getFloat
()
const
;
38
39
DataObjectReadHandle<float>
m_float
{
this
,
"Input"
,
"/Event/MyFloat"
};
40
};
41
}
// namespace Gaudi::Examples
std::string
STL class.
AlgTool::parent
const IInterface * parent() const override
Retrieve parent of the sub-algtool.
Definition:
AlgTool.cpp:81
TestSuite
#define TestSuite
Definition:
MakeAndConsume.cpp:658
Gaudi::TestSuite::FloatTool::FloatTool
FloatTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
FloatTool.h:21
AlgTool::type
const std::string & type() const override
Retrieve type (concrete class) of the sub-algtool.
Definition:
AlgTool.cpp:74
Gaudi::TestSuite::FloatTool::getFloat
float getFloat() const
Definition:
FloatTool.cpp:13
AlgTool::name
const std::string & name() const override
Retrieve full identifying name of the concrete tool object.
Definition:
AlgTool.cpp:67
Gaudi::TestSuite::FloatTool::m_float
DataObjectReadHandle< float > m_float
Definition:
FloatTool.h:26
Gaudi::Examples::FloatTool::FloatTool
FloatTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
FloatTool.h:34
Gaudi::Examples
Definition:
Collision.h:20
DataObjectReadHandle< float >
Gaudi::Examples::FloatTool::m_float
DataObjectReadHandle< float > m_float
Definition:
FloatTool.h:39
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::TestSuite::FloatTool
Definition:
FloatTool.h:19
AlgTool
Definition:
AlgTool.h:62
IInterface
Definition:
IInterface.h:239
AlgTool.h
Gaudi::Examples::FloatTool::getFloat
float getFloat() const
Definition:
FloatTool.cpp:17
DataObjectHandle.h
Gaudi::Examples::FloatTool
Definition:
FloatTool.h:32
GaudiTestSuite
src
ToolHandles
FloatTool.h
Generated on Mon Apr 7 2025 16:26:26 for The Gaudi Framework by
1.8.18