CMS 3D CMS Logo

Public Member Functions

CompareTwoTracksVectors Struct Reference

#include <ConversionTrackPairFinder.h>

List of all members.

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().

                                                                                                             {
           return ( a[0].impactPointState().globalMomentum().perp() >
                     b[0].impactPointState().globalMomentum().perp() ) ;}