The Gaudi Framework  master (01b473db)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ReEntAlg.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 <Gaudi/Algorithm.h>
14 
19 class ReEntAlg : public Gaudi::Algorithm {
20 
21 public:
22  ReEntAlg( const std::string& name, ISvcLocator* pSvcLocator );
23  StatusCode initialize() override;
24  StatusCode execute( const EventContext& ctx ) const override;
25  StatusCode finalize() override;
26 
27 private:
28  Gaudi::Property<unsigned int> m_sleep{ this, "SleepFor", 1000, "ms to sleep in execute" };
29 };
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:524
ISvcLocator
Definition: ISvcLocator.h:42
ReEntAlg::m_sleep
Gaudi::Property< unsigned int > m_sleep
Definition: ReEntAlg.h:28
ReEntAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition: ReEntAlg.cpp:35
GaudiPython.Pythonizations.ctx
ctx
Definition: Pythonizations.py:578
StatusCode
Definition: StatusCode.h:64
ReEntAlg::ReEntAlg
ReEntAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: ReEntAlg.cpp:22
Gaudi::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:87
Algorithm.h
ReEntAlg::finalize
StatusCode finalize() override
Definition: ReEntAlg.cpp:52
ReEntAlg::initialize
StatusCode initialize() override
Definition: ReEntAlg.cpp:26
ReEntAlg
Definition: ReEntAlg.py:1
EventContext
Definition: EventContext.h:34
Gaudi::Property< unsigned int >