ATLAS Offline Software
Loading...
Searching...
No Matches
TGC_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 MUONTGC_CNVTOOLS_TGC_RAWDATAPROVIDERTOOLMT_H
6#define MUONTGC_CNVTOOLS_TGC_RAWDATAPROVIDERTOOLMT_H
7
18#include "TGC_Hid2RESrcID.h"
19
20namespace Muon {
21
29
31 : public extends<AthAlgTool, IMuonRawDataProviderTool> {
32 public:
34 using base_class::base_class;
36 virtual ~TGC_RawDataProviderTool() = default;
37
39 virtual StatusCode initialize() override;
41
42 virtual StatusCode convert(const EventContext&) const override;
43 virtual StatusCode convert(const std::vector<IdentifierHash>&,
44 const EventContext&) const override;
45
46 private:
48 StatusCode convertIntoContainer(const ROBFragmentList& vecRobs,
49 const EventContext& ctx) const;
50
52 ROBFragmentList getROBData(const std::vector<IdentifierHash>& rdoIdhVect,
53 const EventContext& ctx) const;
54
56 this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
57
58 ToolHandle<ITGC_RodDecoder> m_decoder{
59 this, "Decoder", "Muon::TGC_RodDecoderReadout/TGC_RodDecoderReadout"};
60
62 this, "RdoLocation", "TGCRDO",
63 "Name of the TGCRDO produced by RawDataProvider"}; // MT
64
65 unsigned int m_maxhashtoUse = 0U; // MT
66
71 this, "ROBDataProviderSvc", "ROBDataProviderSvc"};
72
74 this, "CablingKey", "MuonTgc_CablingMap"};
75 // TGC container cache key
77 this, "TgcContainerCacheKey", ""};
78
79 virtual StatusCode convert(const std::vector<uint32_t>&,
80 const EventContext&) const override {
81 return StatusCode::FAILURE;
82 }
83};
84} // namespace Muon
85
86#endif // MUONTGC_CNVTOOLS_TGC_RAWDATAPROVIDERTOOLMT_H
Cached pointer with atomic update.
This class provides conversion between TGC RDO Id and RESrcID.
A tool to decode TGC ROB fragments into TGC RDO.
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Rob Data Provider handle.
ToolHandle< ITGC_RodDecoder > m_decoder
Decoder for ROB fragment RDO conversion.
SG::ReadCondHandleKey< Muon::TgcCablingMap > m_cablingKey
SG::WriteHandleKey< TgcRdoContainer > m_rdoContainerKey
RDO container key.
SG::UpdateHandleKey< TgcRdo_Cache > m_rdoContainerCacheKey
ROBFragmentList getROBData(const std::vector< IdentifierHash > &rdoIdhVect, const EventContext &ctx) const
Function to get the ROB data from a vector of IdentifierHash.
StatusCode convertIntoContainer(const ROBFragmentList &vecRobs, const EventContext &ctx) const
Method that converts the ROBFragments into the passed container.
virtual StatusCode convert(const EventContext &) const override
EventContext ones.
TGC_Hid2RESrcID m_hid2re
ID converter.
virtual StatusCode convert(const std::vector< uint32_t > &, const EventContext &) const override
EventContext ones.
virtual ~TGC_RawDataProviderTool()=default
Default destructor.
virtual StatusCode initialize() override
Standard AlgTool method.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
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.