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

Public Member Functions

bool operator() (const std::vector< std::size_t > &lhs, const std::vector< std::size_t > &rhs)
 

Detailed Description

Definition at line 25 of file FastReducer.cxx.

Member Function Documentation

◆ operator()()

bool IndexVecComp::operator() ( const std::vector< std::size_t > &  lhs,
const std::vector< std::size_t > &  rhs 
)
inline

Definition at line 26 of file FastReducer.cxx.

27  {
28  if(lhs.size() < rhs.size()){return true;}
29  if(rhs.size() < rhs.size()){return false;}
30 
31  for(std::size_t i = 0; i < lhs.size(); ++i){
32  if(lhs[i] > rhs[i]){return false;}
33  }
34 
35  return true;
36  }

The documentation for this struct was generated from the following file:
lumiFormat.i
int i
Definition: lumiFormat.py:92