LorentzVectorHEP.jl

X, y, z, t and pt, eta, phi, M Lorentz Vectors as used in collider experiments at CERN and other places
Author JuliaHEP
Popularity
5 Stars
Updated Last
5 Months Ago
Started In
April 2022

LorentzVectorHEP

Provides two types (and the conversion between the two):

  • LorentzVector (energy, px, py, pz) (from LorentzVectors.jl)
  • LorentzVectorCyl (pt, eta, phi, mass)

you can also use fromPtEtaPhiE(pt, eta, phi, energy) --> LorentzVectorCyl.

and these functions for both of them:

px, py, pz, energy, pt, rapidity, eta, phi, mass

as well as these utility functions:

deltar, deltaphi, deltaeta, mt, mt2

(some of them have aliases, ΔR, Δϕ, Δη)

There are some unexported methods which are useful for more specialist use cases:

mass2, pt2, mt, mt2, mag

LHC coordinate system

LHC Coordinate System

Required Packages

Used By Packages