CMS 3D CMS Logo

List of all members | Public Member Functions
DeltaPhi< T1, T2 > Struct Template Reference

#include <deltaPhi.h>

Public Member Functions

auto operator() (const T1 &t1, const T2 &t2) -> decltype(reco::deltaPhi(t1, t2)) const
 

Detailed Description

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

Definition at line 55 of file deltaPhi.h.

Member Function Documentation

template<typename T1 , typename T2 = T1>
auto DeltaPhi< T1, T2 >::operator() ( const T1 &  t1,
const T2 &  t2 
) -> decltype(reco::deltaPhi(t1, t2)) const
inline

Definition at line 56 of file deltaPhi.h.

References reco::deltaPhi(), and reco::t2.

56  {
57  return reco::deltaPhi(t1, t2);
58  }
auto const T2 &decltype(t1.eta()) t2
Definition: deltaR.h:16
double deltaPhi(double phi1, double phi2)
Definition: deltaPhi.h:22