ATLAS Offline Software
Loading...
Searching...
No Matches
MDT_RawDataProviderTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONMDTCNVTOOLS_MUONMDTRAWDATAPROVIDERTOOL_H
6#define MUONMDTCNVTOOLS_MUONMDTRAWDATAPROVIDERTOOL_H
7
8#include <set>
9
13#include "GaudiKernel/ServiceHandle.h"
14#include "GaudiKernel/ToolHandle.h"
15#include "MdtROD_Decoder.h"
21
22class MdtCsmContainer;
23
24namespace Muon {
25
29
30 class MDT_RawDataProviderTool : public extends<AthAlgTool, IMuonRawDataProviderTool> {
31 public:
32 using base_class::base_class;
33
35 virtual ~MDT_RawDataProviderTool() = default;
36
38 virtual StatusCode initialize() override;
39
42 virtual StatusCode convert(const EventContext& ctx) const override;
43 virtual StatusCode convert(const std::vector<IdentifierHash>& HashVec,
44 const EventContext& ctx) const override;
45 virtual StatusCode convert(const std::vector<uint32_t>& robIds,
46 const EventContext& ctx) const override;
48 virtual StatusCode convertIntoContainer(const ROBFragmentList& vecRobs,
49 const EventContext& ctx) const;
50
51 private:
52
53 ToolHandle<MdtROD_Decoder> m_decoder{this, "Decoder", "MdtROD_Decoder/MdtROD_Decoder"};
55 "Name of the MDTCSM produced by RawDataProvider"};
56
57 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
58
59 unsigned int m_maxhashtoUse = 0U;
60
61 // Rob Data Provider handle
62 ServiceHandle<IROBDataProviderSvc> m_robDataProvider{this, "ROBDataProviderSvc", "ROBDataProviderSvc"};
63
64 SG::ReadCondHandleKey<MuonMDT_CablingMap> m_readKey{this, "ReadKey", "MuonMDT_CablingMap", "Key of MuonMDT_CablingMap"};
67 "Optional external cache for the CSM container"
68 };
69 };
70} // namespace Muon
71
72#endif
This container provides acces to the MDT RDOs.
virtual StatusCode convert(const ROBFragmentList &) const
ToolHandle< MdtROD_Decoder > m_decoder
virtual StatusCode initialize() override
standard Athena-Algorithm method
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual StatusCode convertIntoContainer(const ROBFragmentList &vecRobs, const EventContext &ctx) const
Convert method.
SG::WriteHandleKey< MdtCsmContainer > m_rdoContainerKey
virtual StatusCode convert() const
IMuonRawDataProviderTool interface - EventContext-based methods.
virtual ~MDT_RawDataProviderTool()=default
default destructor
SG::UpdateHandleKey< MdtCsm_Cache > m_rdoContainerCacheKey
This is the key for the cache for the CSM containers, can be empty.
SG::ReadCondHandleKey< MuonMDT_CablingMap > m_readKey
Property holding a SG store/key/clid from which an UpdateHandle is made.
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.