ATLAS Offline Software
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 
17 namespace 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
Muon::NSWTP_RawDataProviderToolMT
Definition: NSWTP_RawDataProviderToolMT.h:20
Muon::IMuonRawDataProviderTool::convert
virtual StatusCode convert() const =0
the new ones
IMuonRawDataProviderTool.h
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
RawEvent.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
Muon::NSWTP_RawDataProviderToolMT::initialize
StatusCode initialize() override
Definition: NSWTP_RawDataProviderToolMT.cxx:17
Muon::NSWTP_RawDataProviderToolMT::m_decoder
ToolHandle< INSWTP_ROD_Decoder > m_decoder
Definition: NSWTP_RawDataProviderToolMT.h:41
test_pyathena.parent
parent
Definition: test_pyathena.py:15
NSWTPRDOContainer.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Muon::NSWTP_RawDataProviderToolMT::convert
StatusCode convert() const override
the new ones
Definition: NSWTP_RawDataProviderToolMT.cxx:29
Muon::NSWTP_RawDataProviderToolMT::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Definition: NSWTP_RawDataProviderToolMT.h:42
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Muon::NSWTP_RawDataProviderToolMT::m_rdoContainerKey
SG::WriteHandleKey< xAOD::NSWTPRDOContainer > m_rdoContainerKey
Definition: NSWTP_RawDataProviderToolMT.h:43
Muon::NSWTP_RawDataProviderToolMT::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: NSWTP_RawDataProviderToolMT.h:40
Muon::NSWTP_RawDataProviderToolMT::NSWTP_RawDataProviderToolMT
NSWTP_RawDataProviderToolMT(const std::string &type, const std::string &name, const IInterface *parent)
Definition: NSWTP_RawDataProviderToolMT.cxx:10
Muon::IMuonRawDataProviderTool::ROBFragmentList
std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > ROBFragmentList
Decoding method.
Definition: IMuonRawDataProviderTool.h:27
AthAlgTool
Definition: AthAlgTool.h:26
Muon::IMuonRawDataProviderTool
Interface defining the tools used to convert Muon BS to MuonRDOs.
Definition: IMuonRawDataProviderTool.h:21
IROBDataProviderSvc.h
IMuonIdHelperSvc.h
Muon::NSWTP_RawDataProviderToolMT::~NSWTP_RawDataProviderToolMT
virtual ~NSWTP_RawDataProviderToolMT()=default
INSWTP_ROD_Decoder.h
ServiceHandle< Muon::IMuonIdHelperSvc >