ATLAS Offline Software
PhysicsAnalysis
DerivationFramework
DerivationFrameworkCore
src
LockDecorations.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/WriteDecorHandleKeyArray.h
"
19
20
21
namespace
DerivationFramework
{
22
23
38
class
LockDecorations
:
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::WriteDecorHandleKeyArray<SG::AuxVectorBase>
m_decorations
60
{
this
,
"Decorations"
, {} };
61
};
62
63
64
}
// namespace DerivationFramework
65
66
67
#endif // not DERIVATIONFRAMEWORKCORE_LOCKDECORATION_H
SG::HandleKeyArray
Definition:
StoreGate/StoreGate/HandleKeyArray.h:38
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:83
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DerivationFramework::LockDecorations::initialize
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Definition:
LockDecorations.cxx:24
DerivationFramework
THE reconstruction tool.
Definition:
ParticleSortingAlg.h:24
AthReentrantAlgorithm.h
DerivationFramework::LockDecorations::m_decorations
SG::WriteDecorHandleKeyArray< SG::AuxVectorBase > m_decorations
The decoration to lock.
Definition:
LockDecorations.h:60
DerivationFramework::LockDecorations::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execute algorithm.
Definition:
LockDecorations.cxx:38
WriteDecorHandleKeyArray.h
DerivationFramework::LockDecorations
Algorithm to explicitly lock a set of decorations.
Definition:
LockDecorations.h:39
Generated on Sun Dec 22 2024 21:13:54 for ATLAS Offline Software by
1.8.18