ATLAS Offline Software
TestBeam
TBEventAthenaPool
src
TBTailCatcherCnv.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_TBTAILCATCHERCNV_P1_H
12
#define TBEVENTATHENAPOOL_TBTAILCATCHERCNV_P1_H
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
15
#include "
TBTPCnv/TBTailCatcher_p1.h
"
16
#include "
TBEvent/TBTailCatcher.h
"
17
#include "
TBTPCnv/TBTailCatcherCnv_p1.h
"
18
19
// the latest persistent representation type of TBTailCatcher:
20
typedef
TBTailCatcher_p1
TBTailCatcher_PERS
;
21
typedef
T_AthenaPoolCustomCnv<TBTailCatcher, TBTailCatcher_PERS >
TBTailCatcherCnvBase
;
22
23
class
TBTailCatcherCnv
:
public
TBTailCatcherCnvBase
{
24
friend
class
CnvFactory
<
TBTailCatcherCnv
>;
25
protected
:
26
public
:
27
TBTailCatcherCnv
(ISvcLocator* svcloc) :
TBTailCatcherCnvBase
(svcloc) {}
28
protected
:
29
virtual
TBTailCatcher_PERS
*
createPersistent
(
TBTailCatcher
* transCont);
30
virtual
TBTailCatcher
*
createTransient
();
31
32
TBTailCatcherCnv_p1
m_TPConverter
;
33
};
34
#endif
35
36
TBTailCatcherCnv::createPersistent
virtual TBTailCatcher_PERS * createPersistent(TBTailCatcher *transCont)
Definition:
TBTailCatcherCnv.cxx:7
TBTailCatcher_p1.h
TBTailCatcherCnv_p1.h
TBTailCatcherCnvBase
T_AthenaPoolCustomCnv< TBTailCatcher, TBTailCatcher_PERS > TBTailCatcherCnvBase
Definition:
TBTailCatcherCnv.h:21
TBTailCatcher
Definition:
TBTailCatcher.h:25
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
TBTailCatcherCnv
Definition:
TBTailCatcherCnv.h:23
TBTailCatcherCnv::m_TPConverter
TBTailCatcherCnv_p1 m_TPConverter
Definition:
TBTailCatcherCnv.h:32
TBTailCatcherCnv::TBTailCatcherCnv
TBTailCatcherCnv(ISvcLocator *svcloc)
Definition:
TBTailCatcherCnv.h:27
TBTailCatcherCnv_p1
Definition:
TBTailCatcherCnv_p1.h:22
TBTailCatcher.h
TBTailCatcherCnv::createTransient
virtual TBTailCatcher * createTransient()
Definition:
TBTailCatcherCnv.cxx:14
TBTailCatcher_p1
Definition:
TBTailCatcher_p1.h:15
TBTailCatcher_PERS
TBTailCatcher_p1 TBTailCatcher_PERS
Definition:
TBTailCatcherCnv.h:20
Generated on Thu Nov 7 2024 21:27:15 for ATLAS Offline Software by
1.8.18