The Gaudi Framework  master (82fdf313)
Loading...
Searching...
No Matches
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
15
20
21class MyDataAlgorithm : public Algorithm {
22public:
24 MyDataAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
25
27 StatusCode initialize() override;
28 StatusCode execute() override;
29 StatusCode finalize() override;
30
31private:
32};
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition Algorithm.h:98
const std::string & name() const override
The identifying name of the algorithm object.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition ISvcLocator.h:42
StatusCode finalize() override
StatusCode execute() override
MyDataAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor of this form must be provided.
StatusCode initialize() override
Three mandatory member functions of any algorithm.
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64