ATLAS Offline Software
Loading...
Searching...
No Matches
NSWTP_RawDataProviderTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONSTGC_CNVTOOLS_NSWTP_RawDataProviderTool_H
5#define MUONSTGC_CNVTOOLS_NSWTP_RawDataProviderTool_H
6
10#include "GaudiKernel/ServiceHandle.h"
11#include "GaudiKernel/ToolHandle.h"
16
17namespace Muon {
18
19class NSWTP_RawDataProviderTool : public extends<AthAlgTool, IMuonRawDataProviderTool> {
20 public:
22
23 using base_class::base_class;
24
25 virtual ~NSWTP_RawDataProviderTool() = default;
26
27 StatusCode initialize() override;
28
29 // implemented
30
31 StatusCode convert(const std::vector<IdentifierHash>& chamberHashes,
32 const EventContext& ctx) const override;
33 StatusCode convert(const std::vector<uint32_t>& robIDS,
34 const EventContext& ctx) const override;
35 StatusCode convert(const EventContext& ctx) const override;
36
37 private:
38
39 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
40 ToolHandle<INSWTP_ROD_Decoder> m_decoder{this, "Decoder", "Muon::NSWTP_ROD_Decoder/NSWTP_ROD_Decoder"};
41 ServiceHandle<IROBDataProviderSvc> m_robDataProvider{this, "RobProviderSvc", "ROBDataProviderSvc"};
42 SG::WriteHandleKey<xAOD::NSWTPRDOContainer> m_rdoContainerKey{this, "RdoLocation", "", "Name of of the RDO container to write to"};
43};
44
45} // namespace Muon
46
47#endif // MUONSTGC_CNVTOOLS_NSWTP_RawDataProviderTool_H
virtual StatusCode convert(const ROBFragmentList &) const
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
ToolHandle< INSWTP_ROD_Decoder > m_decoder
SG::WriteHandleKey< xAOD::NSWTPRDOContainer > m_rdoContainerKey
virtual StatusCode convert() const
the new ones
virtual ~NSWTP_RawDataProviderTool()=default
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
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.