ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
InDetEventAthenaPool
src
InDetTrackCnv.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 INDET_TRACKCNV_H
6
#define INDET_TRACKCNV_H
7
8
#include "
AthenaPoolCnvSvc/T_AthenaPoolExtendingCnv.h
"
9
10
#include "
InDetEventTPCnv/InDetTrackCnv_tlp1.h
"
11
#include "
InDetEventTPCnv/InDetTrackCnv_tlp2.h
"
12
13
#include "
InDetTrack.h
"
14
15
16
//-----------------------------------------------------------------------------
17
// Base class definition
18
//-----------------------------------------------------------------------------
19
typedef
InDet::Track_tlp2
InDetTrack_PERS
;
20
typedef
T_AthenaPoolExtendingCnv<InDetTrack, InDetTrack_PERS>
InDetTrackCnvBase
;
21
22
//-----------------------------------------------------------------------------
23
// Converter for TrackCollection object
24
//-----------------------------------------------------------------------------
25
class
InDetTrackCnv
:
public
InDetTrackCnvBase
26
{
27
friend
class
CnvFactory
<
InDetTrackCnv
>;
28
29
protected
:
30
public
:
31
InDetTrackCnv
( ISvcLocator *svcloc );
32
protected
:
33
34
virtual
StatusCode
initialize
();
35
36
37
virtual
TopLevelTPCnvBase
*
getTopLevelTPCnv
() {
return
&
m_TPConverter2
; }
38
39
virtual
AthenaPoolCnvTPExtension
*
clone
() {
return
new
InDetTrackCnv
(0); }
40
41
virtual
void
readObjectFromPool
(
const
Token
* );
42
43
44
private
:
45
InDetTrackCnv_tlp1
m_TPConverter1
;
46
InDetTrackCnv_tlp2
m_TPConverter2
;
47
};
48
49
#endif
50
InDetTrackCnvBase
T_AthenaPoolExtendingCnv< InDetTrack, InDetTrack_PERS > InDetTrackCnvBase
Definition
InDetTrackCnv.h:20
InDetTrack_PERS
InDet::Track_tlp2 InDetTrack_PERS
Definition
InDetTrackCnv.h:19
InDetTrackCnv_tlp1.h
InDetTrackCnv_tlp2.h
InDetTrack.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
InDetTrackCnv_tlp1
Definition
InDetTrackCnv_tlp1.h:31
InDetTrackCnv_tlp2
Definition
InDetTrackCnv_tlp2.h:26
InDetTrackCnv::getTopLevelTPCnv
virtual TopLevelTPCnvBase * getTopLevelTPCnv()
Return the top level TP converter (which is always used for writing).
Definition
InDetTrackCnv.h:37
InDetTrackCnv::m_TPConverter1
InDetTrackCnv_tlp1 m_TPConverter1
Definition
InDetTrackCnv.h:45
InDetTrackCnv::m_TPConverter2
InDetTrackCnv_tlp2 m_TPConverter2
Definition
InDetTrackCnv.h:46
InDetTrackCnv::initialize
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
Definition
InDetTrackCnv.cxx:19
InDetTrackCnv::InDetTrackCnv
InDetTrackCnv(ISvcLocator *svcloc)
Definition
InDetTrackCnv.cxx:13
InDetTrackCnv::clone
virtual AthenaPoolCnvTPExtension * clone()
Clone this Athena Converter.
Definition
InDetTrackCnv.h:39
InDetTrackCnv::readObjectFromPool
virtual void readObjectFromPool(const Token *)
Read the persistent object from POOL.
Definition
InDetTrackCnv.cxx:33
InDet::Track_tlp2
Definition
InDetTrack_tlp2.h:27
T_AthenaPoolExtendingCnv< InDetTrack, InDetTrack_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
Generated on
for ATLAS Offline Software by
1.17.0