|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "GaudiKernel/IRegistry.h"
30 m_tool(
"L1TopoByteStreamTool"),
32 m_robDataProvider(
"ROBDataProviderSvc",
"L1TopoByteStreamCnv"),
33 m_ByteStreamEventAccess(
"ByteStreamCnvSvc",
"L1TopoByteStreamCnv") {}
80 ATH_MSG_DEBUG(
"Connected to ByteStreamEventAccess interface");
110 return StatusCode::SUCCESS;
119 DataObject*& pObj)
const {
123 CHECK(pBS_Addr !=
nullptr);
125 const std::string
nm = *(pBS_Addr->par());
133 if (
sc.isFailure()) {
139 return StatusCode::SUCCESS;
148 IOpaqueAddress*& pAddr)
const {
156 return StatusCode::FAILURE;
170 if (
sc.isFailure()) {
175 return StatusCode::SUCCESS;
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const
Function creating the L1TopoRDOCollection object from a L1Topo ROB fragment.
OFFLINE_FRAGMENTS_NAMESPACE_WRITE::FullEventFragment RawEventWrite
data type for writing raw event
Const iterator class for DataVector/DataList.
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Service used when reading the BS data.
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)
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...
This class provides conversion between Lower level Source ID to higher level source ID for L1Topo Byt...
L1TopoSrcIdMap * m_srcIdMap
Object storing the various IDs of the CTP fragment.
Gaudi converter base class with const interfaces.
L1TopoByteStreamCnv(ISvcLocator *svcloc)
Standard constructor.
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
static const CLID & ID()
the CLID of T
static const CLID & classID()
Function needed by the framework.
::StatusCode StatusCode
StatusCode definition for legacy code.
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
ToolHandle< L1TopoByteStreamTool > m_tool
Tool doing the actual conversion.
#define CHECK(...)
Evaluate an expression and check for errors.
uint32_t CLID
The Class ID type.
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const
Function creating the L1Topo ROB fragment from a L1TopoRDOCollection object.
virtual StatusCode initialize()
Function connecting to all the needed services/tools.
Container of L1TopoRDOs (standard Athena boilerplate)
static constexpr long storageType()
#define ATH_MSG_WARNING(x)
const boost::regex re(r_e)
~L1TopoByteStreamCnv()
Standard destructor.
static long storageType()
Function needed by the framework.
ServiceHandle< IByteStreamEventAccess > m_ByteStreamEventAccess
Service used when writing the BS data.