ATLAS Offline Software
Trigger
TrigEvent
TrigInDetEventTPCnv
TrigInDetEventTPCnv
TrigVertexCnv_p2.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
/**********************************************************************************
6
* @Project: Trigger
7
* @Package: TrigInDetEventTPCnv
8
* @class : TrigVertexCnv_p2
9
*
10
* @brief transient-persistent converter for TrigVertex
11
*
12
* @author Dmitry Emeliyanov
13
*
14
**********************************************************************************/
15
#ifndef TRIGINDETEVENTTPCNV_TRIGVERTEXCNV_P2_H
16
#define TRIGINDETEVENTTPCNV_TRIGVERTEXCNV_P2_H
17
18
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
19
20
#include "
AthenaPoolUtilities/TPObjRef.h
"
21
22
#include "
TrigInDetEvent/TrigVertex.h
"
23
#include "
TrigInDetEventTPCnv/TrigVertex_p2.h
"
24
#include "
TrigInDetEventTPCnv/TrigInDetTrackCnv_p3.h
"
25
26
#include<vector>
27
28
class
MsgStream;
29
30
31
class
TrigVertexCnv_p2
:
public
T_AthenaPoolTPCnvBase
<TrigVertex, TrigVertex_p2>
32
{
33
34
public
:
35
36
typedef
std::vector< const TrigInDetTrack* >
TrackInVertexVector
;
37
38
TrigVertexCnv_p2
() :
m_TrigIDtrackCnv
(0) {}
39
40
virtual
void
persToTrans
(
const
TrigVertex_p2
* persObj,
TrigVertex
* transObj, MsgStream &
log
);
41
virtual
void
transToPers
(
const
TrigVertex
* transObj,
TrigVertex_p2
* persObj, MsgStream &
log
);
42
43
virtual
void
initPrivateConverters
(
AthenaPoolTopLevelTPCnvBase
*topCnv )
44
{
45
m_TrigInDetTrackVectorCnv
.
setTopConverter
( topCnv, 0 );
46
}
47
48
49
//protected:
50
TrigInDetTrackCnv_p3
*
m_TrigIDtrackCnv
;
51
52
typedef
T_AthenaPoolTPPtrVectorCnv
<
TrackInVertexVector
,
53
std::vector<TPObjRef>,
54
TrigInDetTrackCnv_p3
>
TrigInDetTrackVectorCnv_p3
;
55
56
TrigInDetTrackVectorCnv_p3
m_TrigInDetTrackVectorCnv
;
57
TrackInVertexVector
m_trackInVertexVector
;
//transient vector of TrigInDetTrack*
58
};
59
60
61
#endif
TrigInDetTrackCnv_p3.h
TrigVertexCnv_p2
Definition:
TrigVertexCnv_p2.h:32
TrigVertexCnv_p2::TrigInDetTrackVectorCnv_p3
T_AthenaPoolTPPtrVectorCnv< TrackInVertexVector, std::vector< TPObjRef >, TrigInDetTrackCnv_p3 > TrigInDetTrackVectorCnv_p3
Definition:
TrigVertexCnv_p2.h:54
TPConverterBase
Definition:
TPConverter.h:738
TrigVertex_p2
Definition:
TrigVertex_p2.h:27
TrigVertexCnv_p2::m_TrigIDtrackCnv
TrigInDetTrackCnv_p3 * m_TrigIDtrackCnv
Definition:
TrigVertexCnv_p2.h:50
TrigVertexCnv_p2::persToTrans
virtual void persToTrans(const TrigVertex_p2 *persObj, TrigVertex *transObj, MsgStream &log)
Definition:
TrigVertexCnv_p2.cxx:14
T_AthenaPoolTPConverter.h
TrigVertexCnv_p2::TrigVertexCnv_p2
TrigVertexCnv_p2()
Definition:
TrigVertexCnv_p2.h:38
TrigInDetTrackCnv_p3
Definition:
TrigInDetTrackCnv_p3.h:35
TrigVertexCnv_p2::initPrivateConverters
virtual void initPrivateConverters(AthenaPoolTopLevelTPCnvBase *topCnv)
Definition:
TrigVertexCnv_p2.h:43
TrigVertexCnv_p2::m_TrigInDetTrackVectorCnv
TrigInDetTrackVectorCnv_p3 m_TrigInDetTrackVectorCnv
Definition:
TrigVertexCnv_p2.h:56
TopLevelTPCnvBase
Base class for top-level TP converters.
Definition:
TopLevelTPCnvBase.h:32
ITPConverterFor::setTopConverter
virtual void setTopConverter(TopLevelTPCnvBase *topConverter, const TPObjRef::typeID_t &TPtypeID)
Set which top-level converter owns this elemental converter, and what TPtypeID was assigned to the pe...
Definition:
TPConverter.h:221
TrigVertexCnv_p2::transToPers
virtual void transToPers(const TrigVertex *transObj, TrigVertex_p2 *persObj, MsgStream &log)
Definition:
TrigVertexCnv_p2.cxx:64
TrigVertexCnv_p2::m_trackInVertexVector
TrackInVertexVector m_trackInVertexVector
Definition:
TrigVertexCnv_p2.h:57
TPObjRef.h
TrigVertex.h
TrigVertex
Definition:
TrigVertex.h:28
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
TPPtrVectorCnv
Definition:
TPConverter.h:919
TrigVertex_p2.h
TrigVertexCnv_p2::TrackInVertexVector
std::vector< const TrigInDetTrack * > TrackInVertexVector
Definition:
TrigVertexCnv_p2.h:36
Generated on Sun Dec 22 2024 21:21:25 for ATLAS Offline Software by
1.8.18