ATLAS Offline Software
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
python.SystemOfUnits.m
int m
Definition:
SystemOfUnits.py:91
phi
Scalar phi() const
phi method
Definition:
AmgMatrixBasePlugin.h:67
P4IPtCotThPhiM::P4IPtCotThPhiM
P4IPtCotThPhiM()
default constructor
Definition:
P4IPtCotThPhiM.h:80
I4MomentumError
Definition:
I4MomentumError.h:28
P4IPtCotThPhiM::m_iPt
double m_iPt
Definition:
P4IPtCotThPhiM.h:73
P4IPtCotThPhiM::iPt
virtual double iPt() const
get inverse pT data member
Definition:
P4IPtCotThPhiM.h:100
P4IPtCotThPhiM::errors
virtual const I4MomentumError * errors() const
Access to errors, if available; returns 0 if no errors.
Definition:
P4IPtCotThPhiM.cxx:20
Generated on Thu Nov 7 2024 21:23:06 for ATLAS Offline Software by
1.8.18