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