ATLAS Offline Software
TestBeam
TBEventAthenaPool
src
TBPhaseCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// -------------------------------------------------------------------
6
// Modified pool converter which complies with the standards of the
7
// transient/persistent scheme.
8
// See: https://twiki.cern.ch/twiki/bin/view/Atlas/TransientPersistentSeparation#TP_converters_for_component_type
9
// Author: Iftach Sadeh (iftach.sadeh@NOSPAMTODAYcern.ch) , February 2010
10
// -------------------------------------------------------------------
11
#ifndef TBEVENTATHENAPOOL_TBPHASECNV_P1_H
12
#define TBEVENTATHENAPOOL_TBPHASECNV_P1_H
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
15
#include "
TBTPCnv/TBPhase_p1.h
"
16
#include "
TBEvent/TBPhase.h
"
17
#include "
TBTPCnv/TBPhaseCnv_p1.h
"
18
19
// the latest persistent representation type of TBPhase:
20
typedef
TBPhase_p1
TBPhase_PERS
;
21
typedef
T_AthenaPoolCustomCnv<TBPhase, TBPhase_PERS >
TBPhaseCnvBase
;
22
23
class
TBPhaseCnv
:
public
TBPhaseCnvBase
{
24
friend
class
CnvFactory
<
TBPhaseCnv
>;
25
protected
:
26
public
:
27
TBPhaseCnv
(ISvcLocator* svcloc) :
TBPhaseCnvBase
(svcloc) {}
28
protected
:
29
virtual
TBPhase_PERS
*
createPersistent
(
TBPhase
* transCont);
30
virtual
TBPhase
*
createTransient
();
31
32
TBPhaseCnv_p1
m_TPConverter
;
33
};
34
#endif
TBPhaseCnv::createTransient
virtual TBPhase * createTransient()
Definition:
TBPhaseCnv.cxx:14
TBPhase_PERS
TBPhase_p1 TBPhase_PERS
Definition:
TBPhaseCnv.h:20
TBPhaseCnv::TBPhaseCnv
TBPhaseCnv(ISvcLocator *svcloc)
Definition:
TBPhaseCnv.h:27
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
TBPhase_p1
Definition:
TBPhase_p1.h:15
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
TBPhaseCnv::m_TPConverter
TBPhaseCnv_p1 m_TPConverter
Definition:
TBPhaseCnv.h:32
TBPhase_p1.h
TBPhaseCnvBase
T_AthenaPoolCustomCnv< TBPhase, TBPhase_PERS > TBPhaseCnvBase
Definition:
TBPhaseCnv.h:21
TBPhase
Definition:
TBPhase.h:22
TBPhaseCnv_p1.h
TBPhase.h
TBPhaseCnv_p1
Definition:
TBPhaseCnv_p1.h:22
TBPhaseCnv::createPersistent
virtual TBPhase_PERS * createPersistent(TBPhase *transCont)
Definition:
TBPhaseCnv.cxx:7
TBPhaseCnv
Definition:
TBPhaseCnv.h:23
Generated on Thu Nov 7 2024 21:27:14 for ATLAS Offline Software by
1.8.18