ATLAS Offline Software
RecCTPByteStreamCnv.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef TRIGT1RESULTBYTESTREAM_RECCTPBYTESTREAMCNV_H
8 #define TRIGT1RESULTBYTESTREAM_RECCTPBYTESTREAMCNV_H
9 
10 // Gaudi/Athena include(s):
11 #include "GaudiKernel/Converter.h"
12 #include "GaudiKernel/ServiceHandle.h"
13 #include "GaudiKernel/ToolHandle.h"
14 
17 
18 // Local include(s):
19 #include "RecCTPByteStreamTool.h"
20 #include "CTPSrcIdMap.h"
21 
22 
37 
38 public:
40  RecCTPByteStreamCnv(ISvcLocator* svcloc);
41 
43  virtual StatusCode initialize() override;
45  virtual StatusCode createObj( IOpaqueAddress* pAddr, DataObject*& pObj ) override;
46 
48  virtual long repSvcType() const override { return i_repSvcType(); }
50  static long storageType();
52  static const CLID& classID();
53 
54 private:
56  ToolHandle< RecCTPByteStreamTool > m_tool;
57 
60 
63 
64 }; // class RecCTPByteStreamCnv
65 
66 #endif // TRIGT1RESULTBYTESTREAM_MUCTPIBYTESTREAMCNV_H
RecCTPByteStreamCnv::m_tool
ToolHandle< RecCTPByteStreamTool > m_tool
Tool doing the actual conversion.
Definition: RecCTPByteStreamCnv.h:56
RecCTPByteStreamCnv::repSvcType
virtual long repSvcType() const override
Function needed by the framework.
Definition: RecCTPByteStreamCnv.h:48
RecCTPByteStreamCnv::storageType
static long storageType()
Function needed by the framework.
Definition: RecCTPByteStreamCnv.cxx:41
ROBDataProviderSvc.h
IByteStreamEventAccess.h
RecCTPByteStreamCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
Function creating the CTP_RIO object from a CTP ROB fragment.
Definition: RecCTPByteStreamCnv.cxx:78
RecCTPByteStreamCnv::classID
static const CLID & classID()
Function needed by the framework.
Definition: RecCTPByteStreamCnv.cxx:35
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
RecCTPByteStreamCnv::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Service used when reading the BS data.
Definition: RecCTPByteStreamCnv.h:62
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
RecCTPByteStreamCnv::initialize
virtual StatusCode initialize() override
Function connecting to all the needed services/tools.
Definition: RecCTPByteStreamCnv.cxx:48
RecCTPByteStreamTool.h
CTPSrcIdMap.h
Converter
Definition: Converter.h:27
RecCTPByteStreamCnv::RecCTPByteStreamCnv
RecCTPByteStreamCnv(ISvcLocator *svcloc)
Standard constructor.
Definition: RecCTPByteStreamCnv.cxx:24
CTPSrcIdMap
This class provides conversion between Lower level Source ID to higher level source ID for CTP ByteSt...
Definition: CTPSrcIdMap.h:16
RecCTPByteStreamCnv::m_srcIdMap
CTPSrcIdMap m_srcIdMap
Object storing the various IDs of the CTP fragment.
Definition: RecCTPByteStreamCnv.h:59
RecCTPByteStreamCnv
ByteStream converter for the CTP_RIO object.
Definition: RecCTPByteStreamCnv.h:36
ServiceHandle< IROBDataProviderSvc >