ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
EventCommonTPCnv
src
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
19
#include "
FourMom/Lib/P4ImplIPtCotThPhiM.h
"
20
21
// EventCommonTPCnv includes
22
#include "
EventCommonTPCnv/P4ImplIPtCotThPhiMCnv_p1.h
"
23
24
25
void
26
P4ImplIPtCotThPhiMCnv_p1::persToTrans
(
const
P4ImplIPtCotThPhiM_p1
* persObj,
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
37
void
38
P4ImplIPtCotThPhiMCnv_p1::transToPers
(
const
P4ImplIPtCotThPhiM
* transObj,
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
}
P4ImplIPtCotThPhiMCnv_p1.h
P4ImplIPtCotThPhiM_p1
P4IPtCotThPhiM_p1 P4ImplIPtCotThPhiM_p1
Definition
P4ImplIPtCotThPhiMCnv_p1.h:32
P4ImplIPtCotThPhiM.h
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
P4ImplIPtCotThPhiMCnv_p1::persToTrans
virtual void persToTrans(const P4ImplIPtCotThPhiM_p1 *persObj, P4ImplIPtCotThPhiM *transObj, MsgStream &msg) const override
Method creating the transient representation of P4ImplIPtCotThPhiM from its persistent representation...
Definition
P4ImplIPtCotThPhiMCnv_p1.cxx:26
P4ImplIPtCotThPhiMCnv_p1::transToPers
virtual void transToPers(const P4ImplIPtCotThPhiM *transObj, P4ImplIPtCotThPhiM_p1 *persObj, MsgStream &msg) const override
Method creating the persistent representation P4ImplIPtCotThPhiM_p1 from its transient representation...
Definition
P4ImplIPtCotThPhiMCnv_p1.cxx:38
P4ImplIPtCotThPhiM
P4ImplIPtCotThPhiM is a base class for classes with 4-momentum behavior, for which 1/Pt,...
Definition
P4ImplIPtCotThPhiM.h:41
P4ImplIPtCotThPhiM::m_phi
double m_phi
Phi.
Definition
P4ImplIPtCotThPhiM.h:132
P4ImplIPtCotThPhiM::m_iPt
double m_iPt
inverse P_T
Definition
P4ImplIPtCotThPhiM.h:124
P4ImplIPtCotThPhiM::m_m
double m_m
mass
Definition
P4ImplIPtCotThPhiM.h:136
P4ImplIPtCotThPhiM::m_cotTh
double m_cotTh
cot(theta)
Definition
P4ImplIPtCotThPhiM.h:128
Generated on
for ATLAS Offline Software by
1.17.0