ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TestBeam
TBEventAthenaPool
src
TBTDCCnv.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_TBTDCCNV_P1_H
12
#define TBEVENTATHENAPOOL_TBTDCCNV_P1_H
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
15
#include "
TBTPCnv/TBTDC_p1.h
"
16
#include "
TBEvent/TBTDC.h
"
17
#include "
TBTPCnv/TBTDCCnv_p1.h
"
18
19
// the latest persistent representation type of TBTDC:
20
typedef
TBTDC_p1
TBTDC_PERS
;
21
typedef
T_AthenaPoolCustomCnv<TBTDC, TBTDC_PERS >
TBTDCCnvBase
;
22
23
class
TBTDCCnv
:
public
TBTDCCnvBase
{
24
friend
class
CnvFactory
<
TBTDCCnv
>;
25
protected
:
26
public
:
27
TBTDCCnv
(ISvcLocator* svcloc) :
TBTDCCnvBase
(svcloc) {}
28
protected
:
29
virtual
TBTDC_PERS
*
createPersistent
(
TBTDC
* transCont);
30
virtual
TBTDC
*
createTransient
(
const
Token
* token);
31
32
TBTDCCnv_p1
m_TPConverter
;
33
};
34
#endif
35
TBTDC_PERS
TBTDC_p1 TBTDC_PERS
Definition
TBTDCCnv.h:20
TBTDCCnvBase
T_AthenaPoolCustomCnv< TBTDC, TBTDC_PERS > TBTDCCnvBase
Definition
TBTDCCnv.h:21
TBTDCCnv_p1.h
TBTDC.h
TBTDC_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
TBTDCCnv_p1
Definition
TBTDCCnv_p1.h:22
TBTDCCnv::TBTDCCnv
TBTDCCnv(ISvcLocator *svcloc)
Definition
TBTDCCnv.h:27
TBTDCCnv::createPersistent
virtual TBTDC_PERS * createPersistent(TBTDC *transCont)
Definition
TBTDCCnv.cxx:7
TBTDCCnv::m_TPConverter
TBTDCCnv_p1 m_TPConverter
Definition
TBTDCCnv.h:32
TBTDCCnv::createTransient
virtual TBTDC * createTransient(const Token *token)
Definition
TBTDCCnv.cxx:14
TBTDC_p1
Definition
TBTDC_p1.h:15
TBTDC
Definition
TBTDC.h:17
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