ATLAS Offline Software
Loading...
Searching...
No Matches
LArDigitContByteStreamCnv.h
Go to the documentation of this file.
1//Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef LARBYTESTREAM_LARDIGITCONTRAWEVENTCNV_H
8#define LARBYTESTREAM_LARDIGITCONTRAWEVENTCNV_H
9
10#include <stdint.h>
11#include <map>
12#include <string>
16#include "GaudiKernel/ToolHandle.h"
17#include "GaudiKernel/ServiceHandle.h"
18
19class DataObject;
20class StatusCode;
21class IAddressCreator;
27
31
32// Abstract factory to create the converter
33template <class TYPE> class CnvFactory;
34
36{
37public:
38 LArDigitContByteStreamCnv(ISvcLocator* svcloc);
40
41
43
44 virtual StatusCode initialize() override;
45 virtual StatusCode createObjConst(IOpaqueAddress* pAddr, DataObject*& pObj) const override;
46 virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) const override;
47
49 virtual long repSvcType() const override { return i_repSvcType(); }
50 static long storageType() { return ByteStreamAddress::storageType(); }
51 static const CLID& classID();
52
53private:
54 ToolHandle<BYTESTREAMTOOL> m_tool ;
55 ToolHandle<LArLATOMEDecoder> m_scTool;
58};
59#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)
static constexpr long storageType()
Abstract factory to create the converter.
interface for bytestream conversion services
Interface class for managing ROB for both online and offline.
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
LArRawDataContByteStreamTool BYTESTREAMTOOL
virtual StatusCode initialize() override
ToolHandle< LArLATOMEDecoder > m_scTool
ServiceHandle< IROBDataProviderSvc > m_rdpSvc
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
ToolHandle< BYTESTREAMTOOL > m_tool
virtual long repSvcType() const override
Storage type and class ID.
LArDigitContByteStreamCnv(ISvcLocator *svcloc)
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
Container class for LArDigit.
An AlgTool class to help converting LAr raw data objects to/from ByteStream.