ATLAS Offline Software
Loading...
Searching...
No Matches
L1TopoByteStreamCnv.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef L1TOPOBYTESTREAM_L1TOPOBYTESTREAMCNV_H
8#define L1TOPOBYTESTREAM_L1TOPOBYTESTREAMCNV_H
9
10// Gaudi/Athena include(s):
11#include "GaudiKernel/ServiceHandle.h"
12#include "GaudiKernel/ToolHandle.h"
13
16
18
19// Local include(s):
21
22// Forward declaration(s):
23class L1TopoSrcIdMap;
24
41
42public:
44 L1TopoByteStreamCnv(ISvcLocator* svcloc);
45
46 public:
49
51 virtual StatusCode initialize();
54 virtual StatusCode createObjConst(IOpaqueAddress* pAddr, DataObject*& pObj) const;
57 virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) const;
58
60 virtual long repSvcType() const { return i_repSvcType(); }
62 static long storageType();
64 static const CLID& classID();
65
66 private:
68 ToolHandle<L1TopoByteStreamTool> m_tool;
69
72
77
78}; // class L1TopoByteStreamCnv
79
80#endif // L1TOPOBYTESTREAM_L1TOPOBYTESTREAMCNV_H
Gaudi converter base class with const interfaces.
uint32_t CLID
The Class ID type.
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
L1TopoByteStreamCnv(ISvcLocator *svcloc)
Standard constructor.
virtual StatusCode initialize()
Function connecting to all the needed services/tools.
ServiceHandle< IByteStreamEventAccess > m_ByteStreamEventAccess
Service used when writing the BS data.
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Service used when reading the BS data.
static long storageType()
Function needed by the framework.
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const
Function creating the L1Topo ROB fragment from a L1TopoRDOCollection object.
L1TopoSrcIdMap * m_srcIdMap
Object storing the various IDs of the CTP fragment.
~L1TopoByteStreamCnv()
Standard destructor.
static const CLID & classID()
Function needed by the framework.
ToolHandle< L1TopoByteStreamTool > m_tool
Tool doing the actual conversion.
virtual long repSvcType() const
Function needed by the framework.
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const
Function creating the L1TopoRDOCollection object from a L1Topo ROB fragment.
This class provides conversion between Lower level Source ID to higher level source ID for L1Topo Byt...