ATLAS Offline Software
Loading...
Searching...
No Matches
P4ImplIPtCotThPhiMCnv_p1.cxx
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5*/
6
7// P4ImplIPtCotThPhiMCnv_p1.cxx
8// Implementation file for class P4ImplIPtCotThPhiMCnv_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
25void
27 P4ImplIPtCotThPhiM* transObj,
28 MsgStream &/*msg*/ ) const
29{
30 transObj->m_iPt = persObj->m_iPt;
31 transObj->m_cotTh = persObj->m_cotTh;
32 transObj->m_phi = persObj->m_phi;
33 transObj->m_m = persObj->m_mass;
34 return;
35}
36
37void
39 P4ImplIPtCotThPhiM_p1* persObj,
40 MsgStream &/*log*/ ) const
41{
42 persObj->m_iPt = transObj->m_iPt;
43 persObj->m_cotTh = transObj->m_cotTh;
44 persObj->m_phi = transObj->m_phi;
45 persObj->m_mass = transObj->m_m;
46 return;
47}
P4IPtCotThPhiM_p1 P4ImplIPtCotThPhiM_p1
virtual void persToTrans(const P4ImplIPtCotThPhiM_p1 *persObj, P4ImplIPtCotThPhiM *transObj, MsgStream &msg) const override
Method creating the transient representation of P4ImplIPtCotThPhiM from its persistent representation...
virtual void transToPers(const P4ImplIPtCotThPhiM *transObj, P4ImplIPtCotThPhiM_p1 *persObj, MsgStream &msg) const override
Method creating the persistent representation P4ImplIPtCotThPhiM_p1 from its transient representation...
P4ImplIPtCotThPhiM is a base class for classes with 4-momentum behavior, for which 1/Pt,...
double m_iPt
inverse P_T
double m_cotTh
cot(theta)