ATLAS Offline Software
Loading...
Searching...
No Matches
CpReadByteStreamV2Cnv.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_CPREADBYTESTREAMV2CNV_H
6#define TRIGT1CALOBYTESTREAM_CPREADBYTESTREAMV2CNV_H
7
8#include <string>
9
11#include "GaudiKernel/ClassID.h"
12#include "GaudiKernel/ServiceHandle.h"
13#include "GaudiKernel/ToolHandle.h"
14
15class DataObject;
16class IOpaqueAddress;
18class ISvcLocator;
19class StatusCode;
20
21template <typename> class CnvFactory;
22
23
24namespace LVL1BS {
25
27
32
33template <typename Container>
35public:
36 CpReadByteStreamV2Cnv(ISvcLocator* svcloc);
37
39
40 virtual StatusCode initialize() override;
42 virtual StatusCode createObjConst(IOpaqueAddress* pAddr, DataObject*& pObj) const override;
43
44 // Storage type and class ID
45 virtual long repSvcType() const override { return i_repSvcType(); }
46 static long storageType();
47 static const CLID& classID();
48
49private:
51 ToolHandle<LVL1BS::CpByteStreamV2Tool> m_tool;
52
55};
56
57} // end namespace
58
60
61#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.
Interface class for managing ROB for both online and offline.
Tool to perform ROB fragments to CPM towers, CMX-CP TOBs and CMX-CP hits, and CP container to raw dat...
virtual StatusCode initialize() override
static const CLID & classID()
CpReadByteStreamV2Cnv(ISvcLocator *svcloc)
virtual long repSvcType() const override
ToolHandle< LVL1BS::CpByteStreamV2Tool > m_tool
Tool that does the actual work.
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Service for reading bytestream.
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create Container from ByteStream.