CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 128 of file L1FPGATrackProducer.cc.

Member Function Documentation

◆ operator()()

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

Definition at line 130 of file L1FPGATrackProducer.cc.

References a, and b.

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