ATLAS Offline Software
Loading...
Searching...
No Matches
L0MuonEndcapAlg.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#include "L0MuonEndcapAlg.h"
6
9
10namespace L0Muon {
11
13 ATH_CHECK(m_inputKey.initialize());
14 ATH_CHECK(m_outputKey.initialize());
15 return StatusCode::SUCCESS;
16}
17
18StatusCode L0MuonEndcapAlg::execute(const EventContext& ctx) const {
19 const xAOD::TGCCandDataContainer* inputHandle{};
20 ATH_CHECK(SG::get(inputHandle, m_inputKey, ctx));
21
24 output{};
25
26 ATH_MSG_DEBUG("Received " << inputHandle->size()
27 << " TGC candidates; endcap candidate conversion "
28 "is not implemented in this skeleton");
29
30 ATH_CHECK(output.record(m_outputKey, ctx));
31 return StatusCode::SUCCESS;
32}
33
34} // namespace L0Muon
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x)
Handle class for reading from StoreGate.
size_type size() const noexcept
Returns the number of elements in the collection.
StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< xAOD::TGCCandDataContainer > m_inputKey
StatusCode initialize() override
SG::WriteHandleKey< xAOD::SectorLogicCandDataContainer > m_outputKey
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
SectorLogicCandDataContainer_v1 SectorLogicCandDataContainer
SectorLogicCandDataAuxContainer_v1 SectorLogicCandDataAuxContainer