CMS 3D CMS Logo

List of all members | Public Member Functions
L1TStubCompare Struct Reference

Public Member Functions

bool operator() (const trklet::L1TStub &a, const trklet::L1TStub &b) const
 

Detailed Description

Definition at line 119 of file L1FPGATrackProducer.cc.

Member Function Documentation

◆ operator()()

bool L1TStubCompare::operator() ( const trklet::L1TStub a,
const trklet::L1TStub b 
) const
inline

Definition at line 121 of file L1FPGATrackProducer.cc.

References a, and b.

121  {
122  if (a.x() != b.x())
123  return (b.x() > a.x());
124  else {
125  if (a.y() != b.y())
126  return (b.y() > a.y());
127  else
128  return (a.z() > b.z());
129  }
130  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119