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