ATLAS Offline Software
Loading...
Searching...
No Matches
LArAccumulatedCalibDigitContByteStreamCnv.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_LARACCUMULATEDCDIGITCONTRAWEVENTCNV_H
8#define LARBYTESTREAM_LARACCUMULATEDCDIGITCONTRAWEVENTCNV_H
9
10#include <stdint.h>
11#include <map>
12#include <string>
17#include "GaudiKernel/ToolHandle.h"
18#include "GaudiKernel/ServiceHandle.h"
19
20class DataObject;
21class StatusCode;
22class IAddressCreator;
28
32
33// Abstract factory to create the converter
34template <class TYPE> class CnvFactory;
35
37
38public:
41
42
44
45 virtual StatusCode initialize() override;
46 virtual StatusCode createObjConst(IOpaqueAddress* pAddr, DataObject*& pObj) const override;
47 virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) const override;
48
50 virtual long repSvcType() const override { return i_repSvcType(); }
51 static long storageType() { return ByteStreamAddress::storageType(); }
52 static const CLID& classID();
53
54private:
55 ToolHandle<BYTESTREAMTOOL> m_tool;
58};
59#endif
60
61
62
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.
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.
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibLineMappingKey
virtual long repSvcType() const override
Storage type and class ID.
Container class for LArAccumulatedCalibDigit.
An AlgTool class to help converting LAr raw data objects to/from ByteStream.