ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonByteStreamCnvTest
src
MM_RdoToDigit.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONBYTESTREAMCNVTEST_MMRDOTOMMDIGIT_H
6
#define MUONBYTESTREAMCNVTEST_MMRDOTOMMDIGIT_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
#include "GaudiKernel/ToolHandle.h"
11
#include "
MuonDigitContainer/MmDigitContainer.h
"
12
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
13
#include "
MuonMM_CnvTools/IMM_RDO_Decoder.h
"
14
#include "
MuonRDO/MM_RawDataContainer.h
"
15
16
class
MM_RdoToDigit
:
public
AthReentrantAlgorithm
{
17
public
:
18
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
19
virtual
~MM_RdoToDigit
() =
default
;
20
virtual
StatusCode
initialize
() override final;
21
virtual StatusCode
execute
(
const
EventContext& ctx)
const
override final;
22
23
private
:
24
using
DigitCollection
=
std
::unordered_map<
IdentifierHash
,
std
::
unique_ptr
<
MmDigitCollection
>>;
25
26
StatusCode
decodeMM
(
const
EventContext& ctx,
27
const
Muon
::MM_RawDataCollection& rdoCollection,
28
DigitCollection
& digitContainer)
const
;
29
30
ToolHandle<
Muon
::IMM_RDO_Decoder>
m_mmRdoDecoderTool
{
this
,
"mmRdoDecoderTool"
,
"Muon::MM_RDO_Decoder"
,
""
};
31
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
32
SG::ReadHandleKey<Muon::MM_RawDataContainer>
m_mmRdoKey
{
this
,
"MmRdoContainer"
,
"MMRDO"
,
"MM RDO Input"
};
33
SG::WriteHandleKey<MmDigitContainer>
m_mmDigitKey
{
this
,
"MmDigitContainer"
,
"MM_DIGITS"
,
"MM Digit Output"
};
34
};
35
36
#endif
AthReentrantAlgorithm.h
IMM_RDO_Decoder.h
IMuonIdHelperSvc.h
MM_RawDataContainer.h
MmDigitContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
MM_RdoToDigit
Definition
MM_RdoToDigit.h:16
MM_RdoToDigit::~MM_RdoToDigit
virtual ~MM_RdoToDigit()=default
MM_RdoToDigit::initialize
virtual StatusCode initialize() override final
Definition
MM_RdoToDigit.cxx:8
MM_RdoToDigit::m_mmDigitKey
SG::WriteHandleKey< MmDigitContainer > m_mmDigitKey
Definition
MM_RdoToDigit.h:33
MM_RdoToDigit::m_mmRdoDecoderTool
ToolHandle< Muon::IMM_RDO_Decoder > m_mmRdoDecoderTool
Definition
MM_RdoToDigit.h:30
MM_RdoToDigit::m_mmRdoKey
SG::ReadHandleKey< Muon::MM_RawDataContainer > m_mmRdoKey
Definition
MM_RdoToDigit.h:32
MM_RdoToDigit::decodeMM
StatusCode decodeMM(const EventContext &ctx, const Muon::MM_RawDataCollection &rdoCollection, DigitCollection &digitContainer) const
Definition
MM_RdoToDigit.cxx:38
MM_RdoToDigit::DigitCollection
std::unordered_map< IdentifierHash, std::unique_ptr< MmDigitCollection > > DigitCollection
Definition
MM_RdoToDigit.h:24
MM_RdoToDigit::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
MM_RdoToDigit.h:31
MM_RdoToDigit::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
MM_RdoToDigit.cxx:16
MmDigitCollection
Definition
MmDigitCollection.h:18
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
unique_ptr
STL class.
const
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
std
STL namespace.
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0