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 
16 
17 // Local include(s):
19 #include "MuCTPISrcIdMap.h"
20 
21 
37 
38 public:
40  RecMuCTPIByteStreamCnv( 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< RecMuCTPIByteStreamTool > m_tool;
57 
60 
63 
64 }; // class RecMuCTPIByteStreamCnv
65 
66 #endif // TRIGT1RESULTBYTESTREAM_RECMUCTPIBYTESTREAMCNV_H
RecMuCTPIByteStreamCnv
ByteStream converter for the MuCTPI_RIO object.
Definition: RecMuCTPIByteStreamCnv.h:36
RecMuCTPIByteStreamCnv::m_srcIdMap
MuCTPISrcIdMap m_srcIdMap
Object storing the various IDs of the MuCTPI fragment.
Definition: RecMuCTPIByteStreamCnv.h:59
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:56
ROBDataProviderSvc.h
RecMuCTPIByteStreamCnv::repSvcType
virtual long repSvcType() const override
Function needed by the framework.
Definition: RecMuCTPIByteStreamCnv.h:48
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:62
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 >