|
ThePEG
1.8.0
|
Transverse represents the transverse components of a LorentzVector. More...
#include <Transverse.h>

Public Types | |
| typedef BinaryOpTraits< Value, Value >::MulT | Value2 |
| Template argument typedef. More... | |
| typedef pair< Value, Value > | BasePair |
| Template argument typedef. More... | |
Public Member Functions | |
Constructors. | |
| Transverse () | |
| Default constructor. | |
| Transverse (const BasePair &p) | |
| Constructor from underlying representation. | |
| Transverse (Value x, Value y) | |
| Constructor from x and y components. | |
| Transverse (const ThreeVector< Value > &p) | |
| Constructor taking the transverse parts of a ThreeVector. | |
| Transverse (const LorentzVector< Value > &p) | |
| Constructor taking the transverse parts of a LorentzVector. | |
| Transverse (const Lorentz5Vector< Value > &p) | |
| Constructor taking the transverse parts of a Lorentz5Vector. | |
Assignment operators. | |
| const Transverse & | operator= (const BasePair &p) |
| Assignment from underlying representation. | |
| const Transverse & | operator= (const ThreeVector< Value > &p) |
| Assignment taking the transverse parts of a ThreeVector. | |
| const Transverse & | operator= (const LorentzVector< Value > &p) |
| Assignment taking the transverse parts of a LorentzVector. | |
| const Transverse & | operator= (const Lorentz5Vector< Value > &p) |
| Assignment taking the transverse parts of a Lorentz5Vector. | |
Arithmetric operations | |
| Transverse | operator- () const |
| Unary minus. | |
| Transverse | operator- (const Transverse &pt) const |
| Binary minus. | |
| Transverse & | operator-= (const Transverse &pt) |
| Assign-subtract. | |
| Transverse | operator+ (const Transverse &pt) const |
| Addition. | |
| Transverse & | operator+= (const Transverse &pt) |
| Assign-add. | |
| Transverse & | operator*= (double a) |
| Multiply-assign with a scalar. | |
| Transverse & | operator/= (double a) |
| Divide-assign with a scalar. | |
Access coordinates. | |
| Value | x () const |
| The x-component. | |
| Value | y () const |
| The y-component. | |
| Value2 | pt2 () const |
| The magnitude squared. | |
| Value | pt () const |
| The magnitude. | |
| double | phi () const |
| The azimuth angle. | |
Transverse represents the transverse components of a LorentzVector.
It inherits from std::pair<Value,Value> and can be used anywhere such a pair is called for. It can also be created directly from a ThreeVector, LorentzVector and Lorentz5Momentum.
Definition at line 30 of file Transverse.h.
| typedef pair<Value,Value> ThePEG::Transverse< Value >::BasePair |
Template argument typedef.
Definition at line 37 of file Transverse.h.
| typedef BinaryOpTraits<Value,Value>::MulT ThePEG::Transverse< Value >::Value2 |
Template argument typedef.
Definition at line 35 of file Transverse.h.
1.8.9.1