ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonCSC_CnvTools
src
CSC_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 MUONCSC_CNVTOOLS_CSC_RAWDATAPROVIDERTOOL_H
6
#define MUONCSC_CNVTOOLS_CSC_RAWDATAPROVIDERTOOL_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
ByteStreamCnvSvcBase/IROBDataProviderSvc.h
"
10
#include "
ByteStreamData/RawEvent.h
"
11
#include "
CSC_Hid2RESrcID.h
"
12
#include "
CSCcabling/CSCcablingSvc.h
"
13
#include "GaudiKernel/ServiceHandle.h"
14
#include "GaudiKernel/ToolHandle.h"
15
#include "
MuonCSC_CnvTools/ICSC_ROD_Decoder.h
"
16
#include "
MuonCnvToolInterfaces/IMuonRawDataProviderTool.h
"
17
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
18
#include "
MuonRDO/CscRawDataCollection_Cache.h
"
19
#include "
MuonRDO/CscRawDataContainer.h
"
20
#include "
StoreGate/ReadHandleKey.h
"
21
#include "
StoreGate/WriteHandleKey.h
"
22
23
namespace
Muon
{
24
25
class
CSC_RawDataProviderTool
:
public
extends<AthAlgTool, IMuonRawDataProviderTool> {
26
public
:
27
using
base_class::base_class;
28
30
virtual
~CSC_RawDataProviderTool
();
31
33
virtual
StatusCode
initialize
()
override
;
34
35
// IMuonRawDataProviderTool interface - EventContext-based methods
36
37
virtual
StatusCode
convert
(
const
EventContext& ctx)
const override
;
38
virtual
StatusCode
convert
(
const
std::vector<uint32_t>& robIds,
const
EventContext& ctx)
const override
;
39
virtual
StatusCode
convert
(
const
std::vector<IdentifierHash>& rdoIdhVect,
const
EventContext& ctx)
const override
;
40
41
private
:
43
StatusCode
convertIntoContainer
(
const
ROBFragmentList& vecRobs,
44
const
EventContext& ctx)
const
;
45
47
ToolHandle<ICSC_ROD_Decoder>
m_decoder
{
this
,
"Decoder"
,
"Muon::CscROD_Decoder/CscROD_Decoder"
};
48
49
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
50
51
SG::WriteHandleKey<CscRawDataContainer>
m_containerKey
{
this
,
"RdoLocation"
,
"CSCRDO"
,
52
"Name of the CSCRDO produced by RawDataProvider"
};
53
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
this
,
"EventInfoKey"
,
"EventInfo"
,
""
};
54
CSC_Hid2RESrcID
m_hid2re
;
55
56
ServiceHandle<IROBDataProviderSvc>
m_robDataProvider
{
this
,
"RobProviderSvc"
,
"ROBDataProviderSvc"
};
57
ServiceHandle<CSCcablingSvc>
m_cabling
{
this
,
"CablingSvc"
,
"CSCcablingSvc"
};
58
60
SG::UpdateHandleKey<CscRawDataCollection_Cache>
m_rdoContainerCacheKey
{
this
,
"CscContainerCacheKey"
,
""
,
61
"Optional external cache for the CSC container"
};
62
};
63
}
// namespace Muon
64
65
#endif
AthAlgTool.h
CSC_Hid2RESrcID.h
CSCcablingSvc.h
CscRawDataCollection_Cache.h
CscRawDataContainer.h
ICSC_ROD_Decoder.h
IMuonIdHelperSvc.h
IMuonRawDataProviderTool.h
IROBDataProviderSvc.h
RawEvent.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
CSC_Hid2RESrcID
Definition
CSC_Hid2RESrcID.h:24
Muon::CSC_RawDataProviderTool
Definition
CSC_RawDataProviderTool.h:25
Muon::CSC_RawDataProviderTool::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition
CSC_RawDataProviderTool.h:53
Muon::CSC_RawDataProviderTool::m_hid2re
CSC_Hid2RESrcID m_hid2re
Definition
CSC_RawDataProviderTool.h:54
Muon::CSC_RawDataProviderTool::m_cabling
ServiceHandle< CSCcablingSvc > m_cabling
Definition
CSC_RawDataProviderTool.h:57
Muon::CSC_RawDataProviderTool::m_decoder
ToolHandle< ICSC_ROD_Decoder > m_decoder
member variables for algorithm properties:
Definition
CSC_RawDataProviderTool.h:47
Muon::CSC_RawDataProviderTool::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Definition
CSC_RawDataProviderTool.h:56
Muon::CSC_RawDataProviderTool::convert
virtual StatusCode convert(const EventContext &ctx) const override
Definition
CSC_RawDataProviderTool.cxx:118
Muon::CSC_RawDataProviderTool::~CSC_RawDataProviderTool
virtual ~CSC_RawDataProviderTool()
default destructor
Muon::CSC_RawDataProviderTool::convertIntoContainer
StatusCode convertIntoContainer(const ROBFragmentList &vecRobs, const EventContext &ctx) const
function to decode the passed ROB fragments into the passed container
Definition
CSC_RawDataProviderTool.cxx:51
Muon::CSC_RawDataProviderTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
CSC_RawDataProviderTool.h:49
Muon::CSC_RawDataProviderTool::m_containerKey
SG::WriteHandleKey< CscRawDataContainer > m_containerKey
Definition
CSC_RawDataProviderTool.h:51
Muon::CSC_RawDataProviderTool::initialize
virtual StatusCode initialize() override
standard Athena-Algorithm method
Definition
CSC_RawDataProviderTool.cxx:27
Muon::CSC_RawDataProviderTool::m_rdoContainerCacheKey
SG::UpdateHandleKey< CscRawDataCollection_Cache > m_rdoContainerCacheKey
CSC container cache key.
Definition
CSC_RawDataProviderTool.h:60
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
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