ATLAS Offline Software
Calorimeter
CaloRec
src
CaloCellContainerAliasAlg.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-2019 CERN for the benefit of the ATLAS collaboration.
4
*/
13
#ifndef CALOREC_CALOCELLCONTAINERALIASALG_H
14
#define CALOREC_CALOCELLCONTAINERALIASALG_H
15
16
17
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
18
#include "
CaloEvent/CaloCellContainer.h
"
19
#include "
StoreGate/ReadHandleKey.h
"
20
#include "
StoreGate/WriteHandleKey.h
"
21
22
26
class
CaloCellContainerAliasAlg
:
public
AthReentrantAlgorithm
27
{
28
using
AthReentrantAlgorithm::AthReentrantAlgorithm
;
29
30
34
virtual
StatusCode
initialize
()
override
;
35
36
41
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
42
43
44
private
:
45
SG::ReadHandleKey<CaloCellContainer>
m_cells
46
{
this
,
"Cells"
,
"AllCalo"
,
"Cell container to alias"
};
47
48
SG::WriteHandleKey<CaloCellContainer>
m_alias
49
{
this
,
"Alias"
,
""
,
"Alias to make for the cell container"
};
50
};
51
52
53
#endif // not CALOREC_CALOCELLCONTAINERALIASALG_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
CaloCellContainerAliasAlg::initialize
virtual StatusCode initialize() override
Gaudi initialize method.
Definition:
CaloCellContainerAliasAlg.cxx:19
CaloCellContainerAliasAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execute the algorithm.
Definition:
CaloCellContainerAliasAlg.cxx:31
SG::ReadHandleKey< CaloCellContainer >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:83
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
SG::WriteHandleKey< CaloCellContainer >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloCellContainerAliasAlg
Add an alias to a cell container.
Definition:
CaloCellContainerAliasAlg.h:27
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
CaloCellContainer.h
CaloCellContainerAliasAlg::m_alias
SG::WriteHandleKey< CaloCellContainer > m_alias
Definition:
CaloCellContainerAliasAlg.h:49
CaloCellContainerAliasAlg::m_cells
SG::ReadHandleKey< CaloCellContainer > m_cells
Definition:
CaloCellContainerAliasAlg.h:46
Generated on Sun Dec 22 2024 21:07:44 for ATLAS Offline Software by
1.8.18