Length Lorentz vector. More...
#include <LorentzVector.hh>
Inheritance diagram for boca::LorentzVector< Length >:
Collaboration diagram for boca::LorentzVector< Length >:
Public Member Functions | |
void | Smearing (const boca::Length &amount) |
Smearing of the for vector. More... | |
Constructor | |
LorentzVector () | |
Default constructor. More... | |
LorentzVector (::delphes::Track &track) | |
Constructor accepting a delphes::Track. More... | |
LorentzVector (::delphes::GenParticle &particle) | |
Constructor accepting a delphes::GenParticle. More... | |
![]() | |
boca::Angle | Rapidity (Vector3< double > const &vector) const |
Rapidity with respect to another vector. More... | |
boca::Angle | DeltaRapTo (LorentzVectorBase< Value_2_ > const &vector) const |
Difference in Rapidity to a vector \(\Delta y\). More... | |
boca::Angle | DeltaRTo (LorentzVectorBase< Value_2_ > const &vector) const |
Difference in agular space to a vector \(\Delta R = \sqrt{ (\Delta y)^2 + (\Delta \phi)^2}\) to vector. More... | |
constexpr | LorentzVectorBase () |
Default constructor. More... | |
constexpr | LorentzVectorBase (Lengthx, Lengthy, Lengthz, Lengtht) |
Constructor accepting the components x, y, z, t. More... | |
constexpr | LorentzVectorBase (Vector3< Length > const &vector3, Lengthconst &t) |
Constructor accepting a 3-Vector and a scalar component. More... | |
constexpr | LorentzVectorBase (LorentzVectorBase< Value_2 > const &lorentz_vector) |
Copy constructor with casting. More... | |
void | SetVectT (Vector3< Length > const &spatial, Lengtht) |
Set components. More... | |
void | SetRho (Lengthrho) |
Set spatial magnitude. More... | |
void | SetMag (Lengthmagnitude) |
Set Nergy according to spatial component and magnitude \(e = \sqrt{ m^2 + \rho^2}\). More... | |
void | SetVectMag (Vector3< Length > const &spatial, Lengthmagnitude) |
Copy spatial coordinates, and set \(e = \sqrt{ m^2 + \rho^2}\). More... | |
void | SetPerpEtaPhiMag (Lengthconst &perp, boca::Angle const &eta, boca::Angle const &phi, Lengthconst &mag) |
Set perp, \(\eta\), \(\phi\) and magnitude. More... | |
void | SetPerpEtaPhiT (Lengthconst &perp, boca::Angle const &eta, boca::Angle const &phi, Lengthconst &t) |
Set perp, \(\eta\), \(\phi\) and time. More... | |
constexpr Vector3< Length > const & | Spatial () const |
Getter for the spatial components. More... | |
Vector3< Length > & | Spatial () |
Accessor for the spatial components. More... | |
Length & | Scalar () |
Accessor for the scalar. More... | |
Length & | T () |
Getter for the spatial components. More... | |
constexpr Lengthconst & | Scalar () const |
Getter for the scalar component. More... | |
constexpr Lengthconst & | T () const |
Getter for the scalar component. More... | |
boca::Angle | Rapidity () const |
Rapidity \(y = \frac{1}{2} \ln\frac{t + z}{t - z}\). More... | |
boca::Angle | Rap () const |
Rapidity \(y = \frac{1}{2} \ln\frac{t + z}{t - z}\). More... | |
constexpr ValueSquare | Rho2 () const |
Square of the spatial radius \(\rho^2 = x^2 + y^2\). More... | |
constexpr Length | Rho () const |
spatial radius \(\rho = \sqrt{x^2 + y^2 + z^2}\) More... | |
constexpr ValueSquare | Mag2 () const |
Square of the magnitude \(m^2 = t^2 - \rho^2\). More... | |
constexpr Length | Mag () const |
Magnitude \(m = \sqrt{t^2 - \rho^2}\). More... | |
constexpr ValueSquare | MagT2 () const |
Square of the transvere magnitude \(m_T^2 = m^2 + x^2 + y^2\). More... | |
constexpr Length | MagT () const |
Transvere magnitude \(m_T = \sqrt{m^2 + x^2 + y^2}\). More... | |
constexpr ValueSquare | ScalarT2 () const |
transvere scalar square \(e_T^2 = e^2 \frac{p_T^2}{\rho^2}\) More... | |
constexpr ValueSquare | ScalarT2 (Vector3< Value > const &vector) const |
Transverse scalar squared towards a vector. More... | |
constexpr Length | ScalarT () const |
transvere scalar square \(e_T = e \frac{p_T}{\rho}\) More... | |
constexpr Length | ScalarT (Vector3< Value > const &vector) const |
Transverse scalar towards a vector. More... | |
constexpr double | Beta () const |
Relative velocity \(\beta = \frac{\rho}{t}\). More... | |
constexpr double | Gamma () const |
Lorentz factor \(\gamma = \frac{1}{\sqrt{1-\beta^2}}\). More... | |
constexpr Length | Plus () const |
Positive light cone component \(p = t + z\). More... | |
constexpr Length | Minus () const |
Negative light cone component \(m = t - z\). More... | |
constexpr Vector3< double > | BoostVector () const |
Spatial components divided by the time component. More... | |
constexpr Vector3< double > | BoostIntoRestFrame () const |
constexpr LorentzVectorBase< Length > | Boosted (Vector3< double > const &boost) const |
Boosted Lorentz vector. More... | |
LorentzVectorBase< Length > & | Boost (Vector3< double > const &boost) |
Boost this Lorentz vector. More... | |
constexpr LorentzVectorBase< ValueProduct< Value_2 > > | Scale (Value_2 const &scalar) const |
Scale. More... | |
constexpr ValueProduct< Value_2 > | Dot (LorentzVectorBase< Value_2 > const &lorentz_vector) const |
Scalar dot product with a lorentz vector. More... | |
constexpr ValueProduct< Value_2 > | Euclidean (LorentzVectorBase< Value_2 > const &lorentz_vector) const |
Euclidean product with a lorentz vector. More... | |
constexpr ConstIterator< Vector3, Length > | begin () const |
Iterator< Vector3, Length > | begin () |
constexpr ConstIterator< Vector3, Length > | end () const |
Iterator< Vector3, Length > | end () |
constexpr bool | operator< (LorentzVectorBase const &lorentz_vector) const |
Less than comparison. More... | |
constexpr bool | operator== (LorentzVectorBase const &lorentz_vector) const |
Equality comparison. More... | |
LorentzVectorBase & | operator+= (LorentzVectorBase< Value_2 > const &lorentz_vector) |
Additions. More... | |
LorentzVectorBase & | operator-= (LorentzVectorBase< Value_2 > const &lorentz_vector) |
Subtractions. More... | |
LorentzVectorBase & | operator*= (Value_2 scalar) |
Product with scalar. More... | |
LorentzVectorBase & | operator/= (Value_2 scalar) |
Divison by scalar. More... | |
constexpr LorentzVectorBase< ValueQuotient< Value_2 > > | operator/ (Value_2 const &scalar) const |
Divison by scalar. More... | |
constexpr LorentzVectorBase | operator- () const |
Unary minus. More... | |
Lengthconst & | operator[] (LorentzDim lorentz_dim) const |
components by index. More... | |
Length & | operator[] (LorentzDim lorentz_dim) |
components by index. More... | |
Additional Inherited Members | |
![]() | |
using | Dimension = LorentzDim |
![]() | |
using | OnlyIfNotQuantity = typename std::enable_if< !IsQuantity< Value_2 >::value >::type |
![]() | |
Length | scalar_ |
time or energy component More... | |
Detailed Description
template<>
class boca::LorentzVector< Length >
Length Lorentz vector.
Constructor & Destructor Documentation
boca::LorentzVector< Length >::LorentzVector | ( | ) |
Default constructor.
boca::LorentzVector< Length >::LorentzVector | ( | ::delphes::Track & | track | ) |
Constructor accepting a delphes::Track.
boca::LorentzVector< Length >::LorentzVector | ( | ::delphes::GenParticle & | particle | ) |
Constructor accepting a delphes::GenParticle.
Member Function Documentation
void boca::LorentzVector< Length >::Smearing | ( | const boca::Length & | amount | ) |
Smearing of the for vector.
The documentation for this class was generated from the following files:
- boca/math/LorentzVector.hh
- source/math/LorentzVector.cpp