ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
(
const
Token
* token);
31
32
TBADCRawContCnv_p1
m_TPConverter
;
33
};
34
#endif
35
TBADCRawCont_PERS
TBADCRawCont_p1 TBADCRawCont_PERS
Definition
TBADCRawContCnv.h:20
TBADCRawContCnvBase
T_AthenaPoolCustomCnv< TBADCRawCont, TBADCRawCont_PERS > TBADCRawContCnvBase
Definition
TBADCRawContCnv.h:21
TBADCRawContCnv_p1.h
TBADCRawCont.h
TBADCRawCont_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
TBADCRawContCnv_p1
Definition
TBADCRawContCnv_p1.h:16
TBADCRawContCnv::TBADCRawContCnv
TBADCRawContCnv(ISvcLocator *svcloc)
Definition
TBADCRawContCnv.h:27
TBADCRawContCnv::m_TPConverter
TBADCRawContCnv_p1 m_TPConverter
Definition
TBADCRawContCnv.h:32
TBADCRawContCnv::createPersistent
virtual TBADCRawCont_PERS * createPersistent(TBADCRawCont *transCont)
Definition
TBADCRawContCnv.cxx:7
TBADCRawContCnv::createTransient
virtual TBADCRawCont * createTransient(const Token *token)
Definition
TBADCRawContCnv.cxx:14
TBADCRawCont_p1
Definition
TBADCRawCont_p1.h:15
TBADCRawCont
"TBEvent/TBADCRawCont.h"
Definition
TBADCRawCont.h:20
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