ATLAS Offline Software
Loading...
Searching...
No Matches
MM_RdoToDigit.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONBYTESTREAMCNVTEST_MMRDOTOMMDIGIT_H
6#define MUONBYTESTREAMCNVTEST_MMRDOTOMMDIGIT_H
7
9#include "GaudiKernel/ServiceHandle.h"
10#include "GaudiKernel/ToolHandle.h"
15
17public:
18 using AthReentrantAlgorithm::AthReentrantAlgorithm;
19 virtual ~MM_RdoToDigit() = default;
20 virtual StatusCode initialize() override final;
21 virtual StatusCode execute(const EventContext& ctx) const override final;
22
25
26 StatusCode decodeMM(const EventContext& ctx,
27 const Muon::MM_RawDataCollection& rdoCollection,
28 DigitCollection& digitContainer) const;
29
30 ToolHandle<Muon::IMM_RDO_Decoder> m_mmRdoDecoderTool{this, "mmRdoDecoderTool", "Muon::MM_RDO_Decoder", ""};
31 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
32 SG::ReadHandleKey<Muon::MM_RawDataContainer> m_mmRdoKey{this, "MmRdoContainer", "MMRDO", "MM RDO Input"};
33 SG::WriteHandleKey<MmDigitContainer> m_mmDigitKey{this, "MmDigitContainer", "MM_DIGITS", "MM Digit Output"};
34};
35
36#endif
An algorithm that can be simultaneously executed in multiple threads.
This is a "hash" representation of an Identifier.
virtual ~MM_RdoToDigit()=default
virtual StatusCode initialize() override final
SG::WriteHandleKey< MmDigitContainer > m_mmDigitKey
ToolHandle< Muon::IMM_RDO_Decoder > m_mmRdoDecoderTool
SG::ReadHandleKey< Muon::MM_RawDataContainer > m_mmRdoKey
StatusCode decodeMM(const EventContext &ctx, const Muon::MM_RawDataCollection &rdoCollection, DigitCollection &digitContainer) const
std::unordered_map< IdentifierHash, std::unique_ptr< MmDigitCollection > > DigitCollection
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual StatusCode execute(const EventContext &ctx) const override final
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
STL class.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
STL namespace.
#define private