The Gaudi Framework  master (1304469f)
Loading...
Searching...
No Matches
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
19class ReEntAlg : public Gaudi::Algorithm {
20
21public:
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
27private:
28 Gaudi::Property<unsigned int> m_sleep{ this, "SleepFor", 1000, "ms to sleep in execute" };
29};
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
const std::string & name() const override
The identifying name of the algorithm object.
Implementation of property with value of concrete type.
Definition PropertyFwd.h:27
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition ISvcLocator.h:42
StatusCode initialize() override
Definition ReEntAlg.cpp:26
StatusCode finalize() override
Definition ReEntAlg.cpp:52
StatusCode execute(const EventContext &ctx) const override
Definition ReEntAlg.cpp:35
Gaudi::Property< unsigned int > m_sleep
Definition ReEntAlg.h:28
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64