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:
TRTCalib_cfilter.p1
p1
Definition: TRTCalib_cfilter.py:130
TRTCalib_cfilter.p2
p2
Definition: TRTCalib_cfilter.py:131