ATLAS Offline Software
LumiBlock
LumiBlockPers
LumiBlockAthenaPool
src
LumiBlockCollectionCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// Header file for ProcessedIOVCollCnv
7
// author Marjorie Shapiro <mdshapiro@lbl.gov>
8
// This class uses TP separation
10
11
#ifndef LUMIBLOCKCOLLECTIONCNV__H
12
#define LUMIBLOCKCOLLECTIONCNV__H
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
15
#include "
LumiBlockData/LumiBlockCollection.h
"
16
#include "
LumiBlockTPCnv/LumiBlockCollectionCnv_p1.h
"
17
#include "
LumiBlockTPCnv/LumiBlockCollectionCnv_p2.h
"
18
19
// the latest persistent representation type of LumiBlockCollection
20
typedef
LumiBlockCollection_p2
LumiBlockCollection_PERS
;
21
typedef
T_AthenaPoolCustomCnv<LumiBlockCollection, LumiBlockCollection_PERS >
LumiBlockCollectionCnvBase
;
22
23
class
LumiBlockCollectionCnv
:
public
LumiBlockCollectionCnvBase
24
{
25
friend
class
CnvFactory
<
LumiBlockCollectionCnv
>;
26
protected
:
27
public
:
28
LumiBlockCollectionCnv
(ISvcLocator* svcloc) :
LumiBlockCollectionCnvBase
(svcloc) {}
29
protected
:
30
virtual
LumiBlockCollection_PERS
*
createPersistent
(
LumiBlockCollection
* transCont);
31
virtual
LumiBlockCollection
*
createTransient
();
32
33
private
:
34
LumiBlockCollectionCnv_p1
m_converter_p1
;
35
LumiBlockCollectionCnv_p2
m_converter
;
36
37
};
38
39
#endif // LUMIBLOCKCOLLECTIONCNV__H
40
LumiBlockCollectionCnvBase
T_AthenaPoolCustomCnv< LumiBlockCollection, LumiBlockCollection_PERS > LumiBlockCollectionCnvBase
Definition:
LumiBlockCollectionCnv.h:21
LumiBlockCollection.h
LumiBlockCollectionCnv::createTransient
virtual LumiBlockCollection * createTransient()
Definition:
LumiBlockCollectionCnv.cxx:21
LumiBlockCollectionCnv::m_converter
LumiBlockCollectionCnv_p2 m_converter
Definition:
LumiBlockCollectionCnv.h:35
LumiBlockCollectionCnv::m_converter_p1
LumiBlockCollectionCnv_p1 m_converter_p1
Definition:
LumiBlockCollectionCnv.h:34
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
LumiBlockCollection
Definition:
LumiBlockCollection.h:21
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
LumiBlockCollectionCnv::createPersistent
virtual LumiBlockCollection_PERS * createPersistent(LumiBlockCollection *transCont)
Definition:
LumiBlockCollectionCnv.cxx:13
CnvFactory
Abstract factory to create the converter.
Definition:
ToyConverter.h:16
LumiBlockCollectionCnv::LumiBlockCollectionCnv
LumiBlockCollectionCnv(ISvcLocator *svcloc)
Definition:
LumiBlockCollectionCnv.h:28
LumiBlockCollectionCnv_p2.h
TPCnvVector
Definition:
TPConverter.h:1256
LumiBlockCollection_p2
Definition:
LumiBlockCollection_p2.h:11
LumiBlockCollectionCnv_p1.h
LumiBlockCollectionCnv
Definition:
LumiBlockCollectionCnv.h:24
LumiBlockCollection_PERS
LumiBlockCollection_p2 LumiBlockCollection_PERS
Definition:
LumiBlockCollectionCnv.h:20
Generated on Mon Dec 23 2024 21:14:02 for ATLAS Offline Software by
1.8.18