The Gaudi Framework
master (d98a2936)
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
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
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
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
Macros
_
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
LegacyAlgorithm.cpp
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 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
#include <
GaudiKernel/Algorithm.h
>
12
13
#include <
GaudiKernel/ThreadLocalContext.h
>
14
15
namespace
Gaudi
{
16
namespace
details
{
17
bool
LegacyAlgorithmAdapter::isExecuted
()
const
{
18
return
execState
(
Gaudi::Hive::currentContext
() ).
state
() ==
AlgExecState::Done
;
19
}
20
21
void
LegacyAlgorithmAdapter::setExecuted
(
bool
state
)
const
{
22
execState
(
Gaudi::Hive::currentContext
() ).
setState
(
state
?
AlgExecState::Done
:
AlgExecState::None
);
23
}
24
25
bool
LegacyAlgorithmAdapter::filterPassed
()
const
{
26
return
execState
(
Gaudi::Hive::currentContext
() ).
filterPassed
();
27
}
28
29
void
LegacyAlgorithmAdapter::setFilterPassed
(
bool
state
)
const
{
30
execState
(
Gaudi::Hive::currentContext
() ).
setFilterPassed
(
state
);
31
}
32
}
// namespace details
33
}
// namespace Gaudi
Gaudi::details::LegacyAlgorithmAdapter::isExecuted
bool isExecuted() const
Has this algorithm been executed since the last reset?
Definition:
LegacyAlgorithm.cpp:17
AlgExecState::None
@ None
Definition:
IAlgExecStateSvc.h:23
Gaudi::Hive::currentContext
GAUDI_API const EventContext & currentContext()
Definition:
ThreadLocalContext.cpp:30
AlgExecStateRef::filterPassed
bool filterPassed() const
Definition:
IAlgExecStateSvc.h:148
Gaudi::details::LegacyAlgorithmAdapter::setFilterPassed
void setFilterPassed(bool state) const
Set the filter passed flag to the specified state.
Definition:
LegacyAlgorithm.cpp:29
Algorithm.h
AlgExecStateRef::setState
void setState(State s)
Definition:
IAlgExecStateSvc.h:151
Gaudi::Algorithm::execState
AlgExecStateRef execState(const EventContext &ctx) const override
get the AlgExecStateRef of current algorithm Actually a small wrapper around it, thus the plain objec...
Definition:
Algorithm.cpp:536
AlgExecStateRef::state
State state() const
Definition:
IAlgExecStateSvc.h:150
AlgExecState::Done
@ Done
Definition:
IAlgExecStateSvc.h:23
details
Definition:
AnyDataWrapper.h:19
Gaudi::details::LegacyAlgorithmAdapter::setExecuted
void setExecuted(bool state) const
Set the executed flag to the specified state.
Definition:
LegacyAlgorithm.cpp:21
Gaudi::details::LegacyAlgorithmAdapter::filterPassed
bool filterPassed() const
Did this algorithm pass or fail its filter criterion for the last event?
Definition:
LegacyAlgorithm.cpp:25
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition:
__init__.py:1
ThreadLocalContext.h
AlgExecStateRef::setFilterPassed
void setFilterPassed(bool f=true)
Definition:
IAlgExecStateSvc.h:149
compareRootHistos.state
state
Definition:
compareRootHistos.py:496
GaudiKernel
src
Lib
LegacyAlgorithm.cpp
Generated on Wed Aug 13 2025 09:05:04 for The Gaudi Framework by
1.8.18