ATLAS Offline Software
Loading...
Searching...
No Matches
RpcPadContByteStreamTool.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 MUONRPC_CNVTOOLS_RPCPADCONTRAWEVENTTOOL_H
6#define MUONRPC_CNVTOOLS_RPCPADCONTRAWEVENTTOOL_H
7
12#include "GaudiKernel/ServiceHandle.h"
16#include "RPC_Hid2RESrcID.h"
18
19class RpcPadContainer;
20
21#include <string>
22
23namespace Muon {
24
35
37 public:
40 RpcPadContByteStreamTool(const std::string& type, const std::string& name, const IInterface* parent);
41
42 virtual ~RpcPadContByteStreamTool() = default;
43
46 static const InterfaceID& interfaceID();
47
48 virtual StatusCode initialize() override;
49
50 virtual StatusCode convert(RpcPadContainer* cont) const override;
51
52 private:
53 SG::ReadCondHandleKey<RpcCablingCondData> m_readKey{this, "ReadKey", "RpcCablingCondData", "Key of RpcCablingCondData"};
55 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
56 ServiceHandle<IByteStreamCnvSvc> m_byteStreamCnvSvc{this, "ByteStreamCnvSvc", "ByteStreamCnvSvc"};
57 };
58} // namespace Muon
59
60#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
An AlgTool class to provide conversion from LArRawChannelContainer to ByteStream, and fill it in RawE...
SG::ReadCondHandleKey< RpcCablingCondData > m_readKey
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
RpcPadContByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual ~RpcPadContByteStreamTool()=default
virtual StatusCode initialize() override
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
virtual StatusCode convert(RpcPadContainer *cont) const override
Conversion method, which takes the RDO container and converts it into raw data, filled into RawEventW...
Use IdentifiableContainer with RpcPad.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.