Go to the documentation of this file. 1 #ifndef MuonIdentification_MuonArbitrationMethods_h
2 #define MuonIdentification_MuonArbitrationMethods_h
16 bool operator()(std::pair<reco::MuonChamberMatch*, reco::MuonSegmentMatch*>
p1,
17 std::pair<reco::MuonChamberMatch*, reco::MuonSegmentMatch*>
p2) {
25 return fabs(sm1->
x - cm1->
x) < fabs(sm2->
x - cm2->
x);
29 return fabs(sm1->
x - cm1->
x) < fabs(sm2->
x - cm2->
x);
static const unsigned int BelongsToTrackByDXSlope
static const unsigned int BestInStationByDRSlope
functor predicate for standard library sort algorithm
static const unsigned int BelongsToTrackByDR
static const unsigned int BestInStationByDX
static const unsigned int BelongsToTrackByDRSlope
static const unsigned int BestInStationByDXSlope
static const unsigned int BestInChamberByDX
SortMuonSegmentMatches(unsigned int flag)
constructor takes arbitration type
static const unsigned int BestInChamberByDRSlope
static const unsigned int BestInChamberByDXSlope
static const unsigned int BestInStationByDR
Power< A, B >::type pow(const A &a, const B &b)
static const unsigned int BelongsToTrackByDX
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
static const unsigned int BestInChamberByDR