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
21class ParentAlg : public Gaudi::Sequence {
22public:
23 using Gaudi::Sequence::Sequence;
24
26 StatusCode initialize() override;
27 StatusCode execute( const EventContext& ctx ) const override;
28 StatusCode finalize() override;
29
30private:
33};
This class represents an entry point to all the event specific data.
Base class from which all concrete algorithm classes should be derived.
Definition Algorithm.h:87
Trivial Algorithm for tutotial purposes.
Definition ParentAlg.h:21
StatusCode execute(const EventContext &ctx) const override
Definition ParentAlg.cpp:39
Gaudi::Algorithm * m_subalg2
Definition ParentAlg.h:32
StatusCode finalize() override
Definition ParentAlg.cpp:48
Gaudi::Algorithm * m_subalg1
Definition ParentAlg.h:31
StatusCode initialize() override
Three mandatory member functions of any algorithm.
Definition ParentAlg.cpp:20
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64