The Gaudi Framework
v36r13 (995e4364)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
c
d
e
f
i
l
m
n
o
p
r
s
t
Enumerator
a
b
c
d
e
f
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Properties
Related Functions
:
a
b
c
d
e
g
h
i
m
o
p
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
_
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
u
z
Variables
a
b
c
d
e
g
h
i
m
o
p
r
s
t
v
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Enumerations
Enumerator
c
e
f
p
u
v
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
TemplatedAlg.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 GAUDIEXAMPLE_TEMPLATEALG_H
12
#define GAUDIEXAMPLE_TEMPLATEALG_H 1
13
14
// Include files
15
#include "
GaudiAlg/GaudiAlgorithm.h
"
16
#include "
GaudiKernel/MsgStream.h
"
17
#include <
Gaudi/Property.h
>
18
24
template
<
typename
T,
typename
R>
25
class
TemplatedAlg
:
public
GaudiAlgorithm
{
26
public
:
28
using
GaudiAlgorithm::GaudiAlgorithm
;
29
31
StatusCode
initialize
()
override
;
32
StatusCode
execute
()
override
;
33
StatusCode
finalize
()
override
;
34
35
private
:
36
Gaudi::Property<T>
m_t
{
this
,
"TProperty"
, {} };
37
Gaudi::Property<R>
m_r
{
this
,
"RProperty"
, {} };
38
};
39
40
#endif // GAUDIEXAMPLE_TEMPLATEDALG_H
GaudiAlgorithm::GaudiAlgorithm
GaudiAlgorithm(std::string name, ISvcLocator *pSvcLocator)
Standard constructor.
Definition:
GaudiAlgorithm.cpp:45
TemplatedAlg::finalize
StatusCode finalize() override
Definition:
TemplatedAlg.cpp:47
TemplatedAlg
Definition:
TemplatedAlg.py:1
StatusCode
Definition:
StatusCode.h:65
GaudiAlgorithm
Definition:
GaudiAlgorithm.h:104
TemplatedAlg::m_t
Gaudi::Property< T > m_t
Definition:
TemplatedAlg.h:36
GaudiAlgorithm.h
TemplatedAlg::execute
StatusCode execute() override
standard execution method
Definition:
TemplatedAlg.cpp:40
TemplatedAlg::m_r
Gaudi::Property< R > m_r
Definition:
TemplatedAlg.h:37
Gaudi::Property< T >
TemplatedAlg::initialize
StatusCode initialize() override
Three mandatory member functions of any algorithm.
Definition:
TemplatedAlg.cpp:31
Property.h
MsgStream.h
GaudiExamples
src
AlgSequencer
TemplatedAlg.h
Generated on Mon Jun 5 2023 12:15:49 for The Gaudi Framework by
1.8.18