ATLAS Offline Software
Loading...
Searching...
No Matches
TgcRDO_Decoder.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_TGCRDO_DECODER_H
6#define MUONTGC_CNVTOOLS_TGCRDO_DECODER_H
7
11
12class TgcDigit;
13class TgcRawData;
14class Identifier;
15
16namespace Muon {
17
27
28class TgcRDO_Decoder : public extends<AthAlgTool, ITGC_RDO_Decoder> {
29 public:
30 using base_class::base_class;
31 ~TgcRDO_Decoder() = default;
32
33 virtual StatusCode initialize() override;
34
37 virtual void applyPatch(bool patch) override;
39 virtual std::unique_ptr<TgcDigit> getDigit(const EventContext& ctx,
40 const TgcRawData& rawData,
41 bool orFlag) const override;
43 virtual Identifier getOfflineData(const EventContext& ctx,
44 const TgcRawData& rawData, bool orFlag,
45 uint16_t& bctag) const override;
46
47 private:
49 this, "CablingKey", "MuonTgc_CablingMap"};
50
51 bool m_applyPatch{false};
52};
53
54} // namespace Muon
55
56#endif // MUONTGC_CNVTOOLS_TGCRDO_DECODER_H
This class provides conversion from TGC RDO data to TGC Digits and offline ID.
virtual Identifier getOfflineData(const EventContext &ctx, const TgcRawData &rawData, bool orFlag, uint16_t &bctag) const override
Get offline ID and bcTag from TGC RDO.
SG::ReadCondHandleKey< Muon::TgcCablingMap > m_cablingKey
virtual void applyPatch(bool patch) override
Set a flag for application of patch.
virtual StatusCode initialize() override
virtual std::unique_ptr< TgcDigit > getDigit(const EventContext &ctx, const TgcRawData &rawData, bool orFlag) const override
Get TGC Digit from TGC RDO.
~TgcRDO_Decoder()=default
An unit object of TGC ROD output.
Definition TgcRawData.h:23
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.