ATLAS Offline Software
Loading...
Searching...
No Matches
NSWMMTP_RawDataProviderToolMT.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 MUONMM_CNVTOOLS_NSWMMTP_RAWDATAPROVIDERTOOLMT_H
5#define MUONMM_CNVTOOLS_NSWMMTP_RAWDATAPROVIDERTOOLMT_H
6
10#include "GaudiKernel/ServiceHandle.h"
11#include "GaudiKernel/ToolHandle.h"
16
17namespace Muon {
18
20 {
21 public:
23
24 NSWMMTP_RawDataProviderToolMT(const std::string& type, const std::string& name, const IInterface* parent);
25 virtual ~NSWMMTP_RawDataProviderToolMT() = default;
26
27 StatusCode initialize() override;
28
29 // unimplemented
30 StatusCode convert() const override;
31 StatusCode convert(const ROBFragmentList&) const override;
32 StatusCode convert(const std::vector<IdentifierHash>&) const override;
33 StatusCode convert(const ROBFragmentList&, const std::vector<IdentifierHash>&) const override;
34
35 // implemented
36 StatusCode convert(const ROBFragmentList& fragments, const EventContext& ctx) const override;
37 StatusCode convert(const EventContext& ctx) const override;
38
39 private:
40 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
41 ToolHandle<INSWMMTP_ROD_Decoder> m_decoder {this, "Decoder", "Muon::NSWMMTP_ROD_Decoder/NSWMMTP_ROD_Decoder"};
43 SG::WriteHandleKey<xAOD::NSWMMTPRDOContainer> m_rdoContainerKey{this, "RdoLocation", "", "NSWMMTPRDOContainer"};
44 };
45
46} // namespace Muon
47
48#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Interface defining the tools used to convert Muon BS to MuonRDOs.
std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > ROBFragmentList
Decoding method.
virtual StatusCode convert(const ROBFragmentList &) const =0
NSWMMTP_RawDataProviderToolMT(const std::string &type, const std::string &name, const IInterface *parent)
StatusCode convert() const override
the new ones
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual ~NSWMMTP_RawDataProviderToolMT()=default
ToolHandle< INSWMMTP_ROD_Decoder > m_decoder
SG::WriteHandleKey< xAOD::NSWMMTPRDOContainer > m_rdoContainerKey
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.