ATLAS Offline Software
JemTobRoiByteStreamxAODCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT1CALOBYTESTREAM_JEMTOBROIBYTESTREAMXAODCNV_H
6 #define TRIGT1CALOBYTESTREAM_JEMTOBROIBYTESTREAMXAODCNV_H
7 
8 #include <string>
9 
10 #include "GaudiKernel/ClassID.h"
11 #include "GaudiKernel/Converter.h"
12 #include "GaudiKernel/MsgStream.h"
13 #include "GaudiKernel/ServiceHandle.h"
14 #include "GaudiKernel/ToolHandle.h"
15 
17 
18 class DataObject;
19 class IOpaqueAddress;
20 class ISvcLocator;
21 class StatusCode;
22 
23 template <typename> class CnvFactory;
24 class StoreGateSvc;
25 
26 namespace LVL1BS {
33 
34 public:
35  JemTobRoiByteStreamxAODCnv(ISvcLocator* svcloc);
36 
38 
39  virtual StatusCode initialize();
41  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
43  virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr);
44 
45  // Storage type and class ID
46  virtual long repSvcType() const { return i_repSvcType(); }
47  static long storageType();
48 
49  static const CLID& classID();
50 
51 private:
53  std::string m_name;
54 };
55 
56 } // end namespace
57 
58 #endif
LVL1BS::JemTobRoiByteStreamxAODCnv::m_name
std::string m_name
Converter name.
Definition: JemTobRoiByteStreamxAODCnv.h:53
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
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::JemTobRoiByteStreamxAODCnv
ByteStream converter for CmxTob.
Definition: JemTobRoiByteStreamxAODCnv.h:32
Converter
Definition: Converter.h:27
LVL1BS::JemTobRoiByteStreamxAODCnv::storageType
static long storageType()
Definition: JemTobRoiByteStreamxAODCnv.cxx:48
LVL1BS::JemTobRoiByteStreamxAODCnv::initialize
virtual StatusCode initialize()
Definition: JemTobRoiByteStreamxAODCnv.cxx:56
LVL1BS::JemTobRoiByteStreamxAODCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
Definition: JemTobRoiByteStreamxAODCnv.cxx:66
AthMessaging.h
LVL1BS::JemTobRoiByteStreamxAODCnv::~JemTobRoiByteStreamxAODCnv
virtual ~JemTobRoiByteStreamxAODCnv()
Definition: JemTobRoiByteStreamxAODCnv.h:37
LVL1BS
Definition: ZdcByteStreamReadV1V2Tool.h:47
LVL1BS::JemTobRoiByteStreamxAODCnv::repSvcType
virtual long repSvcType() const
Definition: JemTobRoiByteStreamxAODCnv.h:46
LVL1BS::JemTobRoiByteStreamxAODCnv::classID
static const CLID & classID()
Definition: JemTobRoiByteStreamxAODCnv.cxx:44
LVL1BS::JemTobRoiByteStreamxAODCnv::JemTobRoiByteStreamxAODCnv
JemTobRoiByteStreamxAODCnv(ISvcLocator *svcloc)
Definition: JemTobRoiByteStreamxAODCnv.cxx:34
LVL1BS::JemTobRoiByteStreamxAODCnv::createRep
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
Definition: JemTobRoiByteStreamxAODCnv.cxx:97