ATLAS Offline Software
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 
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 
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 
24  persObj->m_positiveTrackID = transObj->m_positiveTrackID;
25  persObj->m_negativeTrackID = transObj->m_negativeTrackID;
26  persObj->m_constraintID = transObj->m_constraintID;
27 }
Trk::V0Hypothesis_p1::m_positiveTrackID
int m_positiveTrackID
Definition: V0Hypothesis_p1.h:33
Trk::V0Hypothesis
Definition: V0Hypothesis.h:40
Trk::V0Hypothesis_p1
Definition: V0Hypothesis_p1.h:22
ITPConverterFor< TRANS_BASE >::fillTransFromPStore
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
Convert persistent object, stored in the the top-level persistent object and referenced by the TP Ref...
Definition: TPConverter.h:145
V0Hypothesis.h
V0HypothesisCnv_p1.h
V0HypothesisCnv_p1::persToTrans
void persToTrans(const Trk::V0Hypothesis_p1 *persObj, Trk::V0Hypothesis *transObj, MsgStream &log)
Conversion methods.
Definition: V0HypothesisCnv_p1.cxx:9
ITPConverterFor< TRANS_BASE >::baseToPersistent
TPObjRef baseToPersistent(CNV **cnv, const typename CNV::Trans_t *transObj, MsgStream &log) const
Persistify bass class of a given object and store the persistent represenation in the storage vector ...
Definition: TPConverter.h:97
V0HypothesisCnv_p1::m_vxCandidateConverter
ITPConverterFor< Trk::VxCandidate > * m_vxCandidateConverter
Definition: V0HypothesisCnv_p1.h:49
Trk::V0Hypothesis::m_constraintID
int m_constraintID
Definition: V0Hypothesis.h:101
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
Trk::V0Hypothesis::m_negativeTrackID
int m_negativeTrackID
Definition: V0Hypothesis.h:100
Trk::V0Hypothesis_p1::m_extendedVxCandidate
TPObjRef m_extendedVxCandidate
Definition: V0Hypothesis_p1.h:30
Trk::V0Hypothesis_p1::m_negativeTrackID
int m_negativeTrackID
Definition: V0Hypothesis_p1.h:34
Trk::V0Hypothesis::m_positiveTrackID
int m_positiveTrackID
Definition: V0Hypothesis.h:99
Trk::V0Hypothesis_p1::m_constraintID
int m_constraintID
Definition: V0Hypothesis_p1.h:35
V0HypothesisCnv_p1::transToPers
void transToPers(const Trk::V0Hypothesis *transObj, Trk::V0Hypothesis_p1 *persObj, MsgStream &log)
Definition: V0HypothesisCnv_p1.cxx:19