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 
16 
17 // Local include(s):
18 #include "RecCTPByteStreamTool.h"
19 #include "CTPSrcIdMap.h"
20 
21 
36 
37 public:
39  RecCTPByteStreamCnv(ISvcLocator* svcloc);
40 
42  virtual StatusCode initialize() override;
44  virtual StatusCode createObj( IOpaqueAddress* pAddr, DataObject*& pObj ) override;
45 
47  virtual long repSvcType() const override { return i_repSvcType(); }
49  static long storageType();
51  static const CLID& classID();
52 
53 private:
55  ToolHandle< RecCTPByteStreamTool > m_tool;
56 
59 
62 
63 }; // class RecCTPByteStreamCnv
64 
65 #endif // TRIGT1RESULTBYTESTREAM_MUCTPIBYTESTREAMCNV_H
RecCTPByteStreamCnv::m_tool
ToolHandle< RecCTPByteStreamTool > m_tool
Tool doing the actual conversion.
Definition: RecCTPByteStreamCnv.h:55
RecCTPByteStreamCnv::repSvcType
virtual long repSvcType() const override
Function needed by the framework.
Definition: RecCTPByteStreamCnv.h:47
RecCTPByteStreamCnv::storageType
static long storageType()
Function needed by the framework.
Definition: RecCTPByteStreamCnv.cxx:41
ROBDataProviderSvc.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:61
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:58
RecCTPByteStreamCnv
ByteStream converter for the CTP_RIO object.
Definition: RecCTPByteStreamCnv.h:35
ServiceHandle< IROBDataProviderSvc >