ATLAS Offline Software
Loading...
Searching...
No Matches
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 26 of file TrigL2LayerNumberToolITk.h.

Member Function Documentation

◆ operator()()

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

Definition at line 28 of file TrigL2LayerNumberToolITk.h.

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

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