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

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  }