ATLAS Offline Software
PixelRDO_ContainerCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PIXELRDO_CONTAINERCNV_H
6 #define PIXELRDO_CONTAINERCNV_H
7 
9 
11 
13 
14 #include "StoreGate/StoreGateSvc.h"
15 
19 
20 // the latest persistent representation type of DataCollection:
23 
25 
27  friend class CnvFactory<PixelRDO_ContainerCnv >;
28 
29  // Converters need to be initialized (use ID helpers)
30  // Thus they can't be local
35 
36 public:
37  PixelRDO_ContainerCnv (ISvcLocator* svcloc)
38  : PixelRDO_ContainerCnvBase(svcloc, "PixelRDO_ContainerCnv"),
40  {}
41 protected:
42  virtual PixelRDO_Container_PERS* createPersistent (PixelRDO_Container* transCont) override;
43  virtual PixelRDO_Container* createTransient () override;
44 
45  // Must initialize ID helpers
46  virtual StatusCode initialize() override;
47 };
48 
49 #endif
PixelRDO_ContainerCnv::initialize
virtual StatusCode initialize() override
Gaudi Service Interface method implementations:
Definition: PixelRDO_ContainerCnv.cxx:37
PixelRDO_ContainerCnv_PERS
Pixel1RawDataContainerCnv_p2 PixelRDO_ContainerCnv_PERS
Definition: PixelRDO_ContainerCnv.h:22
PixelRDO_ContainerCnv_p0
Definition: PixelRDO_ContainerCnv_p0.h:19
PixelRDO_ContainerCnv::m_converter_PERS
PixelRDO_ContainerCnv_PERS m_converter_PERS
Definition: PixelRDO_ContainerCnv.h:34
InDetRawDataContainer_p2
Definition: InDetRawDataContainer_p2.h:31
InDetRawDataContainer
Definition: InDetRawDataContainer.h:27
PixelRDO_ContainerCnvBase
T_AthenaPoolCustomCnv< PixelRDO_Container, PixelRDO_Container_PERS > PixelRDO_ContainerCnvBase
Definition: PixelRDO_ContainerCnv.h:24
Pixel1RawDataContainerCnv_p1
Definition: Pixel1RawDataContainerCnv_p1.h:26
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition: T_AthenaPoolCustomCnv.h:132
PixelRDO_Collection.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PixelRDO_ContainerCnv::m_converter_TP1
Pixel1RawDataContainerCnv_p1 m_converter_TP1
Definition: PixelRDO_ContainerCnv.h:32
Pixel1RawDataContainerCnv_p1.h
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
Pixel1RawDataContainerCnv_p2
Definition: Pixel1RawDataContainerCnv_p2.h:26
Pixel1RawDataContainerCnv_p2.h
PixelRDO_ContainerCnv::m_converter_TP2
Pixel1RawDataContainerCnv_p2 m_converter_TP2
Definition: PixelRDO_ContainerCnv.h:33
PixelRDO_ContainerCnv::PixelRDO_ContainerCnv
PixelRDO_ContainerCnv(ISvcLocator *svcloc)
Definition: PixelRDO_ContainerCnv.h:37
PixelRDO_Container.h
PixelRDO_ContainerCnv::createTransient
virtual PixelRDO_Container * createTransient() override
Definition: PixelRDO_ContainerCnv.cxx:97
PixelRDO_Container_PERS
InDetRawDataContainer_p2 PixelRDO_Container_PERS
Definition: PixelRDO_ContainerCnv.h:21
PixelRDO_ContainerCnv::createPersistent
virtual PixelRDO_Container_PERS * createPersistent(PixelRDO_Container *transCont) override
Definition: PixelRDO_ContainerCnv.cxx:56
PixelRDO_ContainerCnv::m_converter_p0
PixelRDO_ContainerCnv_p0 m_converter_p0
Definition: PixelRDO_ContainerCnv.h:31
PixelRDO_ContainerCnv
Definition: PixelRDO_ContainerCnv.h:26
StoreGateSvc.h
PixelRDO_ContainerCnv_p0.h