ATLAS Offline Software
Loading...
Searching...
No Matches
MM_RDO_Decoder.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONBYTESTREAMMMRDODECODER_H
6#define MUONBYTESTREAMMMRDODECODER_H
7
9
10#include "MuonRDO/MM_RawData.h"
13
16
17#include <inttypes.h>
18#include <vector>
19
21
22namespace Muon {
23 // Decoder class for conversion from MM RDOs to MM digits
24 // Adapted for MMs from Alexandre Laurier - June 2019
25
26 class MM_RDO_Decoder: public AthAlgTool, virtual public IMM_RDO_Decoder {
27
28 public:
29
30 MM_RDO_Decoder( const std::string& type, const std::string& name,
31 const IInterface* parent ) ;
32
33 virtual StatusCode initialize() override final;
34
35 std::unique_ptr<MmDigit> getDigit(const EventContext& ctx,
36 const Muon::MM_RawData * data) const override final;
37
38 private:
39
40 const MmIdHelper* m_mmIdHelper{nullptr};
41 ToolHandle<Muon::INSWCalibTool> m_calibTool{this,"CalibrationTool", ""};
42
43 };
44
45}
46
47
48
49#endif
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
std::unique_ptr< MmDigit > getDigit(const EventContext &ctx, const Muon::MM_RawData *data) const override final
const MmIdHelper * m_mmIdHelper
MM_RDO_Decoder(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode initialize() override final
ToolHandle< Muon::INSWCalibTool > m_calibTool
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.