ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonByteStreamCnvTest
src
MdtRdoToMdtDigit.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_MDTRDOTOMDTDIGIT_H
6
#define MUONBYTESTREAMCNVTEST_MDTRDOTOMDTDIGIT_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
#include "GaudiKernel/ToolHandle.h"
11
#include "
MuonDigitContainer/MdtDigitContainer.h
"
12
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
13
#include "
MuonMDT_CnvTools/IMDT_RDO_Decoder.h
"
14
#include "
MuonRDO/MdtCsmContainer.h
"
15
16
class
MdtRdoToMdtDigit
:
public
AthReentrantAlgorithm
{
17
public
:
18
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
19
virtual
~MdtRdoToMdtDigit
() =
default
;
20
virtual
StatusCode
initialize
() override final;
21
virtual StatusCode
execute
(
const
EventContext& ctx)
const
override final;
22
23
private
:
24
using
DigitCollection
=
std
::
vector
<
std
::
unique_ptr
<
MdtDigitCollection
>>;
25
StatusCode
decodeMdt
(
const
EventContext& ctx,
const
MdtCsm
& rdoCollection,
DigitCollection
& digitContainer)
const
;
26
27
ToolHandle<
Muon
::IMDT_RDO_Decoder>
m_mdtRdoDecoderTool
{
this
,
"mdtRdoDecoderTool"
,
"Muon::MdtRDO_Decoder"
,
""
};
28
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
29
SG::ReadHandleKey<MdtCsmContainer>
m_mdtRdoKey
{
this
,
"MdtRdoContainer"
,
"MDTCSM"
,
"Mdt RDO Input"
};
30
SG::WriteHandleKey<MdtDigitContainer>
m_mdtDigitKey
{
this
,
"MdtDigitContainer"
,
"MDT_DIGITS"
,
"Mdt Digit Output"
};
31
};
32
33
#endif
AthReentrantAlgorithm.h
IMDT_RDO_Decoder.h
IMuonIdHelperSvc.h
MdtCsmContainer.h
MdtDigitContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MdtCsm
MDT RDOs : Chamber Service Module, container of AmtHits of a single Mdt chamber.
Definition
MdtCsm.h:22
MdtDigitCollection
Definition
MdtDigitCollection.h:18
MdtRdoToMdtDigit
Definition
MdtRdoToMdtDigit.h:16
MdtRdoToMdtDigit::~MdtRdoToMdtDigit
virtual ~MdtRdoToMdtDigit()=default
MdtRdoToMdtDigit::m_mdtRdoDecoderTool
ToolHandle< Muon::IMDT_RDO_Decoder > m_mdtRdoDecoderTool
Definition
MdtRdoToMdtDigit.h:27
MdtRdoToMdtDigit::initialize
virtual StatusCode initialize() override final
Definition
MdtRdoToMdtDigit.cxx:7
MdtRdoToMdtDigit::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
MdtRdoToMdtDigit.cxx:15
MdtRdoToMdtDigit::m_mdtDigitKey
SG::WriteHandleKey< MdtDigitContainer > m_mdtDigitKey
Definition
MdtRdoToMdtDigit.h:30
MdtRdoToMdtDigit::m_mdtRdoKey
SG::ReadHandleKey< MdtCsmContainer > m_mdtRdoKey
Definition
MdtRdoToMdtDigit.h:29
MdtRdoToMdtDigit::DigitCollection
std::vector< std::unique_ptr< MdtDigitCollection > > DigitCollection
Definition
MdtRdoToMdtDigit.h:24
MdtRdoToMdtDigit::decodeMdt
StatusCode decodeMdt(const EventContext &ctx, const MdtCsm &rdoCollection, DigitCollection &digitContainer) const
Definition
MdtRdoToMdtDigit.cxx:41
MdtRdoToMdtDigit::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
MdtRdoToMdtDigit.h:28
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.
vector
Definition
MultiHisto.h:13
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