ATLAS Offline Software
Public Member Functions | List of all members
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 91 of file MuPatSegment.h.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 93 of file MuPatSegment.h.

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

◆ operator()() [2/2]

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

Definition at line 92 of file MuPatSegment.h.

92 { return operator()(*c1, *c2); }

The documentation for this struct was generated from the following file:
Muon::SortSegInfoByZ::operator()
bool operator()(const MuPatSegment *c1, const MuPatSegment *c2)
Definition: MuPatSegment.h:92
extractSporadic.c1
c1
Definition: extractSporadic.py:134
compileRPVLLRates.c2
c2
Definition: compileRPVLLRates.py:361