ATLAS Offline Software
Loading...
Searching...
No Matches
TgcRDO_Decoder.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 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
9
12
14
15class TgcDigit;
16class TgcRawData;
17class Identifier;
18
19namespace Muon
20{
21
31
32 class TgcRDO_Decoder : virtual public ITGC_RDO_Decoder, public AthAlgTool {
33 public:
34 TgcRDO_Decoder(const std::string& type, const std::string& name,
35 const IInterface* parent);
36 ~TgcRDO_Decoder() = default;
37
38 virtual StatusCode initialize();
39 virtual StatusCode finalize();
40
43 void applyPatch(bool patch);
45 TgcDigit * getDigit(const TgcRawData * rawData, bool orFlag) const;
47 Identifier getOfflineData(const TgcRawData * rawData, bool orFlag, uint16_t& bctag) const;
48
49 private:
50 ServiceHandle<MuonTGC_CablingSvc> m_cabling{this, "CablingSvc", "MuonTGC_CablingSvc"};
52
53 };
54
55} // end of namespace
56
57#endif // MUONTGC_CNVTOOLS_TGCRDO_DECODER_H
Define macros for attributes used to control the static checker.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
The interface for AlgTool which provides conversion from RDO data to TGC digits and offline ID.
virtual StatusCode finalize()
ServiceHandle< MuonTGC_CablingSvc > m_cabling
Identifier getOfflineData(const TgcRawData *rawData, bool orFlag, uint16_t &bctag) const
Get offline ID and bcTag from TGC RDO.
TgcRDO_Decoder(const std::string &type, const std::string &name, const IInterface *parent)
~TgcRDO_Decoder()=default
virtual StatusCode initialize()
TgcDigit * getDigit(const TgcRawData *rawData, bool orFlag) const
Get TGC Digit from TGC RDO.
void applyPatch(bool patch)
Set a flag for application of patch.
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.