ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonMDT_CnvTools
src
MDT_RawDataProviderTool.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 MUONMDTCNVTOOLS_MUONMDTRAWDATAPROVIDERTOOL_H
6
#define MUONMDTCNVTOOLS_MUONMDTRAWDATAPROVIDERTOOL_H
7
8
#include <set>
9
10
#include "
AthenaBaseComps/AthAlgTool.h
"
11
#include "
ByteStreamCnvSvcBase/IROBDataProviderSvc.h
"
12
#include "
ByteStreamData/RawEvent.h
"
13
#include "GaudiKernel/ServiceHandle.h"
14
#include "GaudiKernel/ToolHandle.h"
15
#include "
MdtROD_Decoder.h
"
16
#include "
MuonCablingData/MuonMDT_CablingMap.h
"
17
#include "
MuonCnvToolInterfaces/IMuonRawDataProviderTool.h
"
18
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
19
#include "
MuonRDO/MdtCsm_Cache.h
"
20
#include "
StoreGate/ReadCondHandleKey.h
"
21
22
class
MdtCsmContainer
;
23
24
namespace
Muon
{
25
29
30
class
MDT_RawDataProviderTool
:
public
extends<AthAlgTool, IMuonRawDataProviderTool> {
31
public
:
32
using
base_class::base_class;
33
35
virtual
~MDT_RawDataProviderTool
() =
default
;
36
38
virtual
StatusCode
initialize
()
override
;
39
41
42
virtual
StatusCode
convert
(
const
EventContext& ctx)
const override
;
43
virtual
StatusCode
convert
(
const
std::vector<IdentifierHash>& HashVec,
44
const
EventContext& ctx)
const override
;
45
virtual
StatusCode
convert
(
const
std::vector<uint32_t>& robIds,
46
const
EventContext& ctx)
const override
;
48
virtual
StatusCode
convertIntoContainer
(
const
ROBFragmentList& vecRobs,
49
const
EventContext& ctx)
const
;
50
51
private
:
52
53
ToolHandle<MdtROD_Decoder>
m_decoder
{
this
,
"Decoder"
,
"MdtROD_Decoder/MdtROD_Decoder"
};
54
SG::WriteHandleKey<MdtCsmContainer>
m_rdoContainerKey
{
this
,
"RdoLocation"
,
"MDTCSM"
,
55
"Name of the MDTCSM produced by RawDataProvider"
};
56
57
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
58
59
unsigned
int
m_maxhashtoUse
= 0U;
60
61
// Rob Data Provider handle
62
ServiceHandle<IROBDataProviderSvc>
m_robDataProvider
{
this
,
"ROBDataProviderSvc"
,
"ROBDataProviderSvc"
};
63
64
SG::ReadCondHandleKey<MuonMDT_CablingMap>
m_readKey
{
this
,
"ReadKey"
,
"MuonMDT_CablingMap"
,
"Key of MuonMDT_CablingMap"
};
66
SG::UpdateHandleKey<MdtCsm_Cache>
m_rdoContainerCacheKey
{
this
,
"CsmContainerCacheKey"
,
""
,
67
"Optional external cache for the CSM container"
68
};
69
};
70
}
// namespace Muon
71
72
#endif
AthAlgTool.h
IMuonIdHelperSvc.h
IMuonRawDataProviderTool.h
IROBDataProviderSvc.h
MdtCsm_Cache.h
MdtROD_Decoder.h
MuonMDT_CablingMap.h
RawEvent.h
ReadCondHandleKey.h
MdtCsmContainer
This container provides acces to the MDT RDOs.
Definition
MdtCsmContainer.h:22
Muon::MDT_RawDataProviderTool
Definition
MDT_RawDataProviderTool.h:30
Muon::MDT_RawDataProviderTool::m_decoder
ToolHandle< MdtROD_Decoder > m_decoder
Definition
MDT_RawDataProviderTool.h:53
Muon::MDT_RawDataProviderTool::m_maxhashtoUse
unsigned int m_maxhashtoUse
Definition
MDT_RawDataProviderTool.h:59
Muon::MDT_RawDataProviderTool::initialize
virtual StatusCode initialize() override
standard Athena-Algorithm method
Definition
MDT_RawDataProviderTool.cxx:12
Muon::MDT_RawDataProviderTool::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Definition
MDT_RawDataProviderTool.h:62
Muon::MDT_RawDataProviderTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
MDT_RawDataProviderTool.h:57
Muon::MDT_RawDataProviderTool::convertIntoContainer
virtual StatusCode convertIntoContainer(const ROBFragmentList &vecRobs, const EventContext &ctx) const
Convert method.
Definition
MDT_RawDataProviderTool.cxx:36
Muon::MDT_RawDataProviderTool::convert
virtual StatusCode convert(const EventContext &ctx) const override
IMuonRawDataProviderTool interface - EventContext-based methods.
Definition
MDT_RawDataProviderTool.cxx:87
Muon::MDT_RawDataProviderTool::m_rdoContainerKey
SG::WriteHandleKey< MdtCsmContainer > m_rdoContainerKey
Definition
MDT_RawDataProviderTool.h:54
Muon::MDT_RawDataProviderTool::~MDT_RawDataProviderTool
virtual ~MDT_RawDataProviderTool()=default
default destructor
Muon::MDT_RawDataProviderTool::m_rdoContainerCacheKey
SG::UpdateHandleKey< MdtCsm_Cache > m_rdoContainerCacheKey
This is the key for the cache for the CSM containers, can be empty.
Definition
MDT_RawDataProviderTool.h:66
Muon::MDT_RawDataProviderTool::m_readKey
SG::ReadCondHandleKey< MuonMDT_CablingMap > m_readKey
Definition
MDT_RawDataProviderTool.h:64
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::UpdateHandleKey
Property holding a SG store/key/clid from which an UpdateHandle is made.
Definition
UpdateHandleKey.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
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Generated on
for ATLAS Offline Software by
1.17.0