ATLAS Offline Software
Loading...
Searching...
No Matches
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
18class DataObject;
19class IOpaqueAddress;
21class ISvcLocator;
22class StatusCode;
23
24template <typename>
25class CnvFactory;
26
28
29namespace LVL1BS {
30
35
37
38public:
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
uint32_t CLID
The Class ID type.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Abstract factory to create the converter.
Interface class for managing ROB for both online and offline.
Tool doing the L1TopoRDO <-> ByteStream conversion.
std::string m_name
Converter name.
ToolHandle< L1TopoByteStreamTool > m_readTool
Do the main job - retrieve xAOD Topo from robs.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.