![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
25 #include "GaudiKernel/DataObject.h"
26 #include "GaudiKernel/IOpaqueAddress.h"
27 #include "GaudiKernel/IRegistry.h"
28 #include "GaudiKernel/ISvcLocator.h"
29 #include "GaudiKernel/StatusCode.h"
49 #include "../RodHeaderByteStreamTool.h"
50 #include "../ToString.h"
55 Converter(storageType(), classID(), svcloc),
57 m_name(
"RodHeaderByteStreamAuxCnv"),
58 m_readTool(
"LVL1BS::RodHeaderByteStreamTool/RodHeaderByteStreamTool")
79 return StatusCode::SUCCESS;
88 CHECK(pBS_Addr !=
nullptr);
90 const std::string
nm = *(pBS_Addr->par());
95 container.setStore(aux);
105 for (
auto source :
vec) {
108 item->initialize(source->version(), source->sourceID(), source->run(),
109 source->l1ID(), source->bunchCrossing(), source->l1TriggerType(),
110 source->detEventType(), source->statusWords(), source->payloadSize());
115 ATH_MSG_DEBUG(
"Number of readed RODHeaders: " << aux->size());
118 return StatusCode::SUCCESS;
124 return StatusCode::FAILURE;
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...
DataObject * asStorable(T *pObject)
std::vector< size_t > vec
typename vecDetail::vec_typedef< T, N >::type vec
Define a nice alias for the vectorized type.
static const CLID & ID()
the CLID of T
msgSvc
Provide convenience handles for various services.
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.
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
Class to provide easy MsgStream access and capabilities.
#define CHECK(...)
Evaluate an expression and check for errors.
RODHeaderAuxContainer_v2 RODHeaderAuxContainer
Define the latest version of the RODHeader auxiliary container.
uint32_t CLID
The Class ID type.
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.
RODHeader_v2 RODHeader
Define the latest version of the RODHeader class.