CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions
LessByNormalizedChi2< T > Struct Template Reference

#include <BestVertexComparator.h>

Public Types

typedef T first_argument_type
 
typedef T second_argument_type
 

Public Member Functions

bool operator() (const T &t1, const T &t2) const
 

Detailed Description

template<typename T>
struct LessByNormalizedChi2< T >

Definition at line 14 of file BestVertexComparator.h.

Member Typedef Documentation

template<typename T >
typedef T LessByNormalizedChi2< T >::first_argument_type

Definition at line 15 of file BestVertexComparator.h.

template<typename T >
typedef T LessByNormalizedChi2< T >::second_argument_type

Definition at line 16 of file BestVertexComparator.h.

Member Function Documentation

template<typename T >
bool LessByNormalizedChi2< T >::operator() ( const T t1,
const T t2 
) const
inline

Definition at line 17 of file BestVertexComparator.h.

17  {
18  return t1.normalizeChi2() < t2.normalizedChi2();
19  }
auto const T2 &decltype(t1.eta()) t2
Definition: deltaR.h:18