JuliaHEP / LorentzVectorHEP.jl

x, y, z, t and pt, eta, phi, M Lorentz Vectors as used in collider experiments at CERN and other places

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

x, y, z, t and pt, eta, phi, M Lorentz Vectors as used in collider experiments at CERN and other places

License:MIT License


Languages

Language:Julia 100.0%