CMS 3D CMS Logo

Public Member Functions

lhef::cc::DeltaRSeparation< T1, T2, R > Struct Template Reference

Inheritance diagram for lhef::cc::DeltaRSeparation< T1, T2, R >:
binary_function

List of all members.

Public Member Functions

double operator() (const T1 &v1_, const T2 &v2_) const

Detailed Description

template<typename T1, typename T2, typename R>
struct lhef::cc::DeltaRSeparation< T1, T2, R >

Definition at line 32 of file JetMatchingMLM.cc.


Member Function Documentation

template<typename T1 , typename T2 , typename R >
double lhef::cc::DeltaRSeparation< T1, T2, R >::operator() ( const T1 &  v1_,
const T2 &  v2_ 
) const [inline]

Definition at line 33 of file JetMatchingMLM.cc.

                {
                        using namespace ROOT::Math;
                        Cartesian3D<R> v1(v1_.px(), v1_.py(), v1_.pz());
                        Cartesian3D<R> v2(v2_.px(), v2_.py(), v2_.pz());
                        return VectorUtil::DeltaR(v1, v2);
                }
        };