ATLAS Offline Software
JepRoiReadByteStreamV2Cnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT1CALOBYTESTREAM_JEPROIREADBYTESTREAMV2CNV_H
6 #define TRIGT1CALOBYTESTREAM_JEPROIREADBYTESTREAMV2CNV_H
7 
8 #include <string>
9 
11 #include "GaudiKernel/ClassID.h"
12 #include "GaudiKernel/ServiceHandle.h"
13 #include "GaudiKernel/ToolHandle.h"
14 
15 class DataObject;
16 class IOpaqueAddress;
18 class ISvcLocator;
19 class StatusCode;
20 
21 template <typename> class CnvFactory;
22 
23 
24 namespace LVL1BS {
25 
26 class JepRoiByteStreamV2Tool;
27 
33 template <typename Container>
35 public:
36  JepRoiReadByteStreamV2Cnv(ISvcLocator* svcloc);
37 
39 
40  virtual StatusCode initialize() override;
42  virtual StatusCode createObjConst (IOpaqueAddress* pAddr, DataObject*& pObj) const override;
43 
44  // Storage type and class ID
45  virtual long repSvcType() const override { return i_repSvcType(); }
46  static long storageType();
47  static const CLID& classID();
48 
49 private:
51  ToolHandle<LVL1BS::JepRoiByteStreamV2Tool> m_tool;
52 
55 };
56 
57 } // end namespace
58 
60 
61 #endif
LVL1BS::JepRoiReadByteStreamV2Cnv::initialize
virtual StatusCode initialize() override
LVL1BS::JepRoiReadByteStreamV2Cnv::repSvcType
virtual long repSvcType() const override
Definition: JepRoiReadByteStreamV2Cnv.h:45
LVL1BS::JepRoiReadByteStreamV2Cnv::classID
static const CLID & classID()
LVL1BS::JepRoiReadByteStreamV2Cnv::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Service for reading bytestream.
Definition: JepRoiReadByteStreamV2Cnv.h:54
LVL1BS::JepRoiReadByteStreamV2Cnv::storageType
static long storageType()
AthConstConverter
Gaudi converter base class with const interfaces.
Definition: AthConstConverter.h:33
LVL1BS::JepRoiReadByteStreamV2Cnv::m_tool
ToolHandle< LVL1BS::JepRoiByteStreamV2Tool > m_tool
Tool that does the actual work.
Definition: JepRoiReadByteStreamV2Cnv.h:51
LVL1BS::JepRoiReadByteStreamV2Cnv::JepRoiReadByteStreamV2Cnv
JepRoiReadByteStreamV2Cnv(ISvcLocator *svcloc)
LVL1BS::JepRoiReadByteStreamV2Cnv::~JepRoiReadByteStreamV2Cnv
virtual ~JepRoiReadByteStreamV2Cnv()
IROBDataProviderSvc
Interface class for managing ROB for both online and offline.
Definition: IROBDataProviderSvc.h:23
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthConstConverter.h
Gaudi converter base class with const interfaces.
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
LVL1BS
Definition: ZdcModifySlices.h:10
JepRoiReadByteStreamV2Cnv.icc
LVL1BS::JepRoiReadByteStreamV2Cnv
ByteStream converter for JEP component containers post LS1.
Definition: JepRoiReadByteStreamV2Cnv.h:34
LVL1BS::JepRoiReadByteStreamV2Cnv::createObjConst
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create Container from ByteStream.
ServiceHandle< IROBDataProviderSvc >