CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
angle.h File Reference
#include <cmath>

Go to the source code of this file.

Functions

template<class T >
T angle (T x1, T y1, T z1, T x2, T y2, T z2)
 
template<typename T1 , typename T2 >
double angle (const T1 &t1, const T2 &t2)
 

Function Documentation

template<class T >
T angle ( T  x1,
T  y1,
T  z1,
T  x2,
T  y2,
T  z2 
)
template<typename T1 , typename T2 >
double angle ( const T1 &  t1,
const T2 &  t2 
)

Definition at line 16 of file angle.h.

References angle().

16  {
17  return angle( t1.x(), t1.y(), t1.z(), t2.x(), t2.y(), t2.z() );
18 }
auto const T2 &decltype(t1.eta()) t2
Definition: deltaR.h:16
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11