Hammer  1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FourMomentum.hh File Reference

Hammer four momentum class. More...

#include <array>
#include <boost/operators.hpp>
#include "Hammer/Config/HammerConfig.hh"
#include "Hammer/Tools/HammerRoot.fhh"
+ Include dependency graph for FourMomentum.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Hammer::FourMomentum
 4-momentum class More...
 

Namespaces

 Hammer
 The Hammer namespace contains the library code.
 

Functions

double Hammer::dot (const FourMomentum &v, const FourMomentum &w)
 
double Hammer::operator* (const FourMomentum &v, const FourMomentum &w)
 contracts two 4-momenta More...
 
double Hammer::angle (const FourMomentum &v, const FourMomentum &w)
 computes the angle between the spatial components of two 4-momenta More...
 
double Hammer::deltaR (const FourMomentum &v, const FourMomentum &w)
 computes \( \Delta R = \sqrt{\Delta \eta^2 + \Delta \phi^2} \) between two 4-momenta More...
 
double Hammer::deltaPhi (const FourMomentum &v, const FourMomentum &w)
 computes the difference between the azimuthal angles of two 4-momenta More...
 
double Hammer::deltaEta (const FourMomentum &v, const FourMomentum &w)
 computes the difference between the pseudorapidities of two 4-momenta More...
 
double Hammer::epsilon (const FourMomentum &a, const FourMomentum &b, const FourMomentum &c, const FourMomentum &d)
 contracts four 4-momenta with an 4D epsilon tensor. More...
 
FourMomentum Hammer::boostToRestFrameOf (const FourMomentum &mom, double vx, double vy, double vz)
 
FourMomentum Hammer::boostToRestFrameOf (const FourMomentum &mom, const std::array< double, 3 > &v)
 
FourMomentum Hammer::boostToRestFrameOf (const FourMomentum &mom, const FourMomentum &v)
 
double Hammer::dot (const std::array< double, 3 > &a, const std::array< double, 3 > &b)
 
double Hammer::costheta (const std::array< double, 3 > &a, const std::array< double, 3 > &b)
 

Detailed Description

Hammer four momentum class.

Definition in file FourMomentum.hh.