functor predicate for standard library sort algorithm More...
#include <MuonArbitrationMethods.h>
Public Member Functions | |
bool | operator() (std::pair< reco::MuonChamberMatch *, reco::MuonSegmentMatch * > p1, std::pair< reco::MuonChamberMatch *, reco::MuonSegmentMatch * > p2) |
sorts vector of pairs of chamber and segment pointers More... | |
SortMuonSegmentMatches (unsigned int flag) | |
constructor takes arbitration type More... | |
Public Attributes | |
unsigned int | flag_ |
functor predicate for standard library sort algorithm
Definition at line 9 of file MuonArbitrationMethods.h.
|
inline |
constructor takes arbitration type
Definition at line 11 of file MuonArbitrationMethods.h.
References flag_.
|
inline |
sorts vector of pairs of chamber and segment pointers
Definition at line 15 of file MuonArbitrationMethods.h.
References reco::MuonSegmentMatch::BelongsToTrackByDR, reco::MuonSegmentMatch::BelongsToTrackByDRSlope, reco::MuonSegmentMatch::BelongsToTrackByDX, reco::MuonSegmentMatch::BelongsToTrackByDXSlope, reco::MuonSegmentMatch::BestInChamberByDR, reco::MuonSegmentMatch::BestInChamberByDRSlope, reco::MuonSegmentMatch::BestInChamberByDX, reco::MuonSegmentMatch::BestInChamberByDXSlope, reco::MuonSegmentMatch::BestInStationByDR, reco::MuonSegmentMatch::BestInStationByDRSlope, reco::MuonSegmentMatch::BestInStationByDX, reco::MuonSegmentMatch::BestInStationByDXSlope, reco::MuonChamberMatch::dXdZ, reco::MuonSegmentMatch::dXdZ, reco::MuonChamberMatch::dYdZ, reco::MuonSegmentMatch::dYdZ, flag_, reco::MuonSegmentMatch::hasZed(), funct::pow(), mathSSE::sqrt(), reco::MuonChamberMatch::x, reco::MuonSegmentMatch::x, reco::MuonChamberMatch::y, and reco::MuonSegmentMatch::y.
unsigned int SortMuonSegmentMatches::flag_ |
Definition at line 53 of file MuonArbitrationMethods.h.
Referenced by operator()(), and SortMuonSegmentMatches().