ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonTGC_CnvTools
src
TGC_RodDecoderRawdata.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_RODDECODERRAWDATA_H
6
#define MUONTGC_CNVTOOLS_TGC_RODDECODERRAWDATA_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
#include "
MuonTGC_Cabling/TgcCablingMap.h
"
11
#include "
MuonTGC_CnvTools/ITGC_RodDecoder.h
"
12
#include "
TgcRODReadOut.h
"
13
class
TgcRdo
;
14
15
namespace
Muon
{
16
29
30
class
TGC_RodDecoderRawdata
:
public
extends<AthAlgTool, ITGC_RodDecoder> {
31
public
:
33
using
base_class::base_class;
35
virtual
~TGC_RodDecoderRawdata
();
36
38
virtual
StatusCode
initialize
()
override
;
40
virtual
StatusCode
fillCollection
(
41
const
OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment
& robFrag,
42
TgcRdoContainer
& rdoIdc,
const
EventContext& ctx)
const override
;
43
44
private
:
46
TgcRdo
*
getCollection
(
47
const
OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment
& robFrag,
48
TgcRdoContainer
& rdoIdc)
const
;
52
void
byteStream2Rdo
(
OFFLINE_FRAGMENTS_NAMESPACE::PointerType
bs,
53
TgcRdo
& rdo, uint32_t source_id)
const
;
55
void
showStatusWords
(
const
uint32_t source_id,
const
uint16_t rdoId,
56
const
int
idHash,
const
uint32_t nstatus,
57
const
uint32_t* status)
const
;
59
Gaudi::Property<bool>
m_readSlbHeaderId
{
this
,
"ReadSlbHeaderId"
,
false
};
61
Gaudi::Property<bool>
m_checkRawData
{
this
,
"CheckRawData"
,
false
};
63
std::unique_ptr<TgcRODReadOut>
m_tgcRODReadOut
{};
65
Gaudi::Property<bool>
m_showStatusWords
{
this
,
"ShowStatusWords"
,
false
};
66
67
SG::ReadCondHandleKey<Muon::TgcCablingMap>
m_cablingKey
{
68
this
,
"CablingKey"
,
"MuonTgc_CablingMap"
};
69
};
70
71
}
// namespace Muon
72
73
#endif
// MUONTGC_CNVTOOLS_TGC_RODDECODERRAWDATA_H
AthAlgTool.h
ITGC_RodDecoder.h
TgcCablingMap.h
TgcRODReadOut.h
Muon::TGC_RodDecoderRawdata
A tool to decode a TGC ROB fragment written in the raw data format into TGC RDO.
Definition
TGC_RodDecoderRawdata.h:30
Muon::TGC_RodDecoderRawdata::m_tgcRODReadOut
std::unique_ptr< TgcRODReadOut > m_tgcRODReadOut
RawData format converter.
Definition
TGC_RodDecoderRawdata.h:63
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:360
Muon::TGC_RodDecoderRawdata::initialize
virtual StatusCode initialize() override
Standard AlgTool method.
Definition
TGC_RodDecoderRawdata.cxx:22
Muon::TGC_RodDecoderRawdata::m_readSlbHeaderId
Gaudi::Property< bool > m_readSlbHeaderId
Switch for reading IDs in SLB Header or ROD Header.
Definition
TGC_RodDecoderRawdata.h:59
Muon::TGC_RodDecoderRawdata::m_checkRawData
Gaudi::Property< bool > m_checkRawData
Switch for checking rawdata format with readout format.
Definition
TGC_RodDecoderRawdata.h:61
Muon::TGC_RodDecoderRawdata::getCollection
TgcRdo * getCollection(const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, TgcRdoContainer &rdoIdc) const
Retrieve header of ROBFragment.
Definition
TGC_RodDecoderRawdata.cxx:93
Muon::TGC_RodDecoderRawdata::fillCollection
virtual StatusCode fillCollection(const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, TgcRdoContainer &rdoIdc, const EventContext &ctx) const override
Convert ROBFragment to RDO.
Definition
TGC_RodDecoderRawdata.cxx:32
Muon::TGC_RodDecoderRawdata::~TGC_RodDecoderRawdata
virtual ~TGC_RodDecoderRawdata()
Default destructor.
Muon::TGC_RodDecoderRawdata::m_showStatusWords
Gaudi::Property< bool > m_showStatusWords
Flag for showStatusWords.
Definition
TGC_RodDecoderRawdata.h:65
Muon::TGC_RodDecoderRawdata::m_cablingKey
SG::ReadCondHandleKey< Muon::TgcCablingMap > m_cablingKey
Definition
TGC_RodDecoderRawdata.h:67
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:139
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
TgcRdoContainer
Definition
TgcRdoContainer.h:25
TgcRdo
Definition
TgcRdo.h:22
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
OFFLINE_FRAGMENTS_NAMESPACE::PointerType
const DataType * PointerType
Definition
RawEvent.h:25
OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment
eformat::ROBFragment< PointerType > ROBFragment
Definition
RawEvent.h:27
Generated on
for ATLAS Offline Software by
1.17.0