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

Member Function Documentation

◆ operator()()

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

Definition at line 129 of file L1FPGATrackProducer.cc.

References a, and b.

129  {
130  if (a.x() != b.x())
131  return (b.x() > a.x());
132  else if (a.y() != b.y())
133  return (b.y() > a.y());
134  else if (a.z() != b.z())
135  return (a.z() > b.z());
136  else
137  return a.bend() > b.bend();
138  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121