ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEventCnv
TrkEventAthenaPool
src
MVFVxContainerCnv.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: MVFVertexContainerCnv.h
8
// author: Kirill Prokofiev <Kirill.Prokofiev@cern.ch>
9
//
10
//-----------------------------------------------------------------------------
11
12
#ifndef MVFVXCONTAINER_CNV_H
13
#define MVFVXCONTAINER_CNV_H
14
15
#include "GaudiKernel/MsgStream.h"
16
17
#include "
TrkEventCnvTools/ITrkEventCnvTool.h
"
18
#include "
AtlasDetDescr/AtlasDetectorID.h
"
19
#include "
AthenaPoolCnvSvc/T_AthenaPoolExtendingCnv.h
"
20
21
#include "
VxMultiVertex/MVFVxContainer.h
"
22
23
#include "
TrkEventTPCnv/MVFVxContainerCnv_tlp1.h
"
24
25
26
//-----------------------------------------------------------------------------
27
// Base class definition
28
//-----------------------------------------------------------------------------
29
typedef
Trk::MVFVxContainer_tlp1
MVFVxContainer_PERS
;
30
31
typedef
T_AthenaPoolExtendingCnv<MVFVxContainer, MVFVxContainer_PERS>
MVFVxContainerCnvBase
;
32
33
class
MVFVxContainerCnv
:
public
MVFVxContainerCnvBase
34
35
{
36
37
friend
class
CnvFactory
<
MVFVxContainerCnv
>;
38
39
protected
:
40
41
public
:
42
MVFVxContainerCnv
( ISvcLocator *svcloc );
43
protected
:
44
45
virtual
StatusCode
initialize
()
override
;
46
47
virtual
MVFVxContainer_PERS
*
createPersistent
(
MVFVxContainer
*transCont)
override
;
48
49
virtual
MVFVxContainer
*
createTransient
(
const
Token
* token)
override
;
50
51
virtual
TopLevelTPCnvBase
*
getTopLevelTPCnv
()
override
{
return
&
m_TPConverter
; }
52
53
virtual
AthenaPoolCnvTPExtension
*
clone
()
override
{
return
new
MVFVxContainerCnv
(0); }
54
55
virtual
void
readObjectFromPool
(
const
Token
* token)
override
;
56
57
private
:
58
MVFVxContainerCnv_tlp1
m_TPConverter
;
59
60
};
//end of class definitions
61
62
#endif
// MVFVXCONTAINER_CNV_H
AtlasDetectorID.h
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
ITrkEventCnvTool.h
MVFVxContainerCnvBase
T_AthenaPoolExtendingCnv< MVFVxContainer, MVFVxContainer_PERS > MVFVxContainerCnvBase
Definition
MVFVxContainerCnv.h:31
MVFVxContainer_PERS
Trk::MVFVxContainer_tlp1 MVFVxContainer_PERS
Definition
MVFVxContainerCnv.h:29
MVFVxContainerCnv_tlp1.h
MVFVxContainer.h
T_AthenaPoolExtendingCnv.h
his file contains the class definition for the templated T_AthenaPoolExtendingCnv class.
AthenaPoolCnvTPExtension::AthenaPoolCnvTPExtension
AthenaPoolCnvTPExtension()
Definition
AthenaPoolCnvTPExtension.h:17
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
MVFVxContainerCnv_tlp1
Definition
MVFVxContainerCnv_tlp1.h:21
MVFVxContainerCnv::MVFVxContainerCnv
MVFVxContainerCnv(ISvcLocator *svcloc)
Definition
MVFVxContainerCnv.cxx:20
MVFVxContainerCnv::initialize
virtual StatusCode initialize() override
Gaudi Service Interface method implementations:
Definition
MVFVxContainerCnv.cxx:29
MVFVxContainerCnv::getTopLevelTPCnv
virtual TopLevelTPCnvBase * getTopLevelTPCnv() override
Return the top level TP converter (which is always used for writing).
Definition
MVFVxContainerCnv.h:51
MVFVxContainerCnv::readObjectFromPool
virtual void readObjectFromPool(const Token *token) override
Read the persistent object from POOL.
Definition
MVFVxContainerCnv.cxx:80
MVFVxContainerCnv::createTransient
virtual MVFVxContainer * createTransient(const Token *token) override
Definition
MVFVxContainerCnv.cxx:57
MVFVxContainerCnv::createPersistent
virtual MVFVxContainer_PERS * createPersistent(MVFVxContainer *transCont) override
no-op
Definition
MVFVxContainerCnv.cxx:49
MVFVxContainerCnv::clone
virtual AthenaPoolCnvTPExtension * clone() override
Clone this Athena Converter.
Definition
MVFVxContainerCnv.h:53
MVFVxContainerCnv::m_TPConverter
MVFVxContainerCnv_tlp1 m_TPConverter
Definition
MVFVxContainerCnv.h:58
MVFVxContainer
Definition
MVFVxContainer.h:31
T_AthenaPoolExtendingCnv< MVFVxContainer, MVFVxContainer_PERS >::T_AthenaPoolExtendingCnv
T_AthenaPoolExtendingCnv(ISvcLocator *svcloc)
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::MVFVxContainer_tlp1
Definition
MVFVxContainer_tlp1.h:18
Generated on
for ATLAS Offline Software by
1.17.0