ATLAS Offline Software
|
#include <P4ImplPtEtaPhiM.h>
Public Types | |
typedef FourMomentumError< P4ImplPtEtaPhiM > | ErrorType |
Public Member Functions | |
P4ImplPtEtaPhiM () | |
Default constructor: More... | |
P4ImplPtEtaPhiM (const P4ImplPtEtaPhiM &rhs) | |
Copy constructor. More... | |
P4ImplPtEtaPhiM & | operator= (const P4ImplPtEtaPhiM &rhs) |
Assignment operator. More... | |
P4ImplPtEtaPhiM (const double pt, const double eta, const double phi, const double m) | |
constructor with all data members More... | |
P4ImplPtEtaPhiM (const CLHEP::HepLorentzVector &hlv) | |
constructor from hlv to allow conversion from hlv More... | |
P4ImplPtEtaPhiM (const I4Momentum &theI4M) | |
constructor from any I4Momentum reference More... | |
P4ImplPtEtaPhiM (const I4Momentum *const theI4M) | |
constructor from any I4Momentum pointer More... | |
virtual | ~P4ImplPtEtaPhiM () |
virtual destructor needed by pool More... | |
double | m () const |
{@ a la I4Momentum -like interface More... | |
double | eta () const |
double | phi () const |
double | pt () const |
virtual const I4MomentumError * | errors () const |
I4Momentum::Kind | kind () const |
void | setPt (const double thePt) |
set pt data member More... | |
void | setEta (const double theEta) |
set eta data member More... | |
void | setPhi (const double thePhi) |
set phi data member More... | |
void | setM (const double theM) |
set mass data member More... | |
void | setErrors (const ErrorMatrixPtEtaPhiM &err) |
set the errors More... | |
void | set4Mom (const I4Momentum &theI4Mom) |
set all 4-mom from another I4Momentum reference More... | |
void | set4Mom (const I4Momentum *const theI4Mom) |
set all 4-mom from another I4Momentum pointer More... | |
void | set4Mom (const CLHEP::HepLorentzVector &theHlv) |
set all 4-mom from CLHEP HepLorentzVector More... | |
double | px () const |
{@ a la I4Momentum -like interface More... | |
double | py () const |
double | pz () const |
double | m2 () const |
double | p () const |
double | p2 () const |
double | e () const |
double | et () const |
double | iPt () const |
double | rapidity () const |
double | cosPhi () const |
double | sinPhi () const |
double | tanTh () const |
double | cosTh () const |
double | sinTh () const |
double | cotTh () const |
CLHEP::HepLorentzVector | hlv () const |
std::ostream & | dump (std::ostream &out) const |
Print I4Momentum content. More... | |
Private Attributes | |
double | m_pt |
double | m_eta |
double | m_phi |
double | m_m |
std::unique_ptr< ErrorType > | m_error |
Friends | |
class | P4ImplPtEtaPhiMCnv_p1 |
P4ImplPtEtaPhiM is a base class for classes with 4-momentum behavior, for which pt, eta, phi and M are natural parameters, which is typically the case for a ger object. Any class deriving from it should implement pt(), eta(), phi(), m().
Definition at line 40 of file P4ImplPtEtaPhiM.h.
Definition at line 46 of file P4ImplPtEtaPhiM.h.
|
inline |
|
inlineexplicit |
|
inline |
|
inlineexplicit |
constructor from any I4Momentum reference
Definition at line 171 of file P4ImplPtEtaPhiM.h.
|
inlineexplicit |
constructor from any I4Momentum pointer
Definition at line 180 of file P4ImplPtEtaPhiM.h.
|
inlinevirtual |
|
inlineinherited |
Definition at line 172 of file P4BasePtEtaPhiM.h.
|
inlineinherited |
Definition at line 184 of file P4BasePtEtaPhiM.h.
|
inlineinherited |
Definition at line 201 of file P4BasePtEtaPhiM.h.
|
inlineinherited |
|
inlineinherited |
Definition at line 141 of file P4BasePtEtaPhiM.h.
|
inlinevirtual |
Definition at line 212 of file P4ImplPtEtaPhiM.h.
|
inlineinherited |
Definition at line 155 of file P4BasePtEtaPhiM.h.
|
inlinevirtual |
Implements P4BasePtEtaPhiM.
Definition at line 197 of file P4ImplPtEtaPhiM.h.
|
inlineinherited |
Definition at line 217 of file P4BasePtEtaPhiM.h.
|
inlineinherited |
Definition at line 160 of file P4BasePtEtaPhiM.h.
|
inline |
Definition at line 89 of file P4ImplPtEtaPhiM.h.
|
inlinevirtual |
{@ a la I4Momentum
-like interface
Implements P4BasePtEtaPhiM.
Definition at line 192 of file P4ImplPtEtaPhiM.h.
|
inlineinherited |
Definition at line 110 of file P4BasePtEtaPhiM.h.
P4ImplPtEtaPhiM & P4ImplPtEtaPhiM::operator= | ( | const P4ImplPtEtaPhiM & | rhs | ) |
|
inlineinherited |
Definition at line 116 of file P4BasePtEtaPhiM.h.
|
inlineinherited |
Definition at line 129 of file P4BasePtEtaPhiM.h.
|
inlinevirtual |
Implements P4BasePtEtaPhiM.
Definition at line 202 of file P4ImplPtEtaPhiM.h.
|
inlinevirtual |
Implements P4BasePtEtaPhiM.
Definition at line 207 of file P4ImplPtEtaPhiM.h.
|
inlineinherited |
{@ a la I4Momentum
-like interface
Definition at line 95 of file P4BasePtEtaPhiM.h.
|
inlineinherited |
Definition at line 100 of file P4BasePtEtaPhiM.h.
|
inlineinherited |
Definition at line 105 of file P4BasePtEtaPhiM.h.
|
inlineinherited |
Definition at line 165 of file P4BasePtEtaPhiM.h.
|
inline |
|
inline |
set all 4-mom from another I4Momentum reference
Definition at line 240 of file P4ImplPtEtaPhiM.h.
|
inline |
set all 4-mom from another I4Momentum pointer
Definition at line 248 of file P4ImplPtEtaPhiM.h.
|
inline |
set the errors
Definition at line 267 of file P4ImplPtEtaPhiM.h.
|
inline |
set eta data member
Definition at line 225 of file P4ImplPtEtaPhiM.h.
|
inline |
|
inline |
set phi data member
Definition at line 230 of file P4ImplPtEtaPhiM.h.
|
inline |
|
inlineinherited |
Definition at line 177 of file P4BasePtEtaPhiM.h.
|
inlineinherited |
Definition at line 189 of file P4BasePtEtaPhiM.h.
|
inlineinherited |
Definition at line 206 of file P4BasePtEtaPhiM.h.
|
friend |
Definition at line 42 of file P4ImplPtEtaPhiM.h.
|
private |
Definition at line 126 of file P4ImplPtEtaPhiM.h.
|
private |
Definition at line 123 of file P4ImplPtEtaPhiM.h.
|
private |
Definition at line 125 of file P4ImplPtEtaPhiM.h.
|
private |
Definition at line 124 of file P4ImplPtEtaPhiM.h.
|
private |
Definition at line 122 of file P4ImplPtEtaPhiM.h.