ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TestBeam
TBEventAthenaPool
src
TBTrackCnv.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_TBTRACKCNV_P1_H
12
#define TBEVENTATHENAPOOL_TBTRACKCNV_P1_H
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
15
#include "
TBTPCnv/TBTrack_p1.h
"
16
#include "
TBEvent/TBTrack.h
"
17
#include "
TBTPCnv/TBTrackCnv_p1.h
"
18
19
// the latest persistent representation type of TBTrack:
20
typedef
TBTrack_p1
TBTrack_PERS
;
21
typedef
T_AthenaPoolCustomCnv<TBTrack, TBTrack_PERS >
TBTrackCnvBase
;
22
23
class
TBTrackCnv
:
public
TBTrackCnvBase
{
24
friend
class
CnvFactory
<
TBTrackCnv
>;
25
protected
:
26
public
:
27
TBTrackCnv
(ISvcLocator* svcloc) :
TBTrackCnvBase
(svcloc) {}
28
protected
:
29
virtual
TBTrack_PERS
*
createPersistent
(
TBTrack
* transCont);
30
virtual
TBTrack
*
createTransient
(
const
Token
* token);
31
32
TBTrackCnv_p1
m_TPConverter
;
33
};
34
#endif
35
36
37
TBTrackCnvBase
T_AthenaPoolCustomCnv< TBTrack, TBTrack_PERS > TBTrackCnvBase
Definition
TBTrackCnv.h:21
TBTrack_PERS
TBTrack_p1 TBTrack_PERS
Definition
TBTrackCnv.h:20
TBTrackCnv_p1.h
TBTrack.h
TBTrack_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
TBTrackCnv_p1
Definition
TBTrackCnv_p1.h:22
TBTrackCnv::createTransient
virtual TBTrack * createTransient(const Token *token)
Definition
TBTrackCnv.cxx:14
TBTrackCnv::createPersistent
virtual TBTrack_PERS * createPersistent(TBTrack *transCont)
Definition
TBTrackCnv.cxx:7
TBTrackCnv::TBTrackCnv
TBTrackCnv(ISvcLocator *svcloc)
Definition
TBTrackCnv.h:27
TBTrackCnv::m_TPConverter
TBTrackCnv_p1 m_TPConverter
Definition
TBTrackCnv.h:32
TBTrack_p1
Definition
TBTrack_p1.h:15
TBTrack
Definition
TBTrack.h:20
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition
T_AthenaPoolCustomCnv.h:129
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition
Token.h:22
Generated on
for ATLAS Offline Software by
1.17.0