ATLAS Offline Software
L1TopoByteStreamxAODCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT1CALOBYTESTREAM_L1TOPOBYTESTREAMXAODCNV_H
6 #define TRIGT1CALOBYTESTREAM_L1TOPOBYTESTREAMXAODCNV_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>
24 class CnvFactory;
25 class StoreGateSvc;
26 
27 namespace LVL1BS {
34 
35 public:
36  L1TopoByteStreamxAODCnv(ISvcLocator* svcloc);
37 
38  public:
40 
41  virtual StatusCode initialize();
43  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
45  virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr);
46 
47  // Storage type and class ID
48  virtual long repSvcType() const { return i_repSvcType(); }
49  static long storageType();
50 
51  static const CLID& classID();
52 
53  private:
55  std::string m_name;
56 };
57 
58 } // end namespace
59 
60 #endif
LVL1BS::L1TopoByteStreamxAODCnv::repSvcType
virtual long repSvcType() const
Definition: L1TopoByteStreamxAODCnv.h:48
LVL1BS::L1TopoByteStreamxAODCnv::createRep
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
Definition: L1TopoByteStreamxAODCnv.cxx:91
LVL1BS::L1TopoByteStreamxAODCnv::L1TopoByteStreamxAODCnv
L1TopoByteStreamxAODCnv(ISvcLocator *svcloc)
Definition: L1TopoByteStreamxAODCnv.cxx:32
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
LVL1BS::L1TopoByteStreamxAODCnv::initialize
virtual StatusCode initialize()
Definition: L1TopoByteStreamxAODCnv.cxx:49
LVL1BS::L1TopoByteStreamxAODCnv::~L1TopoByteStreamxAODCnv
virtual ~L1TopoByteStreamxAODCnv()
Definition: L1TopoByteStreamxAODCnv.h:39
LVL1BS::L1TopoByteStreamxAODCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
Definition: L1TopoByteStreamxAODCnv.cxx:58
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::L1TopoByteStreamxAODCnv::classID
static const CLID & classID()
Definition: L1TopoByteStreamxAODCnv.cxx:39
Converter
Definition: Converter.h:27
LVL1BS::L1TopoByteStreamxAODCnv::m_name
std::string m_name
Converter name.
Definition: L1TopoByteStreamxAODCnv.h:55
AthMessaging.h
LVL1BS
Definition: ZdcModifySlices.h:10
LVL1BS::L1TopoByteStreamxAODCnv
ByteStream converter for CmxTob.
Definition: L1TopoByteStreamxAODCnv.h:33
LVL1BS::L1TopoByteStreamxAODCnv::storageType
static long storageType()
Definition: L1TopoByteStreamxAODCnv.cxx:43