ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCnv
LArAthenaPool
src
LArAthenaPool/src/T_LArCondAthenaPoolCnv.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
#ifndef T_LARCONDATHENAPOOLCNV_H
6
#define T_LARCONDATHENAPOOLCNV_H
7
8
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustCnv.h
"
9
10
class
StoreGateSvc
;
11
12
// Template AthenaPool converter for LAr Conditions data
13
// T == Transient Conditions data class
14
// T should have T::P defined as a type, and P is the persistent data
15
// type to be stored in POOL
16
17
18
template
<
class
T>
19
class
T_LArCondAthenaPoolCnv
20
:
public
T_AthenaPoolCustCnv
<T,typename T::PERSIST>
21
{
22
23
24
protected
:
25
26
typedef
T_AthenaPoolCustCnv<T,typename T::PERSIST>
LArCondAthenaPoolCnvBase
;
27
28
friend
class
CnvFactory
<
T_LArCondAthenaPoolCnv
<T> >;
29
31
T_LArCondAthenaPoolCnv
(ISvcLocator* svcloc);
32
33
public
:
34
35
// persistent class defined in Transient class
36
typedef
typename
T::PERSIST
PERSIST
;
37
38
virtual
~T_LArCondAthenaPoolCnv
();
39
41
42
virtual
StatusCode
transToPers
(T* obj,
PERSIST
*& persObj) ;
43
virtual
StatusCode
persToTrans
(T*& transObj,
PERSIST
* obj) ;
44
45
46
private
:
47
48
} ;
49
50
#include "
T_LArCondAthenaPoolCnv.icc
"
51
52
#endif
53
54
T_LArCondAthenaPoolCnv.icc
T_AthenaPoolCustCnv.h
his file contains the class definition for the templated T_AthenaPoolCustCnv class.
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:120
T_AthenaPoolCustCnv< T, T::PERSIST >::T_AthenaPoolCustCnv
T_AthenaPoolCustCnv(ISvcLocator *pSvcLocator, const char *name=nullptr)
T_LArCondAthenaPoolCnv::transToPers
virtual StatusCode transToPers(T *obj, PERSIST *&persObj)
initialization
T_LArCondAthenaPoolCnv::persToTrans
virtual StatusCode persToTrans(T *&transObj, PERSIST *obj)
T_LArCondAthenaPoolCnv::~T_LArCondAthenaPoolCnv
virtual ~T_LArCondAthenaPoolCnv()
T_LArCondAthenaPoolCnv::PERSIST
T::PERSIST PERSIST
Definition
LArAthenaPool/src/T_LArCondAthenaPoolCnv.h:36
T_LArCondAthenaPoolCnv::LArCondAthenaPoolCnvBase
T_AthenaPoolCustCnv< T, typename T::PERSIST > LArCondAthenaPoolCnvBase
Definition
LArAthenaPool/src/T_LArCondAthenaPoolCnv.h:26
T_LArCondAthenaPoolCnv::T_LArCondAthenaPoolCnv
T_LArCondAthenaPoolCnv(ISvcLocator *svcloc)
Constructor.
Generated on
for ATLAS Offline Software by
1.17.0