ATLAS Offline Software
TestBeam
TBEventAthenaPool
src
TBMWPCContCnv.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_TBMWPCCONTCNV_P1_H
12
#define TBEVENTATHENAPOOL_TBMWPCCONTCNV_P1_H
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
15
#include "
TBTPCnv/TBMWPCCont_p1.h
"
16
#include "
TBEvent/TBMWPCCont.h
"
17
#include "
TBTPCnv/TBMWPCContCnv_p1.h
"
18
19
// the latest persistent representation type of TBMWPCCont:
20
typedef
TBMWPCCont_p1
TBMWPCCont_PERS
;
21
typedef
T_AthenaPoolCustomCnv<TBMWPCCont, TBMWPCCont_PERS >
TBMWPCContCnvBase
;
22
23
class
TBMWPCContCnv
:
public
TBMWPCContCnvBase
{
24
friend
class
CnvFactory
<
TBMWPCContCnv
>;
25
protected
:
26
public
:
27
TBMWPCContCnv
(ISvcLocator* svcloc) :
TBMWPCContCnvBase
(svcloc) {}
28
protected
:
29
virtual
TBMWPCCont_PERS
*
createPersistent
(
TBMWPCCont
* transCont);
30
virtual
TBMWPCCont
*
createTransient
();
31
32
TBMWPCContCnv_p1
m_TPConverter
;
33
};
34
#endif
TBMWPCContCnv::createPersistent
virtual TBMWPCCont_PERS * createPersistent(TBMWPCCont *transCont)
Definition:
TBMWPCContCnv.cxx:7
TBMWPCCont_p1.h
TBMWPCCont_p1
Definition:
TBMWPCCont_p1.h:15
TBMWPCContCnv::TBMWPCContCnv
TBMWPCContCnv(ISvcLocator *svcloc)
Definition:
TBMWPCContCnv.h:27
TBMWPCContCnvBase
T_AthenaPoolCustomCnv< TBMWPCCont, TBMWPCCont_PERS > TBMWPCContCnvBase
Definition:
TBMWPCContCnv.h:21
TBMWPCContCnv_p1.h
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
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
TBMWPCCont
Definition:
TBMWPCCont.h:17
TBMWPCContCnv
Definition:
TBMWPCContCnv.h:23
TBMWPCContCnv::createTransient
virtual TBMWPCCont * createTransient()
Definition:
TBMWPCContCnv.cxx:14
TBMWPCContCnv::m_TPConverter
TBMWPCContCnv_p1 m_TPConverter
Definition:
TBMWPCContCnv.h:32
TBMWPCContCnv_p1
Definition:
TBMWPCContCnv_p1.h:22
TBMWPCCont_PERS
TBMWPCCont_p1 TBMWPCCont_PERS
Definition:
TBMWPCContCnv.h:20
TBMWPCCont.h
Generated on Thu Nov 7 2024 21:27:13 for ATLAS Offline Software by
1.8.18