5#ifndef TRIGT1RESULTBYTESTREAM_L1TRIGGERRESULTBYTESTREAMCNV_H
6#define TRIGT1RESULTBYTESTREAM_L1TRIGGERRESULTBYTESTREAMCNV_H
19#include "GaudiKernel/Converter.h"
36 virtual StatusCode
finalize()
override;
39 virtual StatusCode
createObj(IOpaqueAddress* pAddr, DataObject*& pObj)
override;
41 virtual StatusCode
createRep(DataObject* pObj, IOpaqueAddress*& pAddr)
override;
49 long repSvcType()
const override {
return i_repSvcType(); }
60 ToolHandle<IL1TriggerByteStreamTool>
m_muonEncoderTool{
"MuonRoIByteStreamTool/L1MuonBSEncoderTool"};
uint32_t CLID
The Class ID type.
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
void printRob(const OFFLINE_FRAGMENTS_NAMESPACE_WRITE::ROBFragment &rob) const
Helper method for debug printouts.
ToolHandle< IL1TriggerByteStreamTool > m_ctpResultEncoderTool
Encoder tool for CTP result.
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr) override
Create ByteStream from xAOD (L1TriggerResult)
static long storageType()
Storage type used by this converter.
SG::ReadHandleKey< xAOD::CTPResult > m_inKeyCTPResult
virtual StatusCode finalize() override
ToolHandle< IL1TriggerByteStreamTool > m_muonEncoderTool
Encoder tools for L1Muon RoIs (one writing RoIB ROB, one writing DAQ ROB)
ServiceHandle< IByteStreamEventAccess > m_ByteStreamEventAccess
Helper to obtain the RawEvent pointer.
virtual ~L1TriggerResultByteStreamCnv()
Standard destructor.
virtual StatusCode initialize() override
long repSvcType() const override
return repSvcType
ToolHandle< IL1TriggerByteStreamTool > m_muonEncoderToolDaq
L1TriggerResultByteStreamCnv(ISvcLocator *svcLoc)
Standard constructor.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
Create xAOD (L1TriggerResult) from ByteStream.
static const CLID & classID()
CLID of the class of the L1TriggerResult converted by this converter (xAOD::TrigCompositeContainer)
Property holding a SG store/key/clid from which a ReadHandle is made.
eformat::write::ROBFragment ROBFragment