CMS 3D CMS Logo

List of all members | Public Member Functions
DetGroupElementZLess Class Reference

Public Member Functions

bool operator() (DetGroup a, DetGroup b)
 

Detailed Description

Definition at line 23 of file Phase2EndcapRing.cc.

Member Function Documentation

◆ operator()()

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

Definition at line 25 of file Phase2EndcapRing.cc.

25  {
26  return (fabs(a.front().det()->position().z()) < fabs(b.front().det()->position().z()));
27  }

References a, and b.

b
double b
Definition: hdecay.h:118
a
double a
Definition: hdecay.h:119