|
ATLAS Offline Software
|
Go to the documentation of this file.
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"
53 :
Converter(storageType(), classID(), svcloc),
55 m_name(
"L1TopoByteStreamAuxCnv"),
56 m_readTool(
"L1TopoByteStreamTool/L1TopoByteStreamTool") {}
74 return StatusCode::SUCCESS;
83 CHECK(pBS_Addr !=
nullptr);
85 const std::string
nm = *(pBS_Addr->par());
90 topoContainer.setStore(aux);
100 for (
auto topoRDO : topoRDOCollection) {
103 item->initialize(topoRDO->getDataWords(), topoRDO->getStatusWords(),
104 topoRDO->getError(), topoRDO->getSourceID());
112 return StatusCode::SUCCESS;
118 return StatusCode::FAILURE;
std::string m_name
Converter name.
convert to and from a SG storable
Defines the ROB data entity. The ROB data is an abstract entity that is used to discase the raw event...
ToolHandle< L1TopoByteStreamTool > m_readTool
Do the main job - retrieve xAOD Topo from robs.
static long storageType()
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
static const CLID & ID()
the CLID of T
msgSvc
Provide convenience handles for various services.
L1TopoByteStreamAuxCnv(ISvcLocator *svcloc)
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
::StatusCode StatusCode
StatusCode definition for legacy code.
Description of L1TopoRawData_v1.
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
Class to provide easy MsgStream access and capabilities.
#define CHECK(...)
Evaluate an expression and check for errors.
uint32_t CLID
The Class ID type.
Container of L1TopoRDOs (standard Athena boilerplate)
static constexpr long storageType()
Helpers for checking error return status codes and reporting errors.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
L1TopoRawData_v1 L1TopoRawData
Define the latest version of the L1TopoRawData class.
virtual StatusCode initialize()
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
static const CLID & classID()
L1TopoRawDataAuxContainer_v1 L1TopoRawDataAuxContainer
Define the latest version of the L1TopoRawData auxiliary container.