ATLAS Offline Software
TestBeam
TBEventAthenaPool
src
TBTrackInfoCnv.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_TBTRACKINFOCNV_P1_H
12
#define TBEVENTATHENAPOOL_TBTRACKINFOCNV_P1_H
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
15
#include "
TBTPCnv/TBTrackInfo_p1.h
"
16
#include "
TBEvent/TBTrackInfo.h
"
17
#include "
TBTPCnv/TBTrackInfoCnv_p1.h
"
18
19
// the latest persistent representation type of TBTrackInfo:
20
typedef
TBTrackInfo_p1
TBTrackInfo_PERS
;
21
typedef
T_AthenaPoolCustomCnv<TBTrackInfo, TBTrackInfo_PERS >
TBTrackInfoCnvBase
;
22
23
class
TBTrackInfoCnv
:
public
TBTrackInfoCnvBase
{
24
friend
class
CnvFactory
<
TBTrackInfoCnv
>;
25
protected
:
26
public
:
27
TBTrackInfoCnv
(ISvcLocator* svcloc) :
TBTrackInfoCnvBase
(svcloc) {}
28
protected
:
29
virtual
TBTrackInfo_PERS
*
createPersistent
(
TBTrackInfo
* transCont);
30
virtual
TBTrackInfo
*
createTransient
();
31
32
TBTrackInfoCnv_p1
m_TPConverter
;
33
};
34
#endif
35
TBTrackInfoCnv::createTransient
virtual TBTrackInfo * createTransient()
Definition:
TBTrackInfoCnv.cxx:14
TBTrackInfoCnv::m_TPConverter
TBTrackInfoCnv_p1 m_TPConverter
Definition:
TBTrackInfoCnv.h:32
TBTrackInfoCnv
Definition:
TBTrackInfoCnv.h:23
TBTrackInfo_p1.h
TBTrackInfo_p1
Definition:
TBTrackInfo_p1.h:15
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
TBTrackInfoCnv_p1
Definition:
TBTrackInfoCnv_p1.h:22
TBTrackInfo
Definition:
TBTrackInfo.h:19
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
TBTrackInfo_PERS
TBTrackInfo_p1 TBTrackInfo_PERS
Definition:
TBTrackInfoCnv.h:20
CnvFactory
Abstract factory to create the converter.
Definition:
ToyConverter.h:16
TBTrackInfoCnv::createPersistent
virtual TBTrackInfo_PERS * createPersistent(TBTrackInfo *transCont)
Definition:
TBTrackInfoCnv.cxx:7
TBTrackInfo.h
TBTrackInfoCnv::TBTrackInfoCnv
TBTrackInfoCnv(ISvcLocator *svcloc)
Definition:
TBTrackInfoCnv.h:27
TBTrackInfoCnvBase
T_AthenaPoolCustomCnv< TBTrackInfo, TBTrackInfo_PERS > TBTrackInfoCnvBase
Definition:
TBTrackInfoCnv.h:21
TBTrackInfoCnv_p1.h
Generated on Thu Nov 7 2024 21:27:15 for ATLAS Offline Software by
1.8.18