ATLAS Offline Software
Loading...
Searching...
No Matches
LArFebHeaderContByteStreamCnv.h
Go to the documentation of this file.
1//Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef LARBYTESTREAM_FEBHEADERCONTRAWEVENTCNV_H
8#define LARBYTESTREAM_FEBHEADERCONTRAWEVENTCNV_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;
26
30
31// Abstract factory to create the converter
32template <class TYPE> class CnvFactory;
33
35{
36 public:
37 LArFebHeaderContByteStreamCnv(ISvcLocator* svcloc);
38
40
41 virtual StatusCode initialize() override;
42 virtual StatusCode createObjConst(IOpaqueAddress* pAddr, DataObject*& pObj) const override;
43 virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) const override;
44
46 virtual long repSvcType() const override { return i_repSvcType(); }
47 static long storageType() { return ByteStreamAddress::storageType(); }
48 static const CLID& classID();
49
50private:
51 ToolHandle<BYTESTREAMTOOL> m_tool;
53};
54#endif
55
56
57
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()
Gaudi Conversion Service class for ByteStream Persistency.
Abstract factory to create the converter.
Interface class for managing ROB for both online and offline.
ServiceHandle< IROBDataProviderSvc > m_rdpSvc
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.
LArRawDataContByteStreamTool BYTESTREAMTOOL
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
Container class for LArFebHeader.
An AlgTool class to help converting LAr raw data objects to/from ByteStream.