ATLAS Offline Software
L1TopoByteStreamAuxCnv.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_L1TOPOBYTESTREAMAUXCNV_H
6 #define TRIGT1CALOBYTESTREAM_L1TOPOBYTESTREAMAUXCNV_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;
20 class IOpaqueAddress;
22 class ISvcLocator;
23 class StatusCode;
24 
25 template <typename>
26 class CnvFactory;
27 
29 
30 namespace LVL1BS {
31 
38 
39 public:
40  L1TopoByteStreamAuxCnv(ISvcLocator* svcloc);
41 
42  public:
44 
45  virtual StatusCode initialize();
47  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
49  virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr);
50 
51  // Storage type and class ID
52  virtual long repSvcType() const { return i_repSvcType(); }
53  static long storageType();
54 
55  static const CLID& classID();
56 
57  private:
59  std::string m_name;
60 
62  ToolHandle<L1TopoByteStreamTool> m_readTool;
63 };
64 
65 } // end namespace
66 #endif
LVL1BS::L1TopoByteStreamAuxCnv::m_name
std::string m_name
Converter name.
Definition: L1TopoByteStreamAuxCnv.h:59
LVL1BS::L1TopoByteStreamAuxCnv::repSvcType
virtual long repSvcType() const
Definition: L1TopoByteStreamAuxCnv.h:52
IByteStreamEventAccess
interface for accessing raw data .
Definition: IByteStreamEventAccess.h:17
LVL1BS::L1TopoByteStreamAuxCnv::m_readTool
ToolHandle< L1TopoByteStreamTool > m_readTool
Do the main job - retrieve xAOD Topo from robs.
Definition: L1TopoByteStreamAuxCnv.h:62
L1TopoByteStreamTool
Tool doing the L1TopoRDO <-> ByteStream conversion.
Definition: L1TopoByteStreamTool.h:36
LVL1BS::L1TopoByteStreamAuxCnv
ByteStream converter for Pre-processor Module DAQ data / TriggerTowers.
Definition: L1TopoByteStreamAuxCnv.h:37
LVL1BS::L1TopoByteStreamAuxCnv::storageType
static long storageType()
Definition: L1TopoByteStreamAuxCnv.cxx:63
LVL1BS::L1TopoByteStreamAuxCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
Definition: L1TopoByteStreamAuxCnv.cxx:79
IROBDataProviderSvc
Interface class for managing ROB for both online and offline.
Definition: IROBDataProviderSvc.h:25
LVL1BS::L1TopoByteStreamAuxCnv::L1TopoByteStreamAuxCnv
L1TopoByteStreamAuxCnv(ISvcLocator *svcloc)
Definition: L1TopoByteStreamAuxCnv.cxx:53
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
Converter
Definition: Converter.h:27
AthMessaging.h
LVL1BS
Definition: ZdcByteStreamReadV1V2Tool.h:47
LVL1BS::L1TopoByteStreamAuxCnv::~L1TopoByteStreamAuxCnv
virtual ~L1TopoByteStreamAuxCnv()
Definition: L1TopoByteStreamAuxCnv.h:43
LVL1BS::L1TopoByteStreamAuxCnv::initialize
virtual StatusCode initialize()
Definition: L1TopoByteStreamAuxCnv.cxx:69
LVL1BS::L1TopoByteStreamAuxCnv::createRep
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
Definition: L1TopoByteStreamAuxCnv.cxx:117
LVL1BS::L1TopoByteStreamAuxCnv::classID
static const CLID & classID()
Definition: L1TopoByteStreamAuxCnv.cxx:59