The Gaudi Framework
master (181af51f)
Loading...
Searching...
No Matches
FloatTool.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
#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
AlgTool.h
DataObjectHandle.h
AlgTool::parent
const IInterface * parent() const override
Retrieve parent of the sub-algtool.
Definition
AlgTool.cpp:76
AlgTool::AlgTool
AlgTool(std::string type, std::string name, const IInterface *parent)
Standard Constructor.
Definition
AlgTool.cpp:95
AlgTool::type
const std::string & type() const override
Retrieve type (concrete class) of the sub-algtool.
Definition
AlgTool.cpp:74
AlgTool::name
const std::string & name() const override
Retrieve full identifying name of the concrete tool object.
Definition
AlgTool.cpp:72
DataObjectReadHandle
Definition
DataObjectHandle.h:442
IInterface
Definition of the basic interface.
Definition
IInterface.h:225
Gaudi::TestSuite
Definition
ConditionAccessorHolder.h:21
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::getFloat
float getFloat() const
Definition
FloatTool.cpp:13
Gaudi::TestSuite::FloatTool::m_float
DataObjectReadHandle< float > m_float
Definition
FloatTool.h:26
Gaudi::TestSuite::FloatTool::FloatTool
FloatTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
FloatTool.h:21
GaudiTestSuite
src
ToolHandles
FloatTool.h
Generated on Wed Oct 8 2025 09:53:38 for The Gaudi Framework by
1.13.1