ATLAS Offline Software
FitQualityCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //-----------------------------------------------------------------------------
6 //
7 // file: FitQualityCnv_p1.cxx
8 //
9 //-----------------------------------------------------------------------------
10 
13 
14 void FitQualityCnv_p1 :: persToTrans( const Trk :: FitQuality_p1 *persObj, Trk :: FitQuality *transObj, MsgStream&) const
15 {
16  *transObj = Trk::FitQuality (persObj->m_chiSquared,
17  persObj->m_numberDoF);
18 }
19 
20 void FitQualityCnv_p1 :: transToPers( const Trk :: FitQuality *transObj, Trk :: FitQuality_p1 *persObj, MsgStream& ) const
21 {
22  persObj->m_chiSquared = transObj->chiSquared();
23  persObj->m_numberDoF = transObj->doubleNumberDoF();
24 }
FitQualityCnv_p1::transToPers
virtual void transToPers(const Trk ::FitQuality *transObj, Trk ::FitQuality_p1 *persObj, MsgStream &log) const override
Definition: FitQualityCnv_p1.cxx:20
FitQualityCnv_p1::persToTrans
virtual void persToTrans(const Trk ::FitQuality_p1 *persObj, Trk ::FitQuality *transObj, MsgStream &log) const override
Definition: FitQualityCnv_p1.cxx:14
FitQualityCnv_p1.h
FitQuality.h
python.Dumpers.FitQuality
FitQuality
Definition: Dumpers.py:63