CMS 3D CMS Logo

List of all members | Public Member Functions
L1TStubCompare Struct Reference

Public Member Functions

bool operator() (const trklet::L1TStub &x, const trklet::L1TStub &y) const
 

Detailed Description

Definition at line 118 of file L1FPGATrackProducer.cc.

Member Function Documentation

◆ operator()()

bool L1TStubCompare::operator() ( const trklet::L1TStub x,
const trklet::L1TStub y 
) const
inline

Definition at line 120 of file L1FPGATrackProducer.cc.

120  {
121  if (x.x() != y.x())
122  return (y.x() > x.x());
123  else {
124  if (x.y() != y.y())
125  return (y.y() > x.y());
126  else
127  return (x.z() > y.z());
128  }
129  }
DDAxes::y
DDAxes::x