ATLAS Offline Software
PhysicsAnalysis
DerivationFramework
DerivationFrameworkCore
src
LockDecoration.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
* Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration.
4
*/
13
#ifndef DERIVATIONFRAMEWORKCORE_LOCKDECORATION_H
14
#define DERIVATIONFRAMEWORKCORE_LOCKDECORATION_H
15
16
17
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
18
#include "
StoreGate/WriteDecorHandleKey.h
"
19
20
21
namespace
DerivationFramework
{
22
23
38
class
LockDecoration
:
public
AthReentrantAlgorithm
39
{
40
public
:
41
using
AthReentrantAlgorithm::AthReentrantAlgorithm
;
42
43
47
virtual
StatusCode
initialize
()
override
;
48
49
54
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
55
56
57
private
:
59
SG::WriteDecorHandleKey<SG::AuxVectorBase>
m_decoration
60
{
this
,
"Decoration"
,
""
};
61
};
62
63
64
}
// namespace DerivationFramework
65
66
67
#endif // not DERIVATIONFRAMEWORKCORE_LOCKDECORATION_H
SG::WriteDecorHandleKey< SG::AuxVectorBase >
DerivationFramework::LockDecoration
Algorithm to explicitly lock a decoration.
Definition:
LockDecoration.h:39
DerivationFramework::LockDecoration::m_decoration
SG::WriteDecorHandleKey< SG::AuxVectorBase > m_decoration
The decoration to lock.
Definition:
LockDecoration.h:60
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:83
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DerivationFramework
THE reconstruction tool.
Definition:
ParticleSortingAlg.h:24
DerivationFramework::LockDecoration::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execute algorithm.
Definition:
LockDecoration.cxx:38
AthReentrantAlgorithm.h
DerivationFramework::LockDecoration::initialize
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Definition:
LockDecoration.cxx:24
Generated on Tue Oct 1 2024 21:20:17 for ATLAS Offline Software by
1.8.18