CMS 3D CMS Logo

List of all members | Public Member Functions
CompareTwoTracksVectors Struct Reference

#include <ConversionTrackPairFinder.h>

Public Member Functions

bool operator() (const std::vector< reco::TransientTrack > &a, const std::vector< reco::TransientTrack > &b) const
 

Detailed Description

Definition at line 38 of file ConversionTrackPairFinder.h.

Member Function Documentation

bool CompareTwoTracksVectors::operator() ( const std::vector< reco::TransientTrack > &  a,
const std::vector< reco::TransientTrack > &  b 
) const
inline

Definition at line 39 of file ConversionTrackPairFinder.h.

References perp().

39  {
40  return (a[0].impactPointState().globalMomentum().perp() > b[0].impactPointState().globalMomentum().perp());
41  }
double b
Definition: hdecay.h:118
T perp() const
Magnitude of transverse component.
double a
Definition: hdecay.h:119