The Gaudi Framework
v40r0 (475e45c1)
MyDataAlgorithm.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
21
class
MyDataAlgorithm
:
public
Algorithm
{
22
public
:
24
MyDataAlgorithm
(
const
std::string&
name
,
ISvcLocator
* pSvcLocator );
25
27
StatusCode
initialize
()
override
;
28
StatusCode
execute
()
override
;
29
StatusCode
finalize
()
override
;
30
31
private
:
32
};
MyDataAlgorithm::initialize
StatusCode initialize() override
Three mandatory member functions of any algorithm.
Definition:
MyDataAlgorithm.cpp:26
MyDataAlgorithm::finalize
StatusCode finalize() override
Definition:
MyDataAlgorithm.cpp:47
MyDataAlgorithm::MyDataAlgorithm
MyDataAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor of this form must be provided.
Definition:
MyDataAlgorithm.cpp:21
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition:
Algorithm.cpp:524
ISvcLocator
Definition:
ISvcLocator.h:42
Algorithm
Alias for backward compatibility.
Definition:
Algorithm.h:58
Algorithm.h
StatusCode
Definition:
StatusCode.h:64
MyDataAlgorithm::execute
StatusCode execute() override
Definition:
MyDataAlgorithm.cpp:36
MyDataAlgorithm
Definition:
MyDataAlgorithm.h:21
GaudiTestSuite
src
DataOnDemand
MyDataAlgorithm.h
Generated on Thu Jul 3 2025 15:27:26 for The Gaudi Framework by
1.8.18