Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  master (d98a2936)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
SubAlg.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 <Gaudi/Property.h>
15 #include <GaudiKernel/Algorithm.h>
16 #include <GaudiKernel/MsgStream.h>
17 
23 class SubAlg : public Algorithm {
24 public:
26  SubAlg( const std::string& name, ISvcLocator* pSvcLocator );
27 
29  StatusCode initialize() override;
30  StatusCode execute() override;
31  StatusCode finalize() override;
32 };
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:524
SubAlg::execute
StatusCode execute() override
Definition: SubAlg.cpp:35
ISvcLocator
Definition: ISvcLocator.h:42
Algorithm
Alias for backward compatibility.
Definition: Algorithm.h:58
Algorithm.h
SubAlg
Definition: SubAlg.h:23
SubAlg::SubAlg
SubAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor of this form must be provided.
Definition: SubAlg.cpp:23
StatusCode
Definition: StatusCode.h:64
SubAlg::initialize
StatusCode initialize() override
Three mandatory member functions of any algorithm.
Definition: SubAlg.cpp:28
SubAlg::finalize
StatusCode finalize() override
Definition: SubAlg.cpp:42
Property.h
MsgStream.h