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

Public Member Functions

bool operator() (const std::pair< fastjet::PseudoJet, std::vector< float > > &lhsp, const std::pair< fastjet::PseudoJet, std::vector< float > > &rhsp)
 

Detailed Description

Definition at line 62 of file VoronoiWeightTool.cxx.

Member Function Documentation

◆ operator()()

bool SortHelper::PJcomp::operator() ( const std::pair< fastjet::PseudoJet, std::vector< float > > &  lhsp,
const std::pair< fastjet::PseudoJet, std::vector< float > > &  rhsp 
)
inline

Definition at line 63 of file VoronoiWeightTool.cxx.

64  {
65  fastjet::PseudoJet lhs = lhsp.first;
66  fastjet::PseudoJet rhs = rhsp.first;
67  return lhs.pt()>rhs.pt();
68  //The comparator must be a strict weak ordering.
69  }

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