The Gaudi Framework
master (1a7a3838)
Toggle main menu visibility
Loading...
Searching...
No Matches
LoopAlg.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
class
LoopAlg
:
public
Algorithm
{
16
public
:
17
// Constructor of this form must be provided
18
LoopAlg
(
const
std::string&
name
,
ISvcLocator
* pSvcLocator );
19
20
// Three mandatory member functions of any algorithm
21
StatusCode
initialize
()
override
;
22
StatusCode
execute
()
override
;
23
StatusCode
finalize
()
override
;
24
};
Algorithm.h
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition
Algorithm.h:98
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition
Algorithm.cpp:518
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition
ISvcLocator.h:42
LoopAlg::LoopAlg
LoopAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LoopAlg.cpp:19
LoopAlg::initialize
StatusCode initialize() override
Definition
LoopAlg.cpp:25
LoopAlg::execute
StatusCode execute() override
Definition
LoopAlg.cpp:33
LoopAlg::finalize
StatusCode finalize() override
Definition
LoopAlg.cpp:40
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
GaudiTestSuite
src
SvcInitLoop
LoopAlg.h
Generated on
for The Gaudi Framework by
1.17.0