ATLAS Offline Software
Public Member Functions | List of all members
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); }

The documentation for this struct was generated from the following file:
extractSporadic.c1
c1
Definition: extractSporadic.py:134
python.DataFormatRates.c2
c2
Definition: DataFormatRates.py:123
Muon::SortSegInfoByR::operator()
bool operator()(const MuPatSegment *c1, const MuPatSegment *c2)
Definition: MuPatSegment.h:87