CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
DeltaR< T1, T2 > Struct Template Reference

#include <deltaR.h>

Public Member Functions

double operator() (const T1 &t1, const T2 &t2) const
 

Detailed Description

template<typename T1, typename T2 = T1>
struct DeltaR< T1, T2 >

Definition at line 79 of file deltaR.h.

Member Function Documentation

template<typename T1, typename T2 = T1>
double DeltaR< T1, T2 >::operator() ( const T1 &  t1,
const T2 &  t2 
) const
inline

Definition at line 80 of file deltaR.h.

80  {
81  return reco::deltaR(t1, t2);
82  }
auto const T2 &decltype(t1.eta()) t2
Definition: deltaR.h:18
auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:30