ATLAS Offline Software
Loading...
Searching...
No Matches
NSWTP_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 MUONSTGC_CNVTOOLS_NSWTP_RAWDATAPROVIDERTOOLMT_H
5#define MUONSTGC_CNVTOOLS_NSWTP_RAWDATAPROVIDERTOOLMT_H
6
10#include "GaudiKernel/ServiceHandle.h"
11#include "GaudiKernel/ToolHandle.h"
16
17namespace Muon {
18
20{
21 public:
23
24 NSWTP_RawDataProviderToolMT(const std::string& type, const std::string& name, const IInterface* parent);
25 virtual ~NSWTP_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<INSWTP_ROD_Decoder> m_decoder{this, "Decoder", "Muon::NSWTP_ROD_Decoder/NSWTP_ROD_Decoder"};
43 SG::WriteHandleKey<xAOD::NSWTPRDOContainer> m_rdoContainerKey{this, "RdoLocation", "", "Name of of the RDO container to write to"};
44};
45
46} // namespace Muon
47
48#endif // MUONSTGC_CNVTOOLS_NSWTP_RAWDATAPROVIDERTOOLMT_H
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
virtual ~NSWTP_RawDataProviderToolMT()=default
SG::WriteHandleKey< xAOD::NSWTPRDOContainer > m_rdoContainerKey
StatusCode convert() const override
the new ones
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
NSWTP_RawDataProviderToolMT(const std::string &type, const std::string &name, const IInterface *parent)
ToolHandle< INSWTP_ROD_Decoder > m_decoder
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.