ATLAS Offline Software
CaloCellContainerAliasAlg.cxx
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration.
3  */
13 #include "StoreGate/ReadHandle.h"
14 
15 
20 {
23  return StatusCode::SUCCESS;
24 }
25 
26 
31 StatusCode CaloCellContainerAliasAlg::execute (const EventContext& ctx) const
32 {
34  ATH_CHECK( cells.alias (m_alias) );
35  return StatusCode::SUCCESS;
36 }
37 
38 
RunTileCalibRec.cells
cells
Definition: RunTileCalibRec.py:271
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
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
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloCellContainerAliasAlg.h
Add an alias to a cell container.
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
ReadHandle.h
Handle class for reading from StoreGate.
CaloCellContainerAliasAlg::m_alias
SG::WriteHandleKey< CaloCellContainer > m_alias
Definition: CaloCellContainerAliasAlg.h:49
CaloCellContainerAliasAlg::m_cells
SG::ReadHandleKey< CaloCellContainer > m_cells
Definition: CaloCellContainerAliasAlg.h:46