ATLAS Offline Software
TestBeam
TBEventAthenaPool
src
TBTriggerPatternUnitCnv.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_TBTRIGGERPATTERNUNITCNV_P1_H
12
#define TBEVENTATHENAPOOL_TBTRIGGERPATTERNUNITCNV_P1_H
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
15
#include "
TBTPCnv/TBTriggerPatternUnit_p1.h
"
16
#include "
TBEvent/TBTriggerPatternUnit.h
"
17
#include "
TBTPCnv/TBTriggerPatternUnitCnv_p1.h
"
18
19
// the latest persistent representation type of TBTriggerPatternUnit:
20
typedef
TBTriggerPatternUnit_p1
TBTriggerPatternUnit_PERS
;
21
typedef
T_AthenaPoolCustomCnv<TBTriggerPatternUnit, TBTriggerPatternUnit_PERS >
TBTriggerPatternUnitCnvBase
;
22
23
class
TBTriggerPatternUnitCnv
:
public
TBTriggerPatternUnitCnvBase
{
24
friend
class
CnvFactory
<
TBTriggerPatternUnitCnv
>;
25
protected
:
26
public
:
27
TBTriggerPatternUnitCnv
(ISvcLocator* svcloc) :
TBTriggerPatternUnitCnvBase
(svcloc) {}
28
protected
:
29
virtual
TBTriggerPatternUnit_PERS
*
createPersistent
(
TBTriggerPatternUnit
* transCont);
30
virtual
TBTriggerPatternUnit
*
createTransient
();
31
32
TBTriggerPatternUnitCnv_p1
m_TPConverter
;
33
};
34
#endif
35
TBTriggerPatternUnitCnv_p1.h
TBTriggerPatternUnit_p1.h
TBTriggerPatternUnit_PERS
TBTriggerPatternUnit_p1 TBTriggerPatternUnit_PERS
Definition:
TBTriggerPatternUnitCnv.h:20
TBTriggerPatternUnitCnvBase
T_AthenaPoolCustomCnv< TBTriggerPatternUnit, TBTriggerPatternUnit_PERS > TBTriggerPatternUnitCnvBase
Definition:
TBTriggerPatternUnitCnv.h:21
TBTriggerPatternUnit_p1
Definition:
TBTriggerPatternUnit_p1.h:15
TBTriggerPatternUnit.h
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
TBTriggerPatternUnitCnv::m_TPConverter
TBTriggerPatternUnitCnv_p1 m_TPConverter
Definition:
TBTriggerPatternUnitCnv.h:32
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
TBTriggerPatternUnitCnv::TBTriggerPatternUnitCnv
TBTriggerPatternUnitCnv(ISvcLocator *svcloc)
Definition:
TBTriggerPatternUnitCnv.h:27
TBTriggerPatternUnitCnv_p1
Definition:
TBTriggerPatternUnitCnv_p1.h:22
TBTriggerPatternUnitCnv::createTransient
virtual TBTriggerPatternUnit * createTransient()
Definition:
TBTriggerPatternUnitCnv.cxx:14
TBTriggerPatternUnit
Definition:
TBTriggerPatternUnit.h:27
TBTriggerPatternUnitCnv
Definition:
TBTriggerPatternUnitCnv.h:23
TBTriggerPatternUnitCnv::createPersistent
virtual TBTriggerPatternUnit_PERS * createPersistent(TBTriggerPatternUnit *transCont)
Definition:
TBTriggerPatternUnitCnv.cxx:7
Generated on Thu Nov 7 2024 21:27:16 for ATLAS Offline Software by
1.8.18