15#include "GaudiKernel/ICondSvc.h"
16#include "GaudiKernel/ServiceHandle.h"
17#include "GaudiKernel/ThreadLocalContext.h"
22 ISvcLocator* pSvcLocator ) :
26 setProperty(
"Cardinality", 1 ).orThrow(
"Unable to set property 'Cardinality'", name);
32 std::make_unique<AthenaBaseComps::AthAlgorithmDHUpdate>
34 std::move (m_updateDataHandles));
57 return Algorithm::extraOutputDeps();
74 if (
h->isCondition() &&
h->mode() == Gaudi::DataHandle::Writer) {
76 if ( cs.retrieve().isFailure() ) {
78 return StatusCode::SUCCESS;
80 if (cs->regHandle(
this,*h).isFailure()) {
81 sc = StatusCode::FAILURE;
82 ATH_MSG_ERROR(
"unable to register WriteCondHandle " <<
h->fullKey()
91 return Gaudi::Hive::currentContext();
95 return execState( Gaudi::Hive::currentContext() ).filterPassed();
99 execState( Gaudi::Hive::currentContext() ).setFilterPassed(state);
Update output dependencies to include symlinks.
#define ATH_MSG_WARNING(x)
void setProperty(columnar::PythonToolHandle &self, const std::string &key, nb::object value)
const EventContext & getContext() const
Deprecated methods (use the ones with EventContext).
virtual const DataObjIDColl & extraOutputDeps() const override
Return the list of extra output dependencies.
DataObjIDColl m_extendedExtraObjects
void setFilterPassed(bool state) const
virtual StatusCode sysInitialize() override
Override sysInitialize.
bool filterPassed() const
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual ~AthAlgorithm()
Destructor:
AthCommonDataStore(const std::string &name, T... args)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Header file for AthHistogramAlgorithm.