The Gaudi Framework
master (82fdf313)
Loading...
Searching...
No Matches
ParentAlg.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/Sequence.h
>
15
21
class
ParentAlg
:
public
Gaudi::Sequence
{
22
public
:
23
using
Gaudi::Sequence::Sequence;
24
26
StatusCode
initialize
()
override
;
27
StatusCode
execute
(
const
EventContext
& ctx )
const override
;
28
StatusCode
finalize
()
override
;
29
30
private
:
31
Gaudi::Algorithm
*
m_subalg1
{
nullptr
};
32
Gaudi::Algorithm
*
m_subalg2
{
nullptr
};
33
};
Sequence.h
EventContext
This class represents an entry point to all the event specific data.
Definition
EventContext.h:34
Gaudi::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition
Algorithm.h:87
Gaudi::Sequence
Definition
Sequence.h:18
ParentAlg
Trivial Algorithm for tutotial purposes.
Definition
ParentAlg.h:21
ParentAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
ParentAlg.cpp:39
ParentAlg::m_subalg2
Gaudi::Algorithm * m_subalg2
Definition
ParentAlg.h:32
ParentAlg::finalize
StatusCode finalize() override
Definition
ParentAlg.cpp:48
ParentAlg::m_subalg1
Gaudi::Algorithm * m_subalg1
Definition
ParentAlg.h:31
ParentAlg::initialize
StatusCode initialize() override
Three mandatory member functions of any algorithm.
Definition
ParentAlg.cpp:20
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
GaudiTestSuite
src
AlgSequencer
ParentAlg.h
Generated on Thu Oct 2 2025 15:31:12 for The Gaudi Framework by
1.13.1