#include "DataFormats/GeometryVector/interface/Pi.h"
#include "Math/VectorUtil.h"
#include <cmath>
Go to the source code of this file.
Namespaces | |
namespace | Geom |
Functions | |
double | Geom::deltaBarePhi (double phi1, double phi2) |
Find aximutal Angle difference between two generic vectors ( v2.Phi() - v1.Phi() ) The only requirements on the Vector classes is that they implement the Phi() method. | |
template<class Vector1, class Vector2> | |
double | Geom::deltaPhi (const Vector1 &v1, const Vector2 &v2) |
double | Geom::deltaPhi (double phi1, double phi2) |
double | Geom::deltaPhi (float phi1, float phi2) |
template<class Vector1, class Vector2> | |
double | Geom::deltaR (const Vector1 &v1, const Vector2 &v2) |
template<class Vector1, class Vector2> | |
double | Geom::deltaR2 (const Vector1 &v1, const Vector2 &v2) |
Find difference in pseudorapidity (Eta) and Phi betwen two generic vectors The only requirements on the Vector classes is that they implement the Phi() and Eta() method. | |
template<class Vector1, class Vector2> | |
bool | Geom::phiLess (const Vector1 &v1, const Vector2 &v2) |
bool | Geom::phiLess (double phi1, double phi2) |
bool | Geom::phiLess (float phi1, float phi2) |
Definition of ordering of azimuthal angles. |