Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v38r0 (2143aa4c)
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 
14 
15 namespace Gaudi {
16  namespace details {
18  return execState( Gaudi::Hive::currentContext() ).state() == AlgExecState::State::Done;
19  }
20 
23  .setState( state ? AlgExecState::State::Done : AlgExecState::State::None );
24  }
25 
28  }
29 
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