ATLAS Offline Software
JepRoiByteStreamV2Cnv.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_JEPROIBYTESTREAMV2CNV_H
6 #define TRIGT1CALOBYTESTREAM_JEPROIBYTESTREAMV2CNV_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;
17 class ISvcLocator;
18 class StatusCode;
19 
20 template <typename> class CnvFactory;
21 
22 
23 namespace LVL1BS {
24 
25 class JepRoiByteStreamV2Tool;
26 
33 public:
34  JepRoiByteStreamV2Cnv(ISvcLocator* svcloc);
35 
36  virtual ~JepRoiByteStreamV2Cnv();
37 
38  virtual StatusCode initialize() override;
40  virtual StatusCode createRepConst (DataObject* pObj, IOpaqueAddress*& pAddr) const override;
41 
42  // Storage type and class ID
43  virtual long repSvcType() const override { return i_repSvcType(); }
44  static long storageType();
45  static const CLID& classID();
46 
47 private:
49  ToolHandle<LVL1BS::JepRoiByteStreamV2Tool> m_tool;
50 };
51 
52 } // end namespace
53 
54 #endif
LVL1BS::JepRoiByteStreamV2Cnv::JepRoiByteStreamV2Cnv
JepRoiByteStreamV2Cnv(ISvcLocator *svcloc)
Definition: JepRoiByteStreamV2Cnv.cxx:32
LVL1BS::JepRoiByteStreamV2Cnv::initialize
virtual StatusCode initialize() override
Definition: JepRoiByteStreamV2Cnv.cxx:57
AthConstConverter
Gaudi converter base class with const interfaces.
Definition: AthConstConverter.h:33
LVL1BS::JepRoiByteStreamV2Cnv::createRepConst
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Create ByteStream from JEP Container.
Definition: JepRoiByteStreamV2Cnv.cxx:67
LVL1BS::JepRoiByteStreamV2Cnv::m_tool
ToolHandle< LVL1BS::JepRoiByteStreamV2Tool > m_tool
Tool that does the actual work.
Definition: JepRoiByteStreamV2Cnv.h:49
LVL1BS::JepRoiByteStreamV2Cnv::storageType
static long storageType()
Definition: JepRoiByteStreamV2Cnv.cxx:49
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.
LVL1BS::JepRoiByteStreamV2Cnv
ByteStream converter for JEP RoI container post LS1.
Definition: JepRoiByteStreamV2Cnv.h:32
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::JepRoiByteStreamV2Cnv::~JepRoiByteStreamV2Cnv
virtual ~JepRoiByteStreamV2Cnv()
Definition: JepRoiByteStreamV2Cnv.cxx:38
LVL1BS::JepRoiByteStreamV2Cnv::classID
static const CLID & classID()
Definition: JepRoiByteStreamV2Cnv.cxx:44
LVL1BS::JepRoiByteStreamV2Cnv::repSvcType
virtual long repSvcType() const override
Definition: JepRoiByteStreamV2Cnv.h:43
LVL1BS
Definition: ZdcModifySlices.h:10