CMS 3D CMS Logo

Public Member Functions

Clusterizer1DCommons::ComparePairs< T > Struct Template Reference

#include <Clusterizer1DCommons.h>

List of all members.

Public Member Functions

bool operator() (const Cluster1D< T > &c1, const Cluster1D< T > &c2)

Detailed Description

template<class T>
struct Clusterizer1DCommons::ComparePairs< T >

Definition at line 15 of file Clusterizer1DCommons.h.


Member Function Documentation

template<class T >
bool Clusterizer1DCommons::ComparePairs< T >::operator() ( const Cluster1D< T > &  c1,
const Cluster1D< T > &  c2 
) [inline]

Definition at line 17 of file Clusterizer1DCommons.h.

References Cluster1D< T >::position(), and Measurement1D::value().

    {
        return ( c1.position().value() < c2.position().value() );
    };