ATLAS Offline Software
Public Member Functions | List of all members
Muon::SortRpcClusterObjs Struct Reference

#include <RpcHitClustering.h>

Collaboration diagram for Muon::SortRpcClusterObjs:

Public Member Functions

bool operator() (const RpcClusterObj &cl1, const RpcClusterObj &cl2) const
 

Detailed Description

Definition at line 68 of file RpcHitClustering.h.

Member Function Documentation

◆ operator()()

bool Muon::SortRpcClusterObjs::operator() ( const RpcClusterObj cl1,
const RpcClusterObj cl2 
) const
inline

Definition at line 69 of file RpcHitClustering.h.

69  {
70  if( cl1.layers() > cl2.layers() ) return true;
71  else if( cl1.layers() < cl2.layers() ) return false;
72  return cl1.hitList.size() < cl2.hitList.size();
73  }

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