The Gaudi Framework  master (37c0b60a)
MyDataAlgorithm.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_MyDataAlgorithm_H
12 #define GAUDIEXAMPLE_MyDataAlgorithm_H 1
13 
14 // Include files
15 #include <GaudiKernel/Algorithm.h>
16 
22 class MyDataAlgorithm : public Algorithm {
23 public:
25  MyDataAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
26 
28  StatusCode initialize() override;
29  StatusCode execute() override;
30  StatusCode finalize() override;
31 
32 private:
33 };
34 
35 #endif // GAUDIEXAMPLE_MyDataAlgorithm_H
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
std::string
STL class.
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:526
ISvcLocator
Definition: ISvcLocator.h:46
Algorithm
Alias for backward compatibility.
Definition: Algorithm.h:58
Algorithm.h
StatusCode
Definition: StatusCode.h:65
MyDataAlgorithm::execute
StatusCode execute() override
Definition: MyDataAlgorithm.cpp:36
MyDataAlgorithm
Definition: MyDataAlgorithm.h:22