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