CMS 3D CMS Logo

List of all members | Public Member Functions
CrossingPtBasedLinearizationPointFinder::CompareTwoTracks Struct Reference

Public Member Functions

int operator() (const reco::TransientTrack &a, const reco::TransientTrack &b)
 

Detailed Description

Private struct to order tracks by momentum

Definition at line 71 of file CrossingPtBasedLinearizationPointFinder.h.

Member Function Documentation

◆ operator()()

int CrossingPtBasedLinearizationPointFinder::CompareTwoTracks::operator() ( const reco::TransientTrack a,
const reco::TransientTrack b 
)
inline

Definition at line 72 of file CrossingPtBasedLinearizationPointFinder.h.

References a, and b.

72  {
73  return a.initialFreeState().momentum().mag() > b.initialFreeState().momentum().mag();
74  // return a.p() > b.p();
75  };
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119