ATLAS Offline Software
Loading...
Searching...
No Matches
Muon::SortSegInfoByR Struct Reference

#include <MuPatSegment.h>

Collaboration diagram for Muon::SortSegInfoByR:

Public Member Functions

bool operator() (const MuPatSegment *c1, const MuPatSegment *c2)
bool operator() (const MuPatSegment &c1, const MuPatSegment &c2)

Detailed Description

Definition at line 86 of file MuPatSegment.h.

Member Function Documentation

◆ operator()() [1/2]

bool Muon::SortSegInfoByR::operator() ( const MuPatSegment & c1,
const MuPatSegment & c2 )
inline

Definition at line 88 of file MuPatSegment.h.

88 {
89 return c1.segment->globalPosition().perp() < c2.segment->globalPosition().perp();
90 }

◆ operator()() [2/2]

bool Muon::SortSegInfoByR::operator() ( const MuPatSegment * c1,
const MuPatSegment * c2 )
inline

Definition at line 87 of file MuPatSegment.h.

87{ return operator()(*c1, *c2); }
bool operator()(const MuPatSegment *c1, const MuPatSegment *c2)

The documentation for this struct was generated from the following file: