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

#include <MuPatSegment.h>

Collaboration diagram for Muon::SortSegInfoByZ:

Public Member Functions

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

Detailed Description

Definition at line 92 of file MuPatSegment.h.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 94 of file MuPatSegment.h.

94 {
95 return fabs(c1.segment->globalPosition().z()) < fabs(c2.segment->globalPosition().z());
96 }

◆ operator()() [2/2]

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

Definition at line 93 of file MuPatSegment.h.

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

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