ATLAS Offline Software
Loading...
Searching...
No Matches
Event
FourMom
src
P4IPtCotThPhiM.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
FourMom/P4IPtCotThPhiM.h
"
6
7
P4IPtCotThPhiM::P4IPtCotThPhiM
(
const
double
iPt
,
const
double
cotTh
,
const
double
phi
,
const
double
m
):
8
m_cotTh
(
cotTh
),
m_phi
(
phi
),
m_m
(
m
)
9
{
10
//inverse pT is unsigned. I put std::fabs there just for safety
11
m_iPt
=std::fabs(
iPt
);
12
13
14
// could enforce phi range convention there
15
// const double twopi =2.*M_PI;
16
// const double threepi=3.*M_PI;
17
// m_phi=fmod(phi+threepi,twopi)-M_PI;
18
}
19
20
const
I4MomentumError
*
P4IPtCotThPhiM::errors
()
const
21
{
22
return
0;
23
}
P4IPtCotThPhiM.h
I4MomentumError
Definition
I4MomentumError.h:28
P4IPtCotThPhiM::m
virtual double m() const
get m data member
Definition
P4IPtCotThPhiM.h:109
P4IPtCotThPhiM::m_phi
double m_phi
Definition
P4IPtCotThPhiM.h:75
P4IPtCotThPhiM::P4IPtCotThPhiM
P4IPtCotThPhiM()
default constructor
Definition
P4IPtCotThPhiM.h:80
P4IPtCotThPhiM::m_m
double m_m
Definition
P4IPtCotThPhiM.h:76
P4IPtCotThPhiM::errors
virtual const I4MomentumError * errors() const
Access to errors, if available; returns 0 if no errors.
Definition
P4IPtCotThPhiM.cxx:20
P4IPtCotThPhiM::m_cotTh
double m_cotTh
Definition
P4IPtCotThPhiM.h:74
P4IPtCotThPhiM::cotTh
virtual double cotTh() const
get cot(theta) data member
Definition
P4IPtCotThPhiM.h:103
P4IPtCotThPhiM::m_iPt
double m_iPt
Definition
P4IPtCotThPhiM.h:73
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.14.0