ATLAS Offline Software
Loading...
Searching...
No Matches
CaloCellContainerAliasAlg.cxx
Go to the documentation of this file.
1/*
2 * Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration.
3 */
10
11
14
15
20{
21 ATH_CHECK( m_cells.initialize() );
22 ATH_CHECK( m_alias.initialize() );
23 return StatusCode::SUCCESS;
24}
25
26
31StatusCode CaloCellContainerAliasAlg::execute (const EventContext& ctx) const
32{
34 ATH_CHECK( cells.alias (m_alias) );
35 return StatusCode::SUCCESS;
36}
37
38
#define ATH_CHECK
Evaluate an expression and check for errors.
Add an alias to a cell container.
Handle class for reading from StoreGate.
virtual StatusCode initialize() override
Gaudi initialize method.
virtual StatusCode execute(const EventContext &ctx) const override
Execute the algorithm.
SG::WriteHandleKey< CaloCellContainer > m_alias
SG::ReadHandleKey< CaloCellContainer > m_cells