ATLAS Offline Software
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 
15 class MmIdHelper;
16 
17 namespace Muon
18 {
19 
20 class MM_RawData;
21 class MM_RawDataCollection;
22 
23 class 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 
Muon::MM_ROD_Decoder::MM_ROD_Decoder
MM_ROD_Decoder(const std::string &type, const std::string &name, const IInterface *parent)
Definition: MM_ROD_Decoder.cxx:22
Muon::MM_ROD_Decoder::~MM_ROD_Decoder
virtual ~MM_ROD_Decoder()=default
Muon::MM_ROD_Decoder::initialize
virtual StatusCode initialize() override
Definition: MM_ROD_Decoder.cxx:30
Nsw_CablingMap.h
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Muon::MM_ROD_Decoder::m_MmIdHelper
const MmIdHelper * m_MmIdHelper
Definition: MM_ROD_Decoder.h:32
eformat::ROBFragment
Definition: L1CaloBsDecoderUtil.h:12
Muon::MM_ROD_Decoder::m_cablingKey
SG::ReadCondHandleKey< Nsw_CablingMap > m_cablingKey
Definition: MM_ROD_Decoder.h:33
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ReadCondHandleKey.h
Muon::MM_ROD_Decoder::fillCollection
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.
Definition: MM_ROD_Decoder.cxx:45
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
IMM_ROD_Decoder.h
SG::ReadCondHandleKey< Nsw_CablingMap >
Muon::MM_ROD_Decoder::m_dscKey
SG::ReadCondHandleKey< NswDcsDbData > m_dscKey
Definition: MM_ROD_Decoder.h:35
MmIdHelper
Definition: MmIdHelper.h:54
Muon::IMM_ROD_Decoder
Definition: IMM_ROD_Decoder.h:26
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Muon::MM_ROD_Decoder
Definition: MM_ROD_Decoder.h:24
AthAlgTool
Definition: AthAlgTool.h:26
IdentifierHash
Definition: IdentifierHash.h:38
NswDcsDbData.h