ATLAS Offline Software
Loading...
Searching...
No Matches
P4IPtCotThPhiMCnv_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// P4IPtCotThPhiMCnv_p1.cxx
8// Implementation file for class P4IPtCotThPhiMCnv_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 P4IPtCotThPhiM* transObj,
28 MsgStream &/*log*/ ) const
29{
30 transObj->setIPt ((double)persObj->m_iPt);
31 transObj->setCotTh ((double)persObj->m_cotTh);
32 transObj->setPhi ((double)persObj->m_phi);
33 transObj->setM ((double)persObj->m_mass);
34 return;
35}
36
37void
39 P4IPtCotThPhiM_p1* persObj,
40 MsgStream &/*log*/ ) const
41{
42 persObj->m_iPt = (float)transObj->iPt();
43 persObj->m_cotTh = (float)transObj->cotTh();
44 persObj->m_phi = (float)transObj->phi();
45 persObj->m_mass = (float)transObj->m();
46 return;
47}
virtual void transToPers(const P4IPtCotThPhiM *transObj, P4IPtCotThPhiM_p1 *persObj, MsgStream &log) const override
Method creating the persistent representation P4IPtCotThPhiM_p1 from its transient representation P4I...
virtual void persToTrans(const P4IPtCotThPhiM_p1 *persObj, P4IPtCotThPhiM *transObj, MsgStream &log) const override
Method creating the transient representation of P4IPtCotThPhiM from its persistent representation P4I...
P4IPtCotThPhiM is a concrete class with 4-momentum behavior for which 1/Pt, cottan(tehta),...
virtual double m() const
get m data member
virtual void setIPt(double theIPt)
set inverse pT data member
virtual void setPhi(double thePhi)
set phi data member
virtual void setCotTh(double theCotTh)
set cot(theta) data member
virtual void setM(double theM)
set m data member
virtual double cotTh() const
get cot(theta) data member
virtual double phi() const
get phi data member
virtual double iPt() const
get inverse pT data member