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 39 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 40 of file ConversionTrackPairFinder.h.

References perp().

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