CMS 3D CMS Logo

List of all members | Static Public Member Functions
npstat::ComplexComparesFalse< T > Struct Template Reference

#include <ComplexComparesFalse.h>

Static Public Member Functions

static bool less (const T &l, const T &r)
 
static bool more (const T &l, const T &r)
 

Detailed Description

template<class T>
struct npstat::ComplexComparesFalse< T >

This template compares two numbers. For simple numeric types (int, double, etc) the numbers themselves are compared while for std::complex<...> types "false" is returned for every comparison.

Definition at line 23 of file ComplexComparesFalse.h.

Member Function Documentation

◆ less()

template<class T >
static bool npstat::ComplexComparesFalse< T >::less ( const T l,
const T r 
)
inlinestatic

Definition at line 24 of file ComplexComparesFalse.h.

24 { return l < r; }

References cmsLHEtoEOSManager::l, and alignCSCRings::r.

◆ more()

template<class T >
static bool npstat::ComplexComparesFalse< T >::more ( const T l,
const T r 
)
inlinestatic

Definition at line 26 of file ComplexComparesFalse.h.

26 { return l > r; }

References cmsLHEtoEOSManager::l, and alignCSCRings::r.

cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
alignCSCRings.r
r
Definition: alignCSCRings.py:93