ATLAS Offline Software
Control
AthenaBaseComps
src
AthLegacySequence.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "GaudiKernel/GaudiException.h"
6
7
#include "
AthenaBaseComps/AthLegacySequence.h
"
8
#include "
AthAlgorithmDHUpdate.h
"
9
10
11
namespace
Athena
{
12
namespace
details
{
13
AthLegacySequenceAdapter::AthLegacySequenceAdapter
(
const
std::string&
name
,
14
ISvcLocator* pSvcLocator):
15
::
AthCommonDataStore
<
AthCommonMsg
<
Gaudi
::
Sequence
>> (
name
, pSvcLocator)
16
{
17
StatusCode
sc
= setProperty(
"Cardinality"
, 1);
18
if
(
sc
.isFailure() ) {
19
throw
GaudiException(
"Failed to set property Cardinality"
,
20
"AthLegacySequenceAdapter"
,
sc
);
21
}
22
m_updateDataHandles =
23
std::make_unique<AthenaBaseComps::AthAlgorithmDHUpdate>
24
(
m_extendedExtraObjects
,
25
std::move (m_updateDataHandles));
26
}
27
28
29
const
DataObjIDColl&
30
AthLegacySequenceAdapter::extraOutputDeps
()
const
{
31
if
(!
m_extendedExtraObjects
.empty()) {
32
return
m_extendedExtraObjects
;
33
}
34
return
Gaudi::Sequence::extraOutputDeps();
35
}
36
}
37
38
}
python.samplers.Sequence
Sequence
Alias:
Definition:
samplers.py:237
AthAlgorithmDHUpdate.h
Update output dependencies to include symlinks.
Athena::details::AthLegacySequenceAdapter::extraOutputDeps
virtual const DataObjIDColl & extraOutputDeps() const override
Definition:
AthLegacySequence.cxx:30
Athena::details::AthLegacySequenceAdapter::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Definition:
AthLegacySequence.h:51
AthenaPoolTestRead.sc
sc
Definition:
AthenaPoolTestRead.py:27
AthCommonDataStore
Definition:
AthCommonDataStore.h:52
details
Definition:
IParticleWriter.h:21
Athena
Some weak symbol referencing magic...
Definition:
AthLegacySequence.h:21
Athena::details::AthLegacySequenceAdapter::AthLegacySequenceAdapter
AthLegacySequenceAdapter(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition:
AthLegacySequence.cxx:13
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthLegacySequence.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
AthCommonMsg
Definition:
AthCommonMsg.h:19
Gaudi
=============================================================================
Definition:
CaloGPUClusterAndCellDataMonitorOptions.h:273
Generated on Mon Dec 23 2024 21:07:14 for ATLAS Offline Software by
1.8.18