ATLAS Offline Software
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 
15 class TgcDigit;
16 class TgcRawData;
17 class Identifier;
18 
19 namespace Muon
20 {
21 
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
Muon::TgcRDO_Decoder::m_applyPatch
bool m_applyPatch
Definition: TgcRDO_Decoder.h:51
Muon::TgcRDO_Decoder::TgcRDO_Decoder
TgcRDO_Decoder(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TgcRDO_Decoder.cxx:13
Muon::TgcRDO_Decoder::finalize
virtual StatusCode finalize()
Definition: TgcRDO_Decoder.cxx:30
MuonTGC_CablingSvc.h
ITGC_RDO_Decoder.h
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::TgcRDO_Decoder::m_cabling
ServiceHandle< MuonTGC_CablingSvc > m_cabling
Definition: TgcRDO_Decoder.h:50
Muon::TgcRDO_Decoder::getOfflineData
Identifier getOfflineData(const TgcRawData *rawData, bool orFlag, uint16_t &bctag) const
Get offline ID and bcTag from TGC RDO.
Definition: TgcRDO_Decoder.cxx:92
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
Muon::TgcRDO_Decoder::~TgcRDO_Decoder
~TgcRDO_Decoder()=default
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
Muon::TgcRDO_Decoder::applyPatch
void applyPatch(bool patch)
Set a flag for application of patch.
Definition: TgcRDO_Decoder.cxx:35
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TgcDigit
Definition: TgcDigit.h:21
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Muon::ITGC_RDO_Decoder
Definition: ITGC_RDO_Decoder.h:24
Muon::TgcRDO_Decoder
Definition: TgcRDO_Decoder.h:32
Muon::TgcRDO_Decoder::initialize
virtual StatusCode initialize()
Definition: TgcRDO_Decoder.cxx:20
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TgcRawData
An unit object of TGC ROD output.
Definition: TgcRawData.h:23
Muon::TgcRDO_Decoder::getDigit
TgcDigit * getDigit(const TgcRawData *rawData, bool orFlag) const
Get TGC Digit from TGC RDO.
Definition: TgcRDO_Decoder.cxx:40
AthAlgTool
Definition: AthAlgTool.h:26
checker_macros.h
Define macros for attributes used to control the static checker.
ServiceHandle< MuonTGC_CablingSvc >
Identifier
Definition: IdentifierFieldParser.cxx:14