CMS 3D CMS Logo

List of all members | Public Member Functions
CompareTwoTracks Struct Reference

#include <ConversionTrackPairFinder.h>

Public Member Functions

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

Detailed Description

Definition at line 32 of file ConversionTrackPairFinder.h.

Member Function Documentation

◆ operator()()

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

Definition at line 33 of file ConversionTrackPairFinder.h.

References a, and b.

33  {
34  return a.impactPointState().globalMomentum().perp() > b.impactPointState().globalMomentum().perp();
35  }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119