ATLAS Offline Software
Loading...
Searching...
No Matches
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
11#include "CSC_Hid2RESrcID.h"
13#include "GaudiKernel/ServiceHandle.h"
14#include "GaudiKernel/ToolHandle.h"
22
23namespace Muon {
24
25 class CSC_RawDataProviderTool : public extends<AthAlgTool, IMuonRawDataProviderTool> {
26 public:
27 using base_class::base_class;
28
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
52 "Name of the CSCRDO produced by RawDataProvider"};
53 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey{this, "EventInfoKey", "EventInfo", ""};
55
56 ServiceHandle<IROBDataProviderSvc> m_robDataProvider{this, "RobProviderSvc", "ROBDataProviderSvc"};
57 ServiceHandle<CSCcablingSvc> m_cabling{this, "CablingSvc", "CSCcablingSvc"};
58
61 "Optional external cache for the CSC container"};
62 };
63} // namespace Muon
64
65#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
ServiceHandle< CSCcablingSvc > m_cabling
ToolHandle< ICSC_ROD_Decoder > m_decoder
member variables for algorithm properties:
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
virtual StatusCode convert(const EventContext &ctx) const override
virtual ~CSC_RawDataProviderTool()
default destructor
StatusCode convertIntoContainer(const ROBFragmentList &vecRobs, const EventContext &ctx) const
function to decode the passed ROB fragments into the passed container
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::WriteHandleKey< CscRawDataContainer > m_containerKey
virtual StatusCode initialize() override
standard Athena-Algorithm method
SG::UpdateHandleKey< CscRawDataCollection_Cache > m_rdoContainerCacheKey
CSC container cache key.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which an UpdateHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.