ATLAS Offline Software
HGTD_RDO_ContainerCnv_p1.h
Go to the documentation of this file.
1 
10 #ifndef HGTD_EVENTTPCNV_HGTD_RDO_CONTAINERCNV_P1_H
11 #define HGTD_EVENTTPCNV_HGTD_RDO_CONTAINERCNV_P1_H
12 
16 
17 class HGTD_ID;
18 class StoreGateSvc;
19 
21  : public T_AthenaPoolTPCnvBase<HGTD_RDO_Container,
22  HGTD_RDO_Container_p1> {
23 
24 public:
27 
29 
30  virtual void persToTrans(const Pers_t* persistent_container,
31  Trans_t* transient_container, MsgStream& log);
32  virtual void transToPers(const Trans_t* transient_container,
33  Pers_t* persistent_container, MsgStream& log);
34 
35  virtual Trans_t* createTransient(const Pers_t* persistent_container,
36  MsgStream& log);
37 
38 private:
39  StatusCode initialize(MsgStream& log);
40 
41  const HGTD_ID* m_hgtd_idhelper{nullptr};
42 
43  bool m_is_initialized{false};
44 };
45 
46 #endif // HGTD_EVENTTPCNV_HGTD_RDO_CONTAINERCNV_P1_H
HGTD_RDO_Container_p1
Definition: HGTD_RDO_Container_p1.h:17
HGTD_RDO_ContainerCnv_p1::createTransient
virtual Trans_t * createTransient(const Pers_t *persistent_container, MsgStream &log)
Definition: HGTD_RDO_ContainerCnv_p1.cxx:156
HGTD_RDO_Container.h
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
TPConverterBase
Definition: TPConverter.h:738
HGTD_RDO_ContainerCnv_p1::Pers_t
HGTD_RDO_Container_p1 Pers_t
Definition: HGTD_RDO_ContainerCnv_p1.h:25
HGTD_RDO_Container
Definition: HGTD_RDO_Container.h:18
HGTD_RDO_ContainerCnv_p1::m_is_initialized
bool m_is_initialized
Definition: HGTD_RDO_ContainerCnv_p1.h:43
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
T_AthenaPoolTPConverter.h
HGTD_RDO_ContainerCnv_p1
Definition: HGTD_RDO_ContainerCnv_p1.h:22
HGTD_ID
Definition: HGTD_ID.h:47
ITPConverterFor::Trans_t
TransBase_t Trans_t
Definition: TPConverter.h:40
HGTD_RDO_ContainerCnv_p1::Trans_t
HGTD_RDO_Container Trans_t
Definition: HGTD_RDO_ContainerCnv_p1.h:26
HGTD_RDO_ContainerCnv_p1::initialize
StatusCode initialize(MsgStream &log)
Definition: HGTD_RDO_ContainerCnv_p1.cxx:24
HGTD_RDO_Container_p1.h
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
HGTD_RDO_ContainerCnv_p1::persToTrans
virtual void persToTrans(const Pers_t *persistent_container, Trans_t *transient_container, MsgStream &log)
Definition: HGTD_RDO_ContainerCnv_p1.cxx:106
HGTD_RDO_ContainerCnv_p1::transToPers
virtual void transToPers(const Trans_t *transient_container, Pers_t *persistent_container, MsgStream &log)
Definition: HGTD_RDO_ContainerCnv_p1.cxx:41
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
HGTD_RDO_ContainerCnv_p1::m_hgtd_idhelper
const HGTD_ID * m_hgtd_idhelper
Definition: HGTD_RDO_ContainerCnv_p1.h:41
HGTD_RDO_ContainerCnv_p1::HGTD_RDO_ContainerCnv_p1
HGTD_RDO_ContainerCnv_p1()=default