15#include "GaudiKernel/DataObject.h"
16#include "GaudiKernel/IOpaqueAddress.h"
17#include "GaudiKernel/IRegistry.h"
18#include "GaudiKernel/ISvcLocator.h"
19#include "GaudiKernel/StatusCode.h"
34 m_tool(
"LVL1BS::JepByteStreamV1Tool/JepByteStreamV1Tool")
62 return StatusCode::SUCCESS;
68 IOpaqueAddress*& pAddr )
const
73 return StatusCode::FAILURE;
76 const std::string nm = pObj->registry()->name();
81 return m_tool->convert( jep );
#define ATH_CHECK
Evaluate an expression and check for errors.
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
Helpers for checking error return status codes and reporting errors.
An STL vector of pointers that by default owns its pointed-to elements.
uint32_t CLID
The Class ID type.
Defines the ROB data entity. The ROB data is an abstract entity that is used to decouple the raw even...
convert to and from a SG storable
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
static constexpr long storageType()
static long storageType()
virtual StatusCode initialize() override
static const CLID & classID()
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Create ByteStream from JEP Container.
JepByteStreamV1Cnv(ISvcLocator *svcloc)
virtual ~JepByteStreamV1Cnv()
ToolHandle< LVL1BS::JepByteStreamV1Tool > m_tool
Tool that does the actual work.
Jet/Energy Processor container for writing bytestream pre-LS1.
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)