ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEventCnv
TrkEventAthenaPool
src
VxContainerCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//-----------------------------------------------------------------------------
6
//
7
// file: VertexContainerCnv.h
8
// author: Kirill Prokofiev <Kirill.Prokofiev@cern.ch>
9
//
10
//-----------------------------------------------------------------------------
11
12
#ifndef VXCONTAINER_CNV_H
13
#define VXCONTAINER_CNV_H
14
15
#include "GaudiKernel/MsgStream.h"
16
17
#include "
TrkEventCnvTools/ITrkEventCnvTool.h
"
18
#include "
AtlasDetDescr/AtlasDetectorID.h
"
19
20
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
21
#include "
AthenaPoolCnvSvc/AthenaPoolCnvTPExtension.h
"
22
23
#include "
VxVertex/VxContainer.h
"
24
25
// #include "TrkEventTPCnv/VxContainerCnv_tlp1.h"
26
#include "
TrkEventTPCnv/VxContainerCnv_tlp2.h
"
27
28
29
// typedef Trk::VxContainer_tlp1 VxContainer_PERS;
30
typedef
Trk::VxContainer_tlp2
VxContainer_PERS
;
31
32
typedef
T_AthenaPoolCustomCnv<VxContainer, VxContainer_PERS>
VxContainerCnvBase
;
33
34
class
VxContainerCnv
:
public
VxContainerCnvBase
,
public
AthenaPoolCnvTPExtension
{
35
36
friend
class
CnvFactory
<
VxContainerCnv
>;
37
38
protected
:
39
40
public
:
41
VxContainerCnv
( ISvcLocator *svcloc );
42
protected
:
43
virtual
StatusCode
initialize
()
override
;
44
45
virtual
VxContainer_PERS
*
createPersistent
(
VxContainer
*transCont)
override
;
46
virtual
VxContainer
*
createTransient
(
const
Token
* token)
override
;
47
48
virtual
TopLevelTPCnvBase
*
getTopLevelTPCnv
()
override
{
return
&
m_TPConverter
; }
49
50
51
private
:
52
IMessageSvc *
m_msgSvc
;
53
MsgStream
m_log
;
54
55
// VxContainerCnv_tlp1 m_TPConverter;
56
VxContainerCnv_tlp2
m_TPConverter
;
57
58
};
//end of class definitions
59
60
#endif
// VXCONTAINER_CNV_H
AthenaPoolCnvTPExtension.h
AtlasDetectorID.h
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
ITrkEventCnvTool.h
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
VxContainerCnvBase
T_AthenaPoolCustomCnv< VxContainer, VxContainer_PERS > VxContainerCnvBase
Definition
VxContainerCnv.h:32
VxContainer_PERS
Trk::VxContainer_tlp2 VxContainer_PERS
Definition
VxContainerCnv.h:30
VxContainerCnv_tlp2.h
VxContainer.h
AthenaPoolCnvTPExtension::AthenaPoolCnvTPExtension
AthenaPoolCnvTPExtension()
Definition
AthenaPoolCnvTPExtension.h:17
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
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
TopLevelTPCnvBase
Base class for top-level TP converters.
Definition
TopLevelTPCnvBase.h:32
Trk::VxContainer_tlp2
Definition
VxContainer_tlp2.h:55
VxContainerCnv_tlp2
Definition
VxContainerCnv_tlp2.h:60
VxContainerCnv::m_TPConverter
VxContainerCnv_tlp2 m_TPConverter
Definition
VxContainerCnv.h:56
VxContainerCnv::m_log
MsgStream m_log
Definition
VxContainerCnv.h:53
VxContainerCnv::createTransient
virtual VxContainer * createTransient(const Token *token) override
Definition
VxContainerCnv.cxx:61
VxContainerCnv::VxContainerCnv
VxContainerCnv(ISvcLocator *svcloc)
Definition
VxContainerCnv.cxx:22
VxContainerCnv::m_msgSvc
IMessageSvc * m_msgSvc
Definition
VxContainerCnv.h:52
VxContainerCnv::getTopLevelTPCnv
virtual TopLevelTPCnvBase * getTopLevelTPCnv() override
returns the main top-level TP converter
Definition
VxContainerCnv.h:48
VxContainerCnv::initialize
virtual StatusCode initialize() override
Gaudi Service Interface method implementations:
Definition
VxContainerCnv.cxx:31
VxContainerCnv::createPersistent
virtual VxContainer_PERS * createPersistent(VxContainer *transCont) override
Definition
VxContainerCnv.cxx:53
VxContainer
Definition
VxContainer.h:28
Generated on
for ATLAS Offline Software by
1.17.0