ATLAS Offline Software
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>
14 #include "ByteStreamData/RawEvent.h"
17 #include "GaudiKernel/ToolHandle.h"
18 #include "GaudiKernel/ServiceHandle.h"
19 
20 class DataObject;
21 class StatusCode;
22 class IAddressCreator;
25 class IROBDataProviderSvc;
26 class ByteStreamCnvSvc;
28 
33 // Abstract factory to create the converter
34 template <class TYPE> class CnvFactory;
35 
37 
38 public:
39  LArAccumulatedCalibDigitContByteStreamCnv(ISvcLocator* svcloc);
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 
54 private:
55  ToolHandle<BYTESTREAMTOOL> m_tool;
58 };
59 #endif
60 
61 
62 
LArAccumulatedCalibDigitContByteStreamCnv::m_calibLineMappingKey
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibLineMappingKey
Definition: LArAccumulatedCalibDigitContByteStreamCnv.h:57
LArAccumulatedCalibDigitContByteStreamCnv::classID
static const CLID & classID()
Definition: LArAccumulatedCalibDigitContByteStreamCnv.cxx:43
LArAccumulatedCalibDigitContByteStreamCnv::initialize
virtual StatusCode initialize() override
Definition: LArAccumulatedCalibDigitContByteStreamCnv.cxx:52
LArCalibLineMapping
Definition: LArCalibLineMapping.h:17
LArAccumulatedCalibDigitContByteStreamCnv::repSvcType
virtual long repSvcType() const override
Storage type and class ID.
Definition: LArAccumulatedCalibDigitContByteStreamCnv.h:50
AthConstConverter
Gaudi converter base class with const interfaces.
Definition: AthConstConverter.h:33
LArAccumulatedCalibDigitContByteStreamCnv::LArAccumulatedCalibDigitContByteStreamCnv
LArAccumulatedCalibDigitContByteStreamCnv(ISvcLocator *svcloc)
Definition: LArAccumulatedCalibDigitContByteStreamCnv.cxx:36
LArAccumulatedCalibDigitContByteStreamCnv::storageType
static long storageType()
Definition: LArAccumulatedCalibDigitContByteStreamCnv.h:51
IROBDataProviderSvc
Interface class for managing ROB for both online and offline.
Definition: IROBDataProviderSvc.h:23
ByteStreamCnvSvc
Gaudi Conversion Service class for ByteStream Persistency.
Definition: ByteStreamCnvSvc.h:37
RawEvent.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthConstConverter.h
Gaudi converter base class with const interfaces.
LArAccumulatedCalibDigitContByteStreamCnv::createRepConst
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
Definition: LArAccumulatedCalibDigitContByteStreamCnv.cxx:115
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
ByteStreamAddress.h
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
ReadCondHandleKey.h
LArAccumulatedCalibDigitContByteStreamCnv::~LArAccumulatedCalibDigitContByteStreamCnv
virtual ~LArAccumulatedCalibDigitContByteStreamCnv()
Definition: LArAccumulatedCalibDigitContByteStreamCnv.cxx:47
ByteStreamAddress::storageType
static constexpr long storageType()
Definition: ByteStreamAddress.h:51
LArRawDataContByteStreamTool
An AlgTool class to help converting LAr raw data objects to/from ByteStream.
Definition: LArRawDataContByteStreamTool.h:48
SG::ReadCondHandleKey< LArCalibLineMapping >
LArAccumulatedCalibDigitContByteStreamCnv::createObjConst
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
Definition: LArAccumulatedCalibDigitContByteStreamCnv.cxx:67
LArAccumulatedCalibDigitContByteStreamCnv
Definition: LArAccumulatedCalibDigitContByteStreamCnv.h:36
LArAccumulatedCalibDigitContByteStreamCnv::m_rdpSvc
ServiceHandle< IROBDataProviderSvc > m_rdpSvc
Definition: LArAccumulatedCalibDigitContByteStreamCnv.h:56
LArAccumulatedCalibDigitContainer
Container class for LArAccumulatedCalibDigit.
Definition: LArAccumulatedCalibDigitContainer.h:25
LArAccumulatedCalibDigitContByteStreamCnv::BYTESTREAMTOOL
LArRawDataContByteStreamTool BYTESTREAMTOOL
Definition: LArAccumulatedCalibDigitContByteStreamCnv.h:43
ServiceHandle< IROBDataProviderSvc >
LArAccumulatedCalibDigitContByteStreamCnv::m_tool
ToolHandle< BYTESTREAMTOOL > m_tool
Definition: LArAccumulatedCalibDigitContByteStreamCnv.h:55