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

#include <TrigL2LayerNumberTool.h>

Collaboration diagram for PhiEtaHash::compare:

Public Member Functions

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

Detailed Description

Definition at line 25 of file TrigL2LayerNumberTool.h.

Member Function Documentation

◆ operator()()

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

Definition at line 27 of file TrigL2LayerNumberTool.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:
PhiEtaHash::m_etaIndex
short m_etaIndex
Definition: TrigL2LayerNumberTool.h:40
PhiEtaHash::m_phiIndex
short m_phiIndex
Definition: TrigL2LayerNumberTool.h:39