CMS 3D CMS Logo

List of all members | Public Member Functions
Clusterizer1DCommons::ComparePairs< T > Struct Template Reference

#include <Clusterizer1DCommons.h>

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 11 of file Clusterizer1DCommons.h.

Member Function Documentation

◆ operator()()

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

Definition at line 12 of file Clusterizer1DCommons.h.

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

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

Measurement1D::value
double value() const
Definition: Measurement1D.h:25
Cluster1D::position
Measurement1D position() const
Definition: Cluster1D.h:46
alignmentValidation.c1
c1
do drawing
Definition: alignmentValidation.py:1025