ATLAS Offline Software
P4ImplPxPyPzECnv_p1.cxx
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // P4ImplPxPyPzECnv_p1.cxx
8 // Implementation file for class P4ImplPxPyPzECnv_p1
9 // Author: S.Binet<binet@cern.ch>
11 
12 
13 // STL includes
14 
15 // Framework includes
16 #include "GaudiKernel/MsgStream.h"
17 
18 // FourMom includes
20 
21 // EventCommonTPCnv includes
23 
24 
25 void
27  P4ImplPxPyPzE* transObj,
28  MsgStream &/*msg*/ ) const
29 {
30  transObj->m_px = persObj->m_px;
31  transObj->m_py = persObj->m_py;
32  transObj->m_pz = persObj->m_pz;
33  transObj->m_e = persObj->m_ene;
34  return;
35 }
36 
37 void
39  P4ImplPxPyPzE_p1* persObj,
40  MsgStream &/*msg*/ ) const
41 {
42  persObj->m_px = transObj->m_px;
43  persObj->m_py = transObj->m_py;
44  persObj->m_pz = transObj->m_pz;
45  persObj->m_ene = transObj->m_e;
46  return;
47 }
P4PxPyPzE_p1::m_ene
float m_ene
Definition: P4PxPyPzE_p1.h:42
P4PxPyPzE_p1::m_pz
float m_pz
Definition: P4PxPyPzE_p1.h:41
P4PxPyPzE_p1::m_py
float m_py
Definition: P4PxPyPzE_p1.h:40
P4ImplPxPyPzE::m_pz
double m_pz
Definition: P4ImplPxPyPzE.h:129
P4ImplPxPyPzECnv_p1.h
P4ImplPxPyPzE::m_px
double m_px
Definition: P4ImplPxPyPzE.h:127
P4ImplPxPyPzE.h
P4ImplPxPyPzE::m_e
double m_e
Definition: P4ImplPxPyPzE.h:130
P4ImplPxPyPzE::m_py
double m_py
Definition: P4ImplPxPyPzE.h:128
P4ImplPxPyPzE
Definition: P4ImplPxPyPzE.h:32
P4PxPyPzE_p1
Definition: P4PxPyPzE_p1.h:23
P4ImplPxPyPzECnv_p1::persToTrans
virtual void persToTrans(const P4ImplPxPyPzE_p1 *persObj, P4ImplPxPyPzE *transObj, MsgStream &msg) const override
Method creating the transient representation of P4ImplPxPyPzE from its persistent representation P4Im...
Definition: P4ImplPxPyPzECnv_p1.cxx:26
P4PxPyPzE_p1::m_px
float m_px
Definition: P4PxPyPzE_p1.h:39
P4ImplPxPyPzECnv_p1::transToPers
virtual void transToPers(const P4ImplPxPyPzE *transObj, P4ImplPxPyPzE_p1 *persObj, MsgStream &msg) const override
Method creating the persistent representation P4ImplPxPyPzE_p1 from its transient representation P4Px...
Definition: P4ImplPxPyPzECnv_p1.cxx:38