ATLAS Offline Software
Public Member Functions | List of all members
SortHelper::pt_sort Struct Reference
Collaboration diagram for SortHelper::pt_sort:

Public Member Functions

bool operator() (const TLorentzVector &lhs, const TLorentzVector &rhs)
 
bool operator() (const TLorentzVector *lhs, const TLorentzVector *rhs)
 
bool operator() (const xAOD::IParticle &lhs, const xAOD::IParticle &rhs)
 
bool operator() (const xAOD::IParticle *lhs, const xAOD::IParticle *rhs)
 

Detailed Description

Definition at line 20 of file VoronoiWeightTool.cxx.

Member Function Documentation

◆ operator()() [1/4]

bool SortHelper::pt_sort::operator() ( const TLorentzVector &  lhs,
const TLorentzVector &  rhs 
)
inline

Definition at line 23 of file VoronoiWeightTool.cxx.

24  {
25  return (lhs.Pt() > rhs.Pt());
26  }

◆ operator()() [2/4]

bool SortHelper::pt_sort::operator() ( const TLorentzVector *  lhs,
const TLorentzVector *  rhs 
)
inline

Definition at line 28 of file VoronoiWeightTool.cxx.

29  {
30  return (lhs->Pt() > rhs->Pt());
31  }

◆ operator()() [3/4]

bool SortHelper::pt_sort::operator() ( const xAOD::IParticle lhs,
const xAOD::IParticle rhs 
)
inline

Definition at line 33 of file VoronoiWeightTool.cxx.

34  {
35  return (lhs.pt() > rhs.pt());
36  }

◆ operator()() [4/4]

bool SortHelper::pt_sort::operator() ( const xAOD::IParticle lhs,
const xAOD::IParticle rhs 
)
inline

Definition at line 38 of file VoronoiWeightTool.cxx.

39  {
40  return (lhs->pt() > rhs->pt());
41  }

The documentation for this struct was generated from the following file:
xAOD::IParticle::pt
virtual double pt() const =0
The transverse momentum ( ) of the particle.