ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaExamples
AthExAlpaka
src
AlpakaExampleAlg.h
Go to the documentation of this file.
1
//
2
// Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
//
4
5
#ifndef ATHEXALPAKA_ALPAKAEXAMPLEALG_H
6
#define ATHEXALPAKA_ALPAKAEXAMPLEALG_H
7
8
// Framework include(s).
9
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
10
11
class
AlpakaExampleAlg
:
public
AthReentrantAlgorithm
{
12
13
public
:
15
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
16
18
virtual
StatusCode
initialize
()
override
;
19
21
virtual
StatusCode
execute
(
const
EventContext& ctx )
const override
;
22
23
private
:
25
Gaudi::Property< unsigned int >
m_nElements
{
26
this
,
"NElements"
, 8,
27
"Number of synthetic elements to process per event"
};
28
29
};
// class AlpakaExampleAlg
30
31
#endif
// ATHEXALPAKA_ALPAKAEXAMPLEALG_H
32
AthReentrantAlgorithm.h
AlpakaExampleAlg
Definition
AlpakaExampleAlg.h:11
AlpakaExampleAlg::initialize
virtual StatusCode initialize() override
The function setting up the algorithm.
Definition
AlpakaExampleAlg.cxx:33
AlpakaExampleAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
The function executing this algorithm.
Definition
AlpakaExampleAlg.cxx:42
AlpakaExampleAlg::m_nElements
Gaudi::Property< unsigned int > m_nElements
The number of synthetic elements to process per event.
Definition
AlpakaExampleAlg.h:25
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
Generated on
for ATLAS Offline Software by
1.17.0