The Gaudi Framework
master (37c0b60a)
ParentAlg.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 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_PARENTALG_H
12
#define GAUDIEXAMPLE_PARENTALG_H 1
13
14
// Include files
15
#include <
Gaudi/Sequence.h
>
16
22
class
ParentAlg
:
public
Gaudi::Sequence
{
23
public
:
24
using
Gaudi::Sequence::Sequence;
25
27
StatusCode
initialize
()
override
;
28
StatusCode
execute
(
const
EventContext
&
ctx
)
const override
;
29
StatusCode
finalize
()
override
;
30
31
private
:
32
Gaudi::Algorithm
*
m_subalg1
{
nullptr
};
33
Gaudi::Algorithm
*
m_subalg2
{
nullptr
};
34
};
35
36
#endif // GAUDIEXAMPLE_PARENTALG_H
ParentAlg::m_subalg1
Gaudi::Algorithm * m_subalg1
Definition:
ParentAlg.h:32
ParentAlg::m_subalg2
Gaudi::Algorithm * m_subalg2
Definition:
ParentAlg.h:33
ParentAlg::finalize
StatusCode finalize() override
Definition:
ParentAlg.cpp:48
GaudiPython.Pythonizations.ctx
ctx
Definition:
Pythonizations.py:578
StatusCode
Definition:
StatusCode.h:65
Gaudi::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition:
Algorithm.h:90
ParentAlg::initialize
StatusCode initialize() override
Three mandatory member functions of any algorithm.
Definition:
ParentAlg.cpp:20
ParentAlg
Definition:
ParentAlg.h:22
EventContext
Definition:
EventContext.h:34
Sequence.h
Gaudi::Sequence
Definition:
Sequence.h:18
ParentAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition:
ParentAlg.cpp:39
GaudiTestSuite
src
AlgSequencer
ParentAlg.h
Generated on Thu Dec 19 2024 15:35:06 for The Gaudi Framework by
1.8.18