ATLAS Offline Software
Public Member Functions | List of all members
PhiEtaHashITk::compare Struct Reference

#include <TrigL2LayerNumberToolITk.h>

Collaboration diagram for PhiEtaHashITk::compare:

Public Member Functions

bool operator() (const struct PhiEtaHashITk &p1, const struct PhiEtaHashITk &p2)
 

Detailed Description

Definition at line 25 of file TrigL2LayerNumberToolITk.h.

Member Function Documentation

◆ operator()()

bool PhiEtaHashITk::compare::operator() ( const struct PhiEtaHashITk p1,
const struct PhiEtaHashITk p2 
)
inline

Definition at line 27 of file TrigL2LayerNumberToolITk.h.

27  {
28  if(p1.m_phiIndex == p2.m_phiIndex) {
29  return p1.m_etaIndex < p2.m_etaIndex;
30  }
31  else {
32  return p1.m_phiIndex < p2.m_phiIndex;
33  }
34  }

The documentation for this struct was generated from the following file:
PhiEtaHashITk::m_etaIndex
short m_etaIndex
Definition: TrigL2LayerNumberToolITk.h:40
PhiEtaHashITk::m_phiIndex
short m_phiIndex
Definition: TrigL2LayerNumberToolITk.h:39