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 {
133  if (a.y() != b.y())
134  return (b.y() > a.y());
135  else
136  return (a.z() > b.z());
137  }
138  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119