ATLAS Offline Software
Loading...
Searching...
No Matches
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
6
7P4IPtCotThPhiM::P4IPtCotThPhiM(const double iPt, const double cotTh, const double phi, const double 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
21{
22 return 0;
23}
virtual double m() const
get m data member
P4IPtCotThPhiM()
default constructor
virtual const I4MomentumError * errors() const
Access to errors, if available; returns 0 if no errors.
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