ATLAS Offline Software
Loading...
Searching...
No Matches
LArLATOMEHeaderContByteStreamCnv.h
Go to the documentation of this file.
1//Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef LARBYTESTREAM_LARLATOMEHEADERCONTRAWEVENTCNV_H
8#define LARBYTESTREAM_LARLATOMEHEADERCONTRAWEVENTCNV_H
9
10#include <stdint.h>
11#include <map>
12#include <string>
13#include "GaudiKernel/ToolHandle.h"
14#include "GaudiKernel/ServiceHandle.h"
17
18
19class DataObject;
22
23
24// Abstract factory to create the converter
25template <class TYPE> class CnvFactory;
26
28
29public:
30 LArLATOMEHeaderContByteStreamCnv(ISvcLocator* svcloc);
32
33 virtual StatusCode initialize() override;
34 virtual StatusCode createObjConst(IOpaqueAddress* pAddr, DataObject*& pObj) const override;
35 virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) const override;
36
38 virtual long repSvcType() const override { return i_repSvcType(); }
39 static long storageType() { return ByteStreamAddress::storageType(); }
40 static const CLID& classID();
41
42private:
43 ToolHandle<LArLATOMEDecoder> m_scTool;
45};
46#endif
47
48
49
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 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.
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
virtual long repSvcType() const override
Storage type and class ID.
ServiceHandle< IROBDataProviderSvc > m_rdpSvc