ATLAS Offline Software
Loading...
Searching...
No Matches
MdtCsmContByteStreamTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONMDT_CNVTOOLS_MDTCSMCONTRAWEVENTTOOL_H
6#define MUONMDT_CNVTOOLS_MDTCSMCONTRAWEVENTTOOL_H
7
12#include "GaudiKernel/ServiceHandle.h"
13#include "MDT_Hid2RESrcID.h"
16
17class MdtCsmContainer;
18
19#include <map>
20#include <string>
21
22namespace Muon {
35
36 class MdtCsmContByteStreamTool : public extends<AthAlgTool, IMDT_RDOtoByteStreamTool> {
37 public:
40 MdtCsmContByteStreamTool(const std::string& type, const std::string& name, const IInterface* parent);
41
42 virtual StatusCode initialize() override;
43 virtual StatusCode finalize() override;
44
45 virtual StatusCode convert(const MdtCsmContainer* cont, MsgStream& log) const override;
46
47 private:
48 std::unique_ptr<MDT_Hid2RESrcID> m_hid2re;
49
50 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
51
52 ServiceHandle<IByteStreamCnvSvc> m_byteStreamCnvSvc{this, "ByteStreamCnvSvc", "ByteStreamCnvSvc"};
53 };
54
55} // namespace Muon
56
57#endif
This container provides acces to the MDT RDOs.
MdtCsmContByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
virtual StatusCode initialize() override
virtual StatusCode finalize() override
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
std::unique_ptr< MDT_Hid2RESrcID > m_hid2re
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
virtual StatusCode convert(const MdtCsmContainer *cont, MsgStream &log) const override
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.