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
AbortEventAlg.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 ABORTEVENTALG_H_
12
#define ABORTEVENTALG_H_
13
// Include files
14
// from Gaudi
15
#include <
GaudiKernel/Algorithm.h
>
16
17
class
IIncidentSvc
;
18
26
class
AbortEventAlg
:
public
Algorithm
{
27
public
:
29
using
Algorithm::Algorithm
;
30
31
StatusCode
initialize
()
override
;
32
StatusCode
execute
()
override
;
33
StatusCode
finalize
()
override
;
34
35
private
:
36
Gaudi::Property<long>
m_count
{
this
,
"AbortedEventNumber"
, 3,
"At which event to trigger an abort"
};
37
39
SmartIF<IIncidentSvc>
m_incidentSvc
;
41
long
m_counter
= 0;
42
};
43
44
#endif
/*ABORTEVENTALG_H_*/
AbortEventAlg::m_counter
long m_counter
Counter of events.
Definition:
AbortEventAlg.h:41
Algorithm
Alias for backward compatibility.
Definition:
Algorithm.h:58
Algorithm.h
AbortEventAlg::execute
StatusCode execute() override
Algorithm execution.
Definition:
AbortEventAlg.cpp:48
AbortEventAlg
Definition:
AbortEventAlg.h:26
StatusCode
Definition:
StatusCode.h:65
AbortEventAlg::m_count
Gaudi::Property< long > m_count
Definition:
AbortEventAlg.h:36
SmartIF< IIncidentSvc >
AbortEventAlg::initialize
StatusCode initialize() override
Algorithm initialization.
Definition:
AbortEventAlg.cpp:32
AbortEventAlg::m_incidentSvc
SmartIF< IIncidentSvc > m_incidentSvc
Pointer to the incident service.
Definition:
AbortEventAlg.h:39
AbortEventAlg::finalize
StatusCode finalize() override
Algorithm finalization.
Definition:
AbortEventAlg.cpp:60
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition:
Algorithm.h:101
IIncidentSvc
Definition:
IIncidentSvc.h:33
Gaudi::Property< long >
GaudiTestSuite
src
AbortEvent
AbortEventAlg.h
Generated on Mon Apr 7 2025 16:26:25 for The Gaudi Framework by
1.8.18