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 24 of file Phase2EndcapRing.cc.

Member Function Documentation

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

Definition at line 26 of file Phase2EndcapRing.cc.

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