ATLAS Offline Software
P4ImplPtEtaPhiMCnv_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 // P4ImplPtEtaPhiMCnv_p1.cxx
8 // Implementation file for class P4ImplPtEtaPhiMCnv_p1
9 // Author: S.Binet<binet@cern.ch>
11 
12 
13 // STL includes
14 
15 // Framework includes
16 #include "GaudiKernel/MsgStream.h"
17 
18 // NavFourMom includes
20 
21 // EventCommonTPCnv includes
23 
24 
25 void
27  P4ImplPtEtaPhiM* transObj,
28  MsgStream &/*msg*/ ) const
29 {
30  transObj->m_pt = persObj->m_pt;
31  transObj->m_eta = persObj->m_eta;
32  transObj->m_phi = persObj->m_phi;
33  transObj->m_m = persObj->m_mass;
34  return;
35 }
36 
37 void
39  P4ImplPtEtaPhiM_p1* persObj,
40  MsgStream &/*msg*/ ) const
41 {
42  persObj->m_pt = transObj->m_pt;
43  persObj->m_eta = transObj->m_eta;
44  persObj->m_phi = transObj->m_phi;
45  persObj->m_mass = transObj->m_m;
46  return;
47 }
P4PtEtaPhiM_p1::m_eta
float m_eta
Definition: P4PtEtaPhiM_p1.h:40
P4PtEtaPhiM_p1::m_pt
float m_pt
Definition: P4PtEtaPhiM_p1.h:39
P4PtEtaPhiM_p1::m_mass
float m_mass
Definition: P4PtEtaPhiM_p1.h:42
P4ImplPtEtaPhiMCnv_p1.h
P4ImplPtEtaPhiM.h
P4ImplPtEtaPhiMCnv_p1::transToPers
virtual void transToPers(const P4ImplPtEtaPhiM *transObj, P4ImplPtEtaPhiM_p1 *persObj, MsgStream &msg) const override
Method creating the persistent representation P4ImplPtEtaPhiM_p1 from its transient representation P4...
Definition: P4ImplPtEtaPhiMCnv_p1.cxx:38
P4ImplPtEtaPhiMCnv_p1::persToTrans
virtual void persToTrans(const P4ImplPtEtaPhiM_p1 *persObj, P4ImplPtEtaPhiM *transObj, MsgStream &msg) const override
Method creating the transient representation of P4ImplPtEtaPhiM from its persistent representation P4...
Definition: P4ImplPtEtaPhiMCnv_p1.cxx:26
P4ImplPtEtaPhiM::m_pt
double m_pt
Definition: P4ImplPtEtaPhiM.h:122
P4ImplPtEtaPhiM
Definition: P4ImplPtEtaPhiM.h:41
P4ImplPtEtaPhiM::m_phi
double m_phi
Definition: P4ImplPtEtaPhiM.h:124
P4PtEtaPhiM_p1::m_phi
float m_phi
Definition: P4PtEtaPhiM_p1.h:41
P4PtEtaPhiM_p1
Definition: P4PtEtaPhiM_p1.h:23
P4ImplPtEtaPhiM::m_m
double m_m
Definition: P4ImplPtEtaPhiM.h:125
P4ImplPtEtaPhiM::m_eta
double m_eta
Definition: P4ImplPtEtaPhiM.h:123