ATLAS Offline Software
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 
19 class RpcPadContainer;
20 
21 #include <string>
22 
23 namespace Muon {
24 
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<ByteStreamCnvSvc> m_byteStreamCnvSvc{this, "ByteStreamCnvSvc", "ByteStreamCnvSvc"};
57  };
58 } // namespace Muon
59 
60 #endif
Muon::RpcPadContByteStreamTool::m_byteStreamCnvSvc
ServiceHandle< ByteStreamCnvSvc > m_byteStreamCnvSvc
Definition: RpcPadContByteStreamTool.h:56
RPC_Hid2RESrcID.h
Muon::RpcPadContByteStreamTool::initialize
virtual StatusCode initialize() override
Definition: RpcPadContByteStreamTool.cxx:25
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Muon::RpcPadContByteStreamTool::convert
virtual StatusCode convert(RpcPadContainer *cont) const override
Conversion method, which takes the RDO container and converts it into raw data, filled into RawEventW...
Definition: RpcPadContByteStreamTool.cxx:36
Muon::IRPC_RDOtoByteStreamTool
An AlgTool class to provide conversion from LArRawChannelContainer to ByteStream, and fill it in RawE...
Definition: MuonCnvToolInterfaces/MuonCnvToolInterfaces/IRPC_RDOtoByteStreamTool.h:27
RawEvent.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IRPC_RDOtoByteStreamTool.h
Muon::RpcPadContByteStreamTool
An AlgTool class to provide conversion from LArRawChannelContainer to ByteStream, and fill it in RawE...
Definition: RpcPadContByteStreamTool.h:36
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ByteStreamCnvSvc.h
FullEventAssembler.h
ReadCondHandleKey.h
RPC_Hid2RESrcID
Definition: RPC_Hid2RESrcID.h:16
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
Muon::RpcPadContByteStreamTool::~RpcPadContByteStreamTool
virtual ~RpcPadContByteStreamTool()=default
SG::ReadCondHandleKey< RpcCablingCondData >
Muon::RpcPadContByteStreamTool::RpcPadContByteStreamTool
RpcPadContByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
Definition: RpcPadContByteStreamTool.cxx:20
Muon::RpcPadContByteStreamTool::m_hid2re
RPC_Hid2RESrcID m_hid2re
Definition: RpcPadContByteStreamTool.h:54
RpcCablingCondData.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Muon::RpcPadContByteStreamTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
Definition: RpcPadContByteStreamTool.cxx:18
Muon::RpcPadContByteStreamTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: RpcPadContByteStreamTool.h:55
AthAlgTool
Definition: AthAlgTool.h:26
Muon::RpcPadContByteStreamTool::m_readKey
SG::ReadCondHandleKey< RpcCablingCondData > m_readKey
Definition: RpcPadContByteStreamTool.h:53
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >
RpcPadContainer
Use IdentifiableContainer with RpcPad.
Definition: RpcPadContainer.h:23