ATLAS Offline Software
RecMuCTPIByteStreamCnv.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_RECMUCTPIBYTESTREAMCNV_H
8 #define TRIGT1RESULTBYTESTREAM_RECMUCTPIBYTESTREAMCNV_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):
20 #include "MuCTPISrcIdMap.h"
21 
22 
38 
39 public:
41  RecMuCTPIByteStreamCnv( ISvcLocator* svcloc );
42 
44  virtual StatusCode initialize() override;
46  virtual StatusCode createObj( IOpaqueAddress* pAddr, DataObject*& pObj ) override;
47 
49  virtual long repSvcType() const override { return i_repSvcType(); }
51  static long storageType();
53  static const CLID& classID();
54 
55 private:
57  ToolHandle< RecMuCTPIByteStreamTool > m_tool;
58 
61 
64 
65 }; // class RecMuCTPIByteStreamCnv
66 
67 #endif // TRIGT1RESULTBYTESTREAM_RECMUCTPIBYTESTREAMCNV_H
RecMuCTPIByteStreamCnv
ByteStream converter for the MuCTPI_RIO object.
Definition: RecMuCTPIByteStreamCnv.h:37
RecMuCTPIByteStreamCnv::m_srcIdMap
MuCTPISrcIdMap m_srcIdMap
Object storing the various IDs of the MuCTPI fragment.
Definition: RecMuCTPIByteStreamCnv.h:60
RecMuCTPIByteStreamCnv::classID
static const CLID & classID()
Function needed by the framework.
Definition: RecMuCTPIByteStreamCnv.cxx:34
RecMuCTPIByteStreamCnv::m_tool
ToolHandle< RecMuCTPIByteStreamTool > m_tool
Tool doing the actual conversion.
Definition: RecMuCTPIByteStreamCnv.h:57
ROBDataProviderSvc.h
IByteStreamEventAccess.h
RecMuCTPIByteStreamCnv::repSvcType
virtual long repSvcType() const override
Function needed by the framework.
Definition: RecMuCTPIByteStreamCnv.h:49
RecMuCTPIByteStreamCnv::initialize
virtual StatusCode initialize() override
Function connecting to all the needed services/tools.
Definition: RecMuCTPIByteStreamCnv.cxx:47
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuCTPISrcIdMap
This class provides conversion between Lower level Source ID to higher level source ID for MuCTPI Byt...
Definition: MuCTPISrcIdMap.h:16
RecMuCTPIByteStreamCnv::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Service used when reading the BS data.
Definition: RecMuCTPIByteStreamCnv.h:63
RecMuCTPIByteStreamCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
Function creating the MuCTPI_RIO object from a MuCTPI ROB fragment.
Definition: RecMuCTPIByteStreamCnv.cxx:77
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
RecMuCTPIByteStreamCnv::storageType
static long storageType()
Function needed by the framework.
Definition: RecMuCTPIByteStreamCnv.cxx:40
RecMuCTPIByteStreamCnv::RecMuCTPIByteStreamCnv
RecMuCTPIByteStreamCnv(ISvcLocator *svcloc)
Standard constructor.
Definition: RecMuCTPIByteStreamCnv.cxx:23
Converter
Definition: Converter.h:27
MuCTPISrcIdMap.h
RecMuCTPIByteStreamTool.h
ServiceHandle< IROBDataProviderSvc >