CMS 3D CMS Logo

List of all members | Public Member Functions
DetGroupElementZLess Class Reference

#include <DetGroupElementZLess.h>

Public Member Functions

bool operator() (DetGroup a, DetGroup b)
 

Detailed Description

Definition at line 5 of file DetGroupElementZLess.h.

Member Function Documentation

◆ operator()()

bool DetGroupElementZLess::operator() ( DetGroup  a,
DetGroup  b 
)
inline

Definition at line 7 of file DetGroupElementZLess.h.

References a, funct::abs(), and b.

7  {
8  return (std::abs(a.front().det()->position().z()) < std::abs(b.front().det()->position().z()));
9  }
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119