Define three-vector and four-vector classes for the HitFit package, and supply a few additional operations. See the documentation for the header file fourvec.h for details. More...
#include "TopQuarkAnalysis/TopHitFit/interface/fourvec.h"
#include <cmath>
Go to the source code of this file.
Namespaces | |
namespace | hitfit |
Functions | |
void | hitfit::adjust_e_for_mass (Fourvec &v, double mass) |
Adjust the energy component of four-vector v (leaving the three-vector part unchanged) so that the four-vector has mass as specified in the argument. | |
void | hitfit::adjust_p_for_mass (Fourvec &v, double mass) |
Adjust the three-vector part of v, leaving the energy unchanged,. | |
double | hitfit::delta_r (const Fourvec &a, const Fourvec &b) |
Find the distance between two four-vectors in the two-dimensional space . | |
double | hitfit::deteta (const Fourvec &v, double zvert) |
NOT USED ANYMORE: Get the detector (D0-specific), requires z-vertex. | |
double | hitfit::eta_to_theta (double eta) |
Convert pseudorapidity to polar angle. | |
double | hitfit::phidiff (double phi) |
Normalized difference in azimuthal angles to a range between . | |
void | hitfit::roteta (Fourvec &v, double eta) |
Rotate four-vector v through a polar angle such that the four-vector pseudorapidity changes by a desired value. | |
void | hitfit::rottheta (Fourvec &v, double theta) |
Rotate four-vector v through a polar angle. | |
double | hitfit::theta_to_eta (double theta) |
Convert polar angle to pseudorapidity. |
Define three-vector and four-vector classes for the HitFit package, and supply a few additional operations. See the documentation for the header file fourvec.h for details.
Definition in file fourvec.cc.