Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 789 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 789 Bytes

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