The Gaudi Framework
master (37c0b60a)
DataCreator.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
#ifndef GAUDIEXAMPLE_DATACREATOR_H
12
#define GAUDIEXAMPLE_DATACREATOR_H 1
13
14
// Include files
15
#include <
GaudiKernel/Algorithm.h
>
16
21
class
DataCreator
:
public
Algorithm
{
22
public
:
24
using
Algorithm::Algorithm
;
25
27
StatusCode
initialize
()
override
;
28
StatusCode
execute
()
override
;
29
StatusCode
finalize
()
override
;
30
31
private
:
32
Gaudi::Property<std::string>
m_data
{
this
,
"Data"
,
"/Event/Unknown"
};
33
};
34
35
#endif // GAUDIEXAMPLE_HELLOWORLD_H
DataCreator
Definition:
DataCreator.h:21
Algorithm
Alias for backward compatibility.
Definition:
Algorithm.h:58
Algorithm.h
StatusCode
Definition:
StatusCode.h:65
DataCreator::execute
StatusCode execute() override
Definition:
DataCreator.cpp:25
DataCreator::m_data
Gaudi::Property< std::string > m_data
Definition:
DataCreator.h:32
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition:
Algorithm.h:101
DataCreator::finalize
StatusCode finalize() override
Definition:
DataCreator.cpp:32
Gaudi::Property< std::string >
DataCreator::initialize
StatusCode initialize() override
Three mandatory member functions of any algorithm.
Definition:
DataCreator.cpp:18
GaudiTestSuite
src
DataOnDemand
DataCreator.h
Generated on Thu Dec 19 2024 15:35:06 for The Gaudi Framework by
1.8.18