24#include "GaudiKernel/DataObject.h"
25#include "GaudiKernel/IOpaqueAddress.h"
26#include "GaudiKernel/IRegistry.h"
27#include "GaudiKernel/ISvcLocator.h"
28#include "GaudiKernel/StatusCode.h"
55 AthMessaging(svcloc != 0 ? msgSvc() : 0,
"CmxRoIByteStreamAuxCnv"),
56 m_name(
"CmxRoIByteStreamAuxCnv"),
57 m_readTool(
"LVL1BS::JepRoiByteStreamV2Tool/JepRoiByteStreamV2Tool")
75 CHECK(Converter::initialize());
78 return StatusCode::SUCCESS;
87 CHECK(pBS_Addr !=
nullptr);
89 const std::string nm = *(pBS_Addr->par());
107 item->initialize(source.ex(), source.ey(), source.et(),
108 source.exError(), source.eyError(), source.etError(),
111 source.missingEtHits(), source.sumEtHits(),
112 source.missingEtSigHits(),
129 return StatusCode::SUCCESS;
135 return StatusCode::FAILURE;
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.
#define CHECK(...)
Evaluate an expression and check for errors.
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
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
static constexpr long storageType()
static long storageType()
CmxRoIByteStreamAuxCnv(ISvcLocator *svcloc)
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
virtual StatusCode initialize()
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
static const CLID & classID()
ToolHandle< JepRoiByteStreamV2Tool > m_readTool
Do the main job - retrieve objects from robs.
std::string m_name
Converter name.
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
CMXRoI_v1 CMXRoI
Define the latest version of the CMXRoI class.
CMXRoIAuxContainer_v1 CMXRoIAuxContainer
Define the latest version of the CMXRoI auxiliary info.
CMXRoIContainer_v1 CMXRoIContainer
Define the latest version of the CMXRoI container.