CMS 3D CMS Logo

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 12 of file BestVertexComparator.h.

Member Typedef Documentation

◆ first_argument_type

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

Definition at line 13 of file BestVertexComparator.h.

◆ second_argument_type

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

Definition at line 14 of file BestVertexComparator.h.

Member Function Documentation

◆ operator()()

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

Definition at line 15 of file BestVertexComparator.h.

References RandomServiceHelper::t1, and RandomServiceHelper::t2.

15 { return t1.normalizeChi2() < t2.normalizedChi2(); }