PtEtaPhiELorentzVector
- class coffea.nanoevents.methods.vector.PtEtaPhiELorentzVector[source]
Bases:
LorentzVector,SphericalThreeVectorA Lorentz vector using pseudorapidity and energy
This mixin class requires the parent class to provide items
pt,eta,phi, andenergy. Some additional properties are overridden for performanceAttributes Summary
Alias for
tAlias for
tPseudorapidity
Azimuthal angle relative to X axis in XY plane
Alias for
rDistance from origin in XY plane
Distance from origin in 3D
Squared
rhoCartesian time component
Inclination angle from XY plane
Cartesian z value
Methods Summary
multiply(other)Multiply this vector by a scalar elementwise using
x,y,z, andtcomponentsnegative()Returns the negative of the vector
Attributes Documentation
- eta
Pseudorapidity
\(-\ln\tan(\theta/2) = \text{arcsinh}(z/r)\)
- phi
Azimuthal angle relative to X axis in XY plane
\(\text{arctan2}(y, x)\)
- r
Distance from origin in XY plane
\(\sqrt{x^2+y^2} = \rho \sin(\theta)\)
- rho
Distance from origin in 3D
\(\sqrt{x^2+y^2+z^2} = \sqrt{r^2+z^2}\)
- t
Cartesian time component
\(\sqrt{\rho^2+m^2}\)
- theta
Inclination angle from XY plane
\(\text{arctan2}(r, z) = 2\text{arctan}(e^{-\eta})\)
- z
Cartesian z value
\(r \sinh(\eta)\)
Methods Documentation