The Gaudi Framework
master (37c0b60a)
ReEntAlg.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 GAUDIEXAMPLES_REENTALG_H
12
#define GAUDIEXAMPLES_REENTALG_H
13
14
#include <
Gaudi/Algorithm.h
>
15
20
class
ReEntAlg
:
public
Gaudi::Algorithm
{
21
22
public
:
23
ReEntAlg
(
const
std::string
&
name
,
ISvcLocator
* pSvcLocator );
24
StatusCode
initialize
()
override
;
25
StatusCode
execute
(
const
EventContext
&
ctx
)
const override
;
26
StatusCode
finalize
()
override
;
27
28
private
:
29
Gaudi::Property<unsigned int>
m_sleep
{
this
,
"SleepFor"
, 1000,
"ms to sleep in execute"
};
30
};
31
32
#endif // GAUDIEXAMPLES_REENTALG_H
std::string
STL class.
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition:
Algorithm.cpp:526
ISvcLocator
Definition:
ISvcLocator.h:46
ReEntAlg::m_sleep
Gaudi::Property< unsigned int > m_sleep
Definition:
ReEntAlg.h:29
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:65
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:90
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 >
GaudiTestSuite
src
ReEntAlg
ReEntAlg.h
Generated on Thu Dec 19 2024 15:35:07 for The Gaudi Framework by
1.8.18