ATLAS Offline Software
Loading...
Searching...
No Matches
MM_ROD_Decoder.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONBYTESTREAM_MM_ROD_DECODER_H
6#define MUONBYTESTREAM_MM_ROD_DECODER_H
7
10
14
15class MmIdHelper;
16
17namespace Muon
18{
19
20class MM_RawData;
22
23class MM_ROD_Decoder : virtual public IMM_ROD_Decoder, public AthAlgTool
24{
25 public:
26 MM_ROD_Decoder(const std::string& type, const std::string& name, const IInterface* parent ) ;
27 virtual ~MM_ROD_Decoder() = default;
28 virtual StatusCode initialize() override;
29 virtual StatusCode fillCollection(const EventContext&, const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment&, const std::vector<IdentifierHash>&, std::unordered_map<IdentifierHash, std::unique_ptr<MM_RawDataCollection>>&) const override;
30
31 private:
32 const MmIdHelper* m_MmIdHelper = nullptr;
33 SG::ReadCondHandleKey<Nsw_CablingMap> m_cablingKey{this, "CablingMap", "NswCabling","Key of Nsw_CablingMap"};
34
35 SG::ReadCondHandleKey<NswDcsDbData> m_dscKey{this, "DcsKey", "NswDcsDbData",
36 "Key of NswDcsDbData object containing DCS conditions data"};
37
38
39};
40
41}
42
43#endif
44
45
46
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
This is a "hash" representation of an Identifier.
the respective class for TGCs.
virtual ~MM_ROD_Decoder()=default
virtual StatusCode initialize() override
virtual StatusCode fillCollection(const EventContext &, const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &, const std::vector< IdentifierHash > &, std::unordered_map< IdentifierHash, std::unique_ptr< MM_RawDataCollection > > &) const override
Convert ROBFragments to RDOs.
SG::ReadCondHandleKey< Nsw_CablingMap > m_cablingKey
MM_ROD_Decoder(const std::string &type, const std::string &name, const IInterface *parent)
const MmIdHelper * m_MmIdHelper
SG::ReadCondHandleKey< NswDcsDbData > m_dscKey
Temporary class to hold the MM RDO.
Definition MM_RawData.h:20
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
eformat::ROBFragment< PointerType > ROBFragment
Definition RawEvent.h:27