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;
19 class IOpaqueAddress;
21 class ISvcLocator;
22 class StatusCode;
23 
24 template <typename>
25 class CnvFactory;
26 
28 
29 namespace LVL1BS {
30 
37 
38 public:
39  L1TopoByteStreamAuxCnv(ISvcLocator* svcloc);
40 
41  public:
43 
44  virtual StatusCode initialize();
46  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
48  virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr);
49 
50  // Storage type and class ID
51  virtual long repSvcType() const { return i_repSvcType(); }
52  static long storageType();
53 
54  static const CLID& classID();
55 
56  private:
58  std::string m_name;
59 
61  ToolHandle<L1TopoByteStreamTool> m_readTool;
62 };
63 
64 } // end namespace
65 #endif
LVL1BS::L1TopoByteStreamAuxCnv::m_name
std::string m_name
Converter name.
Definition: L1TopoByteStreamAuxCnv.h:58
LVL1BS::L1TopoByteStreamAuxCnv::repSvcType
virtual long repSvcType() const
Definition: L1TopoByteStreamAuxCnv.h:51
LVL1BS::L1TopoByteStreamAuxCnv::m_readTool
ToolHandle< L1TopoByteStreamTool > m_readTool
Do the main job - retrieve xAOD Topo from robs.
Definition: L1TopoByteStreamAuxCnv.h:61
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:36
LVL1BS::L1TopoByteStreamAuxCnv::storageType
static long storageType()
Definition: L1TopoByteStreamAuxCnv.cxx:62
LVL1BS::L1TopoByteStreamAuxCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
Definition: L1TopoByteStreamAuxCnv.cxx:78
IROBDataProviderSvc
Interface class for managing ROB for both online and offline.
Definition: IROBDataProviderSvc.h:23
LVL1BS::L1TopoByteStreamAuxCnv::L1TopoByteStreamAuxCnv
L1TopoByteStreamAuxCnv(ISvcLocator *svcloc)
Definition: L1TopoByteStreamAuxCnv.cxx:52
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: ZdcModifySlices.h:10
LVL1BS::L1TopoByteStreamAuxCnv::~L1TopoByteStreamAuxCnv
virtual ~L1TopoByteStreamAuxCnv()
Definition: L1TopoByteStreamAuxCnv.h:42
LVL1BS::L1TopoByteStreamAuxCnv::initialize
virtual StatusCode initialize()
Definition: L1TopoByteStreamAuxCnv.cxx:68
LVL1BS::L1TopoByteStreamAuxCnv::createRep
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
Definition: L1TopoByteStreamAuxCnv.cxx:116
LVL1BS::L1TopoByteStreamAuxCnv::classID
static const CLID & classID()
Definition: L1TopoByteStreamAuxCnv.cxx:58