ATLAS Offline Software
Loading...
Searching...
No Matches
NSWMMTP_RawDataProviderToolMT.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONMM_CNVTOOLS_NSWMMTP_RAWDATAPROVIDERTOOLMT_H
5#define MUONMM_CNVTOOLS_NSWMMTP_RAWDATAPROVIDERTOOLMT_H
6
10#include "GaudiKernel/ServiceHandle.h"
11#include "GaudiKernel/ToolHandle.h"
16
17namespace Muon {
18
19 class NSWMMTP_RawDataProviderToolMT : public extends<AthAlgTool, IMuonRawDataProviderTool> {
20 public:
21
22 using base_class::base_class;
23 virtual ~NSWMMTP_RawDataProviderToolMT() = default;
24
25 StatusCode initialize() override;
26
27
28 // implemented
29
30 StatusCode convert(const EventContext& ctx) const override;
31
32 StatusCode convert(const std::vector<IdentifierHash>&, const EventContext&) const override;
33 StatusCode convert(const std::vector<uint32_t>&, const EventContext&) const override;
34
35 private:
36 StatusCode convertFragments(const ROBFragmentList& fragments, const EventContext& ctx) const;
37
38 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
39 ToolHandle<INSWMMTP_ROD_Decoder> m_decoder {this, "Decoder", "Muon::NSWMMTP_ROD_Decoder/NSWMMTP_ROD_Decoder"};
40 // Rob Data Provider handle
41 ServiceHandle<IROBDataProviderSvc> m_robDataProvider{this, "ROBDataProviderSvc", "ROBDataProviderSvc"};
42
43 SG::WriteHandleKey<xAOD::NSWMMTPRDOContainer> m_rdoContainerKey{this, "RdoLocation", "", "NSWMMTPRDOContainer"};
44 };
45
46} // namespace Muon
47
48#endif
StatusCode convertFragments(const ROBFragmentList &fragments, const EventContext &ctx) const
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual ~NSWMMTP_RawDataProviderToolMT()=default
ToolHandle< INSWMMTP_ROD_Decoder > m_decoder
SG::WriteHandleKey< xAOD::NSWMMTPRDOContainer > m_rdoContainerKey
StatusCode convert(const EventContext &ctx) const override
Property holding a SG store/key/clid from which a WriteHandle is made.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.