Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework
master (f31105fd)
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
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
y
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
q
r
s
t
v
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
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
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
q
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
ReadAlg.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 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_READALG_H
12
#define GAUDIEXAMPLES_READALG_H
13
14
// Framework include files
15
#include <
GaudiKernel/Algorithm.h
>
// Required for inheritance
16
#include <
GaudiKernel/IIncidentListener.h
>
// Required for inheritance
17
18
// Forward declarations
19
class
IIncidentSvc
;
20
28
class
ReadAlg
:
public
Algorithm
,
virtual
public
IIncidentListener
{
30
SmartIF<IDataProviderSvc>
m_recordSvc
;
32
SmartIF<IIncidentSvc>
m_incidentSvc
;
33
Gaudi::Property<std::string>
m_incidentName
{
this
,
"IncidentName"
,
""
,
"incident name of records service"
};
34
35
public
:
37
using
Algorithm::Algorithm
;
39
StatusCode
initialize
()
override
;
41
StatusCode
finalize
()
override
;
43
StatusCode
execute
()
override
;
45
void
handle
(
const
Incident
& incident )
override
;
46
};
47
48
#endif // GAUDIEXAMPLES_READALG_H
ReadAlg::finalize
StatusCode finalize() override
Finalize.
Definition:
ReadAlg.cpp:81
ReadAlg::initialize
StatusCode initialize() override
Initialize.
Algorithm
Alias for backward compatibility.
Definition:
Algorithm.h:58
Algorithm.h
ReadAlg::execute
StatusCode execute() override
Event callback.
ReadAlg::m_incidentName
Gaudi::Property< std::string > m_incidentName
Definition:
ReadAlg.h:33
ReadAlg::m_recordSvc
SmartIF< IDataProviderSvc > m_recordSvc
Reference to run records data service.
Definition:
ReadAlg.h:30
IIncidentListener
Definition:
IIncidentListener.h:25
StatusCode
Definition:
StatusCode.h:65
SmartIF< IDataProviderSvc >
ReadAlg::m_incidentSvc
SmartIF< IIncidentSvc > m_incidentSvc
Reference to incident service.
Definition:
ReadAlg.h:32
ReadAlg::handle
void handle(const Incident &incident) override
IIncidentListener override: Inform that a new incident has occured.
Definition:
ReadAlg.cpp:91
ReadAlg
Definition:
ReadAlg.h:28
IIncidentListener.h
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition:
Algorithm.h:101
IIncidentSvc
Definition:
IIncidentSvc.h:33
Incident
Definition:
Incident.h:27
Gaudi::Property< std::string >
GaudiTestSuite
src
IO
ReadAlg.h
Generated on Mon Apr 7 2025 16:26:26 for The Gaudi Framework by
1.8.18