ATLAS Offline Software
Loading...
Searching...
No Matches
L1CaloErrorByteStreamCnv.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGT1CALOBYTESTREAM_L1CALOERRORBYTESTREAMCNV_H
6#define TRIGT1CALOBYTESTREAM_L1CALOERRORBYTESTREAMCNV_H
7
8#include <string>
9
11#include "GaudiKernel/ClassID.h"
12#include "GaudiKernel/ToolHandle.h"
13
14class DataObject;
15class IOpaqueAddress;
16class ISvcLocator;
17class StatusCode;
18
19template <typename> class CnvFactory;
20
21
22namespace LVL1BS {
23
25
30
32
33public:
34 L1CaloErrorByteStreamCnv(ISvcLocator* svcloc);
35
37
38 virtual StatusCode initialize() override;
40 virtual StatusCode createObjConst (IOpaqueAddress* pAddr, DataObject*& pObj) const override;
41
42 // Storage type and class ID
43 virtual long repSvcType() const override { return i_repSvcType(); }
44 static long storageType();
45 static const CLID& classID();
46
47private:
49 ToolHandle<LVL1BS::L1CaloErrorByteStreamTool> m_tool;
50};
51
52} // end namespace
53
54#endif
Gaudi converter base class with const interfaces.
uint32_t CLID
The Class ID type.
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
Abstract factory to create the converter.
virtual long repSvcType() const override
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create error vector from ByteStream.
ToolHandle< LVL1BS::L1CaloErrorByteStreamTool > m_tool
Tool that does the actual work.
virtual StatusCode initialize() override
Tool to accumulate ROB/ROD unpacking errors.