ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEventCnv
TrkEventTPCnv
src
TrkV0Vertex
V0HypothesisCnv_p1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrkV0Vertex/V0Hypothesis.h
"
6
#include "
TrkEventTPCnv/TrkV0Vertex/V0HypothesisCnv_p1.h
"
7
8
9
void
V0HypothesisCnv_p1::persToTrans
(
const
Trk::V0Hypothesis_p1
* persObj,
Trk::V0Hypothesis
* transObj, MsgStream &log)
10
{
11
// fillTransFromPStore( &m_extendedVxCandidateConverter, persObj->m_extendedVxCandidate,transObj, log);
12
13
fillTransFromPStore
( &
m_vxCandidateConverter
, persObj->
m_extendedVxCandidate
,transObj, log);
14
transObj->
m_positiveTrackID
= persObj->
m_positiveTrackID
;
15
transObj->
m_negativeTrackID
= persObj->
m_negativeTrackID
;
16
transObj->
m_constraintID
= persObj->
m_constraintID
;
17
}
18
19
void
V0HypothesisCnv_p1::transToPers
(
const
Trk::V0Hypothesis
* transObj,
Trk::V0Hypothesis_p1
* persObj, MsgStream &log)
20
{
21
// persObj->m_extendedVxCandidate = baseToPersistent(&m_extendedVxCandidateConverter, transObj, log );
22
23
persObj->
m_extendedVxCandidate
=
baseToPersistent
(&
m_vxCandidateConverter
, transObj, log );
24
persObj->
m_positiveTrackID
= transObj->
m_positiveTrackID
;
25
persObj->
m_negativeTrackID
= transObj->
m_negativeTrackID
;
26
persObj->
m_constraintID
= transObj->
m_constraintID
;
27
}
V0HypothesisCnv_p1.h
V0Hypothesis.h
ITPConverterFor< TRANS_BASE >::baseToPersistent
TPObjRef baseToPersistent(CNV **cnv, const typename CNV::Trans_t *transObj, MsgStream &log) const
Definition
TPConverter.h:97
ITPConverterFor< TRANS_BASE >::fillTransFromPStore
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
Definition
TPConverter.h:145
Trk::V0Hypothesis_p1
Definition
V0Hypothesis_p1.h:22
Trk::V0Hypothesis_p1::m_positiveTrackID
int m_positiveTrackID
Definition
V0Hypothesis_p1.h:33
Trk::V0Hypothesis_p1::m_negativeTrackID
int m_negativeTrackID
Definition
V0Hypothesis_p1.h:34
Trk::V0Hypothesis_p1::m_extendedVxCandidate
TPObjRef m_extendedVxCandidate
Definition
V0Hypothesis_p1.h:30
Trk::V0Hypothesis_p1::m_constraintID
int m_constraintID
Definition
V0Hypothesis_p1.h:35
Trk::V0Hypothesis
An extension of Trk::ExtendedVxCandidate, to be used for constrained and unconstrained V0 candidates ...
Definition
V0Hypothesis.h:40
Trk::V0Hypothesis::m_constraintID
int m_constraintID
Definition
V0Hypothesis.h:101
Trk::V0Hypothesis::m_positiveTrackID
int m_positiveTrackID
Definition
V0Hypothesis.h:99
Trk::V0Hypothesis::m_negativeTrackID
int m_negativeTrackID
Definition
V0Hypothesis.h:100
V0HypothesisCnv_p1::m_vxCandidateConverter
ITPConverterFor< Trk::VxCandidate > * m_vxCandidateConverter
Definition
V0HypothesisCnv_p1.h:49
V0HypothesisCnv_p1::persToTrans
void persToTrans(const Trk::V0Hypothesis_p1 *persObj, Trk::V0Hypothesis *transObj, MsgStream &log)
Conversion methods.
Definition
V0HypothesisCnv_p1.cxx:9
V0HypothesisCnv_p1::transToPers
void transToPers(const Trk::V0Hypothesis *transObj, Trk::V0Hypothesis_p1 *persObj, MsgStream &log)
Definition
V0HypothesisCnv_p1.cxx:19
Generated on
for ATLAS Offline Software by
1.17.0