|
ATLAS Offline Software
|
Go to the documentation of this file.
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"
33 :
Converter(storageType(), classID(), svcloc),
35 m_name(
"L1TopoByteStreamxAODCnv") {}
53 return StatusCode::SUCCESS;
63 CHECK(pBS_Addr !=
nullptr);
65 const std::string
nm = *(pBS_Addr->par());
66 const std::string nmAux =
nm +
"Aux.";
67 ATH_MSG_DEBUG(
"Creating xAOD::L1TopoRawDataContainer interface objects '"
77 for (
size_t i = 0;
i < link->
size(); ++
i) {
81 topoCollection->setStore(link);
84 "Number of xAOD::L1TopoRawData created: " << topoCollection->
size());
86 return StatusCode::SUCCESS;
93 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)
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
virtual size_t size() const override
Get the size of the container.
L1TopoByteStreamxAODCnv(ISvcLocator *svcloc)
static const CLID & ID()
the CLID of T
virtual StatusCode initialize()
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...
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
Object reference supporting deferred reading from StoreGate.
::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.
static const CLID & classID()
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.
L1TopoRawDataContainer_v1 L1TopoRawDataContainer
Define the latest version of the L1TopoRawData container.
static long storageType()
size_type size() const noexcept
Returns the number of elements in the collection.