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 119 of file L1FPGATrackProducer.cc.

Member Function Documentation

◆ operator()()

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

Definition at line 121 of file L1FPGATrackProducer.cc.

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