The Gaudi Framework
master (6507eef1)
Toggle main menu visibility
Loading...
Searching...
No Matches
DataCreator.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 files
14
#include <
GaudiKernel/Algorithm.h
>
15
20
class
DataCreator
:
public
Algorithm
{
21
public
:
23
using
Algorithm::Algorithm
;
24
26
StatusCode
initialize
()
override
;
27
StatusCode
execute
()
override
;
28
StatusCode
finalize
()
override
;
29
30
private
:
31
Gaudi::Property<std::string>
m_data
{
this
,
"Data"
,
"/Event/Unknown"
};
32
};
Algorithm.h
DataCreator
Trivial Algorithm for test purposes.
Definition
DataCreator.h:20
DataCreator::initialize
StatusCode initialize() override
Three mandatory member functions of any algorithm.
Definition
DataCreator.cpp:18
DataCreator::m_data
Gaudi::Property< std::string > m_data
Definition
DataCreator.h:31
DataCreator::finalize
StatusCode finalize() override
Definition
DataCreator.cpp:32
DataCreator::execute
StatusCode execute() override
Definition
DataCreator.cpp:25
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition
Algorithm.h:98
Gaudi::Property
Implementation of property with value of concrete type.
Definition
Property.h:35
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
GaudiTestSuite
src
DataOnDemand
DataCreator.h
Generated on
for The Gaudi Framework by
1.17.0