The Gaudi Framework
v38r1p1 (ae26267b)
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
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
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
LegacyAlgorithm.cpp
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
#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::State::Done;
19
}
20
21
void
LegacyAlgorithmAdapter::setExecuted
(
bool
state
)
const
{
22
execState
(
Gaudi::Hive::currentContext
() )
23
.
setState
(
state
? AlgExecState::State::Done : AlgExecState::State::None );
24
}
25
26
bool
LegacyAlgorithmAdapter::filterPassed
()
const
{
27
return
execState
(
Gaudi::Hive::currentContext
() ).
filterPassed
();
28
}
29
30
void
LegacyAlgorithmAdapter::setFilterPassed
(
bool
state
)
const
{
31
execState
(
Gaudi::Hive::currentContext
() ).
setFilterPassed
(
state
);
32
}
33
}
// namespace details
34
}
// namespace Gaudi
Gaudi::details::LegacyAlgorithmAdapter::isExecuted
bool isExecuted() const
Has this algorithm been executed since the last reset?
Definition:
LegacyAlgorithm.cpp:17
AlgExecState::state
State state() const
Definition:
IAlgExecStateSvc.h:42
Gaudi::Hive::currentContext
GAUDI_API const EventContext & currentContext()
Definition:
ThreadLocalContext.cpp:30
Gaudi::details::LegacyAlgorithmAdapter::setFilterPassed
void setFilterPassed(bool state) const
Set the filter passed flag to the specified state.
Definition:
LegacyAlgorithm.cpp:30
Algorithm.h
details
Definition:
AnyDataWrapper.h:18
Gaudi::Algorithm::execState
AlgExecState & execState(const EventContext &ctx) const override
reference to AlgExecState of Alg
Definition:
Algorithm.cpp:540
AlgExecState::setState
void setState(State s)
Definition:
IAlgExecStateSvc.h:46
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:26
Gaudi
Header file for std:chrono::duration-based Counters.
Definition:
__init__.py:1
ThreadLocalContext.h
AlgExecState::filterPassed
bool filterPassed() const
Definition:
IAlgExecStateSvc.h:41
compareRootHistos.state
state
Definition:
compareRootHistos.py:496
AlgExecState::setFilterPassed
void setFilterPassed(bool f=true)
Definition:
IAlgExecStateSvc.h:45
GaudiKernel
src
Lib
LegacyAlgorithm.cpp
Generated on Fri Oct 18 2024 13:27:50 for The Gaudi Framework by
1.8.18