ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
EventCommonTPCnv
src
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
19
#include "
FourMom/P4IPtCotThPhiM.h
"
20
21
// EventCommonTPCnv includes
22
#include "
EventCommonTPCnv/P4IPtCotThPhiMCnv_p1.h
"
23
24
25
void
26
P4IPtCotThPhiMCnv_p1::persToTrans
(
const
P4IPtCotThPhiM_p1
* persObj,
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
37
void
38
P4IPtCotThPhiMCnv_p1::transToPers
(
const
P4IPtCotThPhiM
* transObj,
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
}
P4IPtCotThPhiMCnv_p1.h
P4IPtCotThPhiM.h
P4IPtCotThPhiMCnv_p1::transToPers
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...
Definition
P4IPtCotThPhiMCnv_p1.cxx:38
P4IPtCotThPhiMCnv_p1::persToTrans
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...
Definition
P4IPtCotThPhiMCnv_p1.cxx:26
P4IPtCotThPhiM_p1
Definition
P4IPtCotThPhiM_p1.h:23
P4IPtCotThPhiM_p1::m_phi
float m_phi
Definition
P4IPtCotThPhiM_p1.h:41
P4IPtCotThPhiM_p1::m_iPt
float m_iPt
Definition
P4IPtCotThPhiM_p1.h:39
P4IPtCotThPhiM_p1::m_cotTh
float m_cotTh
Definition
P4IPtCotThPhiM_p1.h:40
P4IPtCotThPhiM_p1::m_mass
float m_mass
Definition
P4IPtCotThPhiM_p1.h:42
P4IPtCotThPhiM
P4IPtCotThPhiM is a concrete class with 4-momentum behavior for which 1/Pt, cottan(tehta),...
Definition
P4IPtCotThPhiM.h:27
P4IPtCotThPhiM::m
virtual double m() const
get m data member
Definition
P4IPtCotThPhiM.h:109
P4IPtCotThPhiM::setIPt
virtual void setIPt(double theIPt)
set inverse pT data member
Definition
P4IPtCotThPhiM.h:112
P4IPtCotThPhiM::setPhi
virtual void setPhi(double thePhi)
set phi data member
Definition
P4IPtCotThPhiM.h:118
P4IPtCotThPhiM::setCotTh
virtual void setCotTh(double theCotTh)
set cot(theta) data member
Definition
P4IPtCotThPhiM.h:115
P4IPtCotThPhiM::setM
virtual void setM(double theM)
set m data member
Definition
P4IPtCotThPhiM.h:121
P4IPtCotThPhiM::cotTh
virtual double cotTh() const
get cot(theta) data member
Definition
P4IPtCotThPhiM.h:103
P4IPtCotThPhiM::phi
virtual double phi() const
get phi data member
Definition
P4IPtCotThPhiM.h:106
P4IPtCotThPhiM::iPt
virtual double iPt() const
get inverse pT data member
Definition
P4IPtCotThPhiM.h:100
Generated on
for ATLAS Offline Software by
1.17.0