ATLAS Offline Software
Loading...
Searching...
No Matches
MdtRDO_Decoder.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONBYTESTREAMMDTRDODECODER_H
6#define MUONBYTESTREAMMDTRDODECODER_H
7
8#include <string>
9#include <vector>
10
12#include "GaudiKernel/ServiceHandle.h"
17#include "MuonRDO/MdtAmtHit.h"
19
20namespace Muon {
21 // Decoder class for conversion from MDT RDOs to MDT digits
22 // Stefano Rosati
23 // CERN Jan 2004
24
25 class MdtRDO_Decoder : public AthAlgTool, virtual public IMDT_RDO_Decoder {
26 public:
27 MdtRDO_Decoder(const std::string& type, const std::string& name, const IInterface* parent);
28
29 StatusCode initialize() override final;
30
31 std::unique_ptr<MdtDigit> getDigit(const EventContext& ctx,
32 const MdtAmtHit& amtHit,
33 uint16_t subdetId,
34 uint16_t mrodId,
35 uint16_t csmId) const override final;
36
37 private:
38 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
39 SG::ReadCondHandleKey<MuonMDT_CablingMap> m_readKey{this, "ReadKey", "MuonMDT_CablingMap", "Key of MuonMDT_CablingMap"};
40 };
41
42} // namespace Muon
43
44
45#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
MDT RDO's : data from a single channel of an AMT Atlas Muon TDC.
Definition MdtAmtHit.h:20
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
std::unique_ptr< MdtDigit > getDigit(const EventContext &ctx, const MdtAmtHit &amtHit, uint16_t subdetId, uint16_t mrodId, uint16_t csmId) const override final
MdtRDO_Decoder(const std::string &type, const std::string &name, const IInterface *parent)
SG::ReadCondHandleKey< MuonMDT_CablingMap > m_readKey
StatusCode initialize() override final
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.