ATLAS Offline Software
TGC_RodDecoderRawdata.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_TGC_RODDECODERRAWDATA_H
6 #define MUONTGC_CNVTOOLS_TGC_RODDECODERRAWDATA_H
7 
11 #include "GaudiKernel/ServiceHandle.h"
12 
13 class TgcRdo;
14 
15 namespace Muon
16 {
17  class TgcRODReadOut;
18 
19 
31 class TGC_RodDecoderRawdata : public extends<AthAlgTool, ITGC_RodDecoder>
32  {
33  public:
35  TGC_RodDecoderRawdata(const std::string& t, const std::string& n, const IInterface* p);
38 
40  virtual StatusCode initialize() override;
42  virtual StatusCode finalize() override;
44  virtual StatusCode fillCollection(const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment& robFrag, TgcRdoContainer& rdoIdc) const override;
45 
46  private:
53  void showStatusWords(const uint32_t source_id, const uint16_t rdoId, const int idHash,
54  const uint32_t nstatus, const uint32_t* status) const;
63 
64  ServiceHandle<MuonTGC_CablingSvc> m_cablingSvc{this, "TGCCablingSvc", "MuonTGC_CablingSvc", ""};
65  };
66 
67 } // end of namespace
68 
69 #endif // MUONTGC_CNVTOOLS_TGC_RODDECODERRAWDATA_H
Muon::TGC_RodDecoderRawdata::showStatusWords
void showStatusWords(const uint32_t source_id, const uint16_t rdoId, const int idHash, const uint32_t nstatus, const uint32_t *status) const
Show status words.
Definition: TGC_RodDecoderRawdata.cxx:421
MuonTGC_CablingSvc.h
Muon::TGC_RodDecoderRawdata
Definition: TGC_RodDecoderRawdata.h:32
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
Muon::TGC_RodDecoderRawdata::m_readSlbHeaderId
bool m_readSlbHeaderId
Switch for reading IDs in SLB Header or ROD Header.
Definition: TGC_RodDecoderRawdata.h:56
Muon::TGC_RodDecoderRawdata::TGC_RodDecoderRawdata
TGC_RodDecoderRawdata(const std::string &t, const std::string &n, const IInterface *p)
Default constructor.
Definition: TGC_RodDecoderRawdata.cxx:21
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::TGC_RodDecoderRawdata::m_showStatusWords
bool m_showStatusWords
Flag for showStatusWords.
Definition: TGC_RodDecoderRawdata.h:62
Muon::TGC_RodDecoderRawdata::m_cablingSvc
ServiceHandle< MuonTGC_CablingSvc > m_cablingSvc
Definition: TGC_RodDecoderRawdata.h:64
Muon::TGC_RodDecoderRawdata::finalize
virtual StatusCode finalize() override
Standard AlgTool method.
Definition: TGC_RodDecoderRawdata.cxx:52
OFFLINE_FRAGMENTS_NAMESPACE::PointerType
const DataType * PointerType
Definition: RawEvent.h:25
Muon::TgcRODReadOut
Definition: TgcRODReadOut.h:36
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
Muon::TGC_RodDecoderRawdata::getCollection
TgcRdo * getCollection(const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, TgcRdoContainer &rdoIdc) const
Retrieve header of ROBFragment.
Definition: TGC_RodDecoderRawdata.cxx:115
TgcRdoContainer
Definition: TgcRdoContainer.h:25
eformat::ROBFragment
Definition: L1CaloBsDecoderUtil.h:12
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Muon::TGC_RodDecoderRawdata::m_tgcRODReadOut
TgcRODReadOut * m_tgcRODReadOut
RawData format converter.
Definition: TGC_RodDecoderRawdata.h:60
AthAlgTool.h
Muon::TGC_RodDecoderRawdata::byteStream2Rdo
void byteStream2Rdo(OFFLINE_FRAGMENTS_NAMESPACE::PointerType bs, TgcRdo &rdo, uint32_t source_id) const
Convert data contents of ROBFragment to RDO The same byteStream2Rdo method in TGC_RodDecoderReadout i...
Definition: TGC_RodDecoderRawdata.cxx:159
Muon::TGC_RodDecoderRawdata::m_checkRawData
bool m_checkRawData
Switch for checking rawdata format with readout format.
Definition: TGC_RodDecoderRawdata.h:58
Muon::TGC_RodDecoderRawdata::~TGC_RodDecoderRawdata
virtual ~TGC_RodDecoderRawdata()
Default destructor.
Muon::TGC_RodDecoderRawdata::fillCollection
virtual StatusCode fillCollection(const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, TgcRdoContainer &rdoIdc) const override
Convert ROBFragment to RDO.
Definition: TGC_RodDecoderRawdata.cxx:62
Muon::TGC_RodDecoderRawdata::initialize
virtual StatusCode initialize() override
Standard AlgTool method.
Definition: TGC_RodDecoderRawdata.cxx:39
merge.status
status
Definition: merge.py:17
TgcRdo
Definition: TgcRdo.h:22
ITGC_RodDecoder.h
ServiceHandle< MuonTGC_CablingSvc >