ATLAS Offline Software
P4EEtaPhiM.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/P4EEtaPhiM.h"
6 
7 P4EEtaPhiM::P4EEtaPhiM(const double e, const double eta, const double phi, const double m):
8  m_e(e),m_eta(eta),m_phi(phi),m_m(m)
9 { // could enforce phi range convention there
10  // const double twopi =2.*M_PI;
11  // const double threepi=3.*M_PI;
12  // m_phi=fmod(phi+threepi,twopi)-M_PI;
13 }
14 
16 {
17  return 0;
18 }
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
P4EEtaPhiM::errors
virtual const I4MomentumError * errors() const
Access to errors, if available; returns 0 if no errors.
Definition: P4EEtaPhiM.cxx:15
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
I4MomentumError
Definition: I4MomentumError.h:28
P4EEtaPhiM.h
P4EEtaPhiM::P4EEtaPhiM
P4EEtaPhiM()
default constructor
Definition: P4EEtaPhiM.h:82