ATLAS Offline Software
Trigger
TrigEvent
TrigInDetEventTPCnv
TrigInDetEventTPCnv
TrigVertexCnv_p1.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_p1
9
*
10
* @brief transient-persistent converter for TrigVertex
11
*
12
* @author Andrew Hamilton <Andrew.Hamilton@cern.ch> - U. Geneva
13
* @author Francesca Bucci <F.Bucci@cern.ch> - U. Geneva
14
*
15
* File and Version Information:
16
* $Id: TrigVertexCnv_p1.h,v 1.2 2009-04-01 22:08:45 salvator Exp $
17
**********************************************************************************/
18
#ifndef TRIGINDETEVENTTPCNV_TRIGVERTEXCNV_P1_H
19
#define TRIGINDETEVENTTPCNV_TRIGVERTEXCNV_P1_H
20
21
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
22
23
#include "
AthenaPoolUtilities/TPObjRef.h
"
24
25
#include "
TrigInDetEvent/TrigVertex.h
"
26
#include "
TrigInDetEventTPCnv/TrigVertex_p1.h
"
27
#include "
TrigInDetEventTPCnv/TrigInDetTrackCnv_p1.h
"
28
29
#include<vector>
30
31
class
MsgStream;
32
33
34
class
TrigVertexCnv_p1
:
public
T_AthenaPoolTPCnvBase
<TrigVertex, TrigVertex_p1>
35
{
36
37
public
:
38
39
typedef
std::vector< const TrigInDetTrack* >
TrackInVertexVector
;
40
41
TrigVertexCnv_p1
() :
m_TrigIDtrackCnv
(0) {}
42
43
virtual
void
persToTrans
(
const
TrigVertex_p1
* persObj,
TrigVertex
* transObj, MsgStream &
log
);
44
virtual
void
transToPers
(
const
TrigVertex
* transObj,
TrigVertex_p1
* persObj, MsgStream &
log
);
45
46
virtual
void
initPrivateConverters
(
AthenaPoolTopLevelTPCnvBase
*topCnv )
47
{
48
m_TrigInDetTrackVectorCnv
.
setTopConverter
( topCnv, 0 );
49
}
50
51
52
//protected:
53
TrigInDetTrackCnv_p1
*
m_TrigIDtrackCnv
;
54
55
typedef
T_AthenaPoolTPPtrVectorCnv
<
TrackInVertexVector
,
56
std::vector<TPObjRef>,
57
TrigInDetTrackCnv_p1
>
TrigInDetTrackVectorCnv_p1
;
58
59
TrigInDetTrackVectorCnv_p1
m_TrigInDetTrackVectorCnv
;
60
TrackInVertexVector
m_trackInVertexVector
;
//transient vector of TrigInDetTrack*
61
};
62
63
64
#endif
TrigVertex_p1.h
TrigInDetTrackCnv_p1
Definition:
TrigInDetTrackCnv_p1.h:35
TPConverterBase
Definition:
TPConverter.h:738
TrigVertexCnv_p1::TrigVertexCnv_p1
TrigVertexCnv_p1()
Definition:
TrigVertexCnv_p1.h:41
TrigVertexCnv_p1
Definition:
TrigVertexCnv_p1.h:35
TrigInDetTrackCnv_p1.h
TrigVertexCnv_p1::m_TrigIDtrackCnv
TrigInDetTrackCnv_p1 * m_TrigIDtrackCnv
Definition:
TrigVertexCnv_p1.h:53
TrigVertexCnv_p1::m_TrigInDetTrackVectorCnv
TrigInDetTrackVectorCnv_p1 m_TrigInDetTrackVectorCnv
Definition:
TrigVertexCnv_p1.h:59
TrigVertexCnv_p1::TrackInVertexVector
std::vector< const TrigInDetTrack * > TrackInVertexVector
Definition:
TrigVertexCnv_p1.h:39
T_AthenaPoolTPConverter.h
TrigVertex_p1
Definition:
TrigVertex_p1.h:26
TrigVertexCnv_p1::m_trackInVertexVector
TrackInVertexVector m_trackInVertexVector
Definition:
TrigVertexCnv_p1.h:60
TrigVertexCnv_p1::initPrivateConverters
virtual void initPrivateConverters(AthenaPoolTopLevelTPCnvBase *topCnv)
Definition:
TrigVertexCnv_p1.h:46
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_p1::persToTrans
virtual void persToTrans(const TrigVertex_p1 *persObj, TrigVertex *transObj, MsgStream &log)
Definition:
TrigVertexCnv_p1.cxx:13
TPObjRef.h
TrigVertex.h
TrigVertex
Definition:
TrigVertex.h:28
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
TrigVertexCnv_p1::TrigInDetTrackVectorCnv_p1
T_AthenaPoolTPPtrVectorCnv< TrackInVertexVector, std::vector< TPObjRef >, TrigInDetTrackCnv_p1 > TrigInDetTrackVectorCnv_p1
Definition:
TrigVertexCnv_p1.h:57
TPPtrVectorCnv
Definition:
TPConverter.h:919
TrigVertexCnv_p1::transToPers
virtual void transToPers(const TrigVertex *transObj, TrigVertex_p1 *persObj, MsgStream &log)
Definition:
TrigVertexCnv_p1.cxx:50
Generated on Thu Nov 7 2024 21:30:16 for ATLAS Offline Software by
1.8.18